Lines Matching full: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.
58 'dgettext', 'dngettext', 'gettext', 'lgettext', 'ldgettext',
66 # The gettext library supports a small subset of C syntax. The only
70 # https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms
71 # http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/plural.y
271 def gettext(self, message): member in NullTranslations
273 return self._fallback.gettext(message)
316 builtins.__dict__['_'] = self.gettext
318 if "gettext" in names:
319 builtins.__dict__['gettext'] = builtins.__dict__['_']
342 # Delay struct import for speeding up gettext import when .mo files
405 # parameter of the Content-Type header. The gettext documentation
408 # traditional gettext applications, the msgid conversion will
451 def gettext(self, message): member in GNUTranslations
456 return self._fallback.gettext(message)
473 # Locate a .mo file using the gettext strategy
537 # Delay copy import for speeding up gettext import when .mo files
560 # current global domain, `messages' used for compatibility w/ GNU gettext
591 return t.gettext(message)
624 def gettext(message): function
638 # James Henstridge's Catalog constructor from GNOME gettext. Documented usage
641 # import gettext
642 # cat = gettext.Catalog(PACKAGE, localedir=LOCALEDIR)
643 # _ = cat.gettext
648 # gettext.