Home | History | Annotate | Download | only in python2.7

Lines Matching defs:gettext

4 support for your Python programs by providing an interface to the GNU gettext
18 # gettext.py implementation.
24 # James Henstridge, who also wrote a gettext.py module, which has some
43 # you'll need to study the GNU gettext code to do this.
55 'dgettext', 'dngettext', 'gettext', 'ngettext',
191 def gettext(self, message):
193 return self._fallback.gettext(message)
244 __builtin__.__dict__['_'] = unicode and self.ugettext or self.gettext
246 if "gettext" in names:
247 __builtin__.__dict__['gettext'] = __builtin__.__dict__['_']
318 # parameter of the Content-Type header. The gettext documentation
321 # traditional gettext applications, the msgid conversion will
343 def gettext(self, message):
348 return self._fallback.gettext(message)
420 # Locate a .mo file using the gettext strategy
502 # current global domain, `messages' used for compatibility w/ GNU gettext
533 return t.gettext(message)
565 def gettext(message):
579 # James Henstridge's Catalog constructor from GNOME gettext. Documented usage
582 # import gettext
583 # cat = gettext.Catalog(PACKAGE, localedir=LOCALEDIR)
584 # _ = cat.gettext
589 # gettext.