Home
last modified time | relevance | path

Searched refs:lgettext (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/test/
Dtest_gettext.py221 eq(lgettext, t.lgettext)
223 del builtins.lgettext
517 lgettext = gettext.lgettext
520 self.assertEqual(lgettext('mullusk'), b'bacon')
522 self.assertEqual(lgettext('spam'), b'spam')
531 lgettext = t.lgettext
533 self.assertEqual(lgettext('mullusk'), b'bacon')
535 self.assertEqual(lgettext('spam'), b'spam')
538 lgettext = gettext.lgettext
546 self.assertEqual(lgettext('mullusk'), 'bacon'.encode('utf-16'))
[all …]
/third_party/python/Lib/
Dgettext.py277 def lgettext(self, message): member in NullTranslations
286 return self._fallback.lgettext(message)
463 def lgettext(self, message): member in GNUTranslations
472 return self._fallback.lgettext(message)
687 return t.lgettext(message)
744 def lgettext(message): function
/third_party/python/Doc/library/
Dgettext.rst52 returned by the :func:`lgettext`, :func:`ldgettext`, :func:`lngettext`
111 .. function:: lgettext(message)
193 :meth:`~NullTranslations.lgettext` and :meth:`~NullTranslations.lngettext`
297 .. method:: lgettext(message)
308 :func:`lgettext` function.
326 Return the encoding used to return translated messages in :meth:`.lgettext`
347 ``'pgettext'``, ``'npgettext'``, ``'lgettext'``, and ``'lngettext'``.
453 .. method:: lgettext(message)
464 :func:`lgettext` function.
/third_party/python/Misc/NEWS.d/
D3.5.4rc1.rst312 Fixed the lgettext() family of functions in the gettext module. They now
D3.6.3rc1.rst648 Fixed the lgettext() family of functions in the gettext module. They now
D3.7.0a1.rst2322 Fixed the lgettext() family of functions in the gettext module. They now
/third_party/python/Doc/whatsnew/
D3.8.rst1695 module: :func:`~gettext.lgettext`, :func:`~gettext.ldgettext`,