/third_party/python/Lib/test/ |
H A D | test_gettext.py | 3 import gettext namespace 111 MOFILE = os.path.join(LOCALEDIR, 'gettext.mo') 135 gettext._translations.clear() 150 gettext.install('gettext', self.localedir, names=['pgettext']) 196 gettext message catalog library.'''), 206 t = gettext.GNUTranslations(fp) 215 t.install(names=["gettext", "ngettext"]) 216 eq(_, t.gettext) 217 eq(builtins.gettext, [all...] |
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | ext.py | 33 # the only real useful gettext functions for a Jinja template. Note 34 # that ugettext must be assigned to gettext as Jinja doesn't support 36 GETTEXT_FUNCTIONS = ("_", "gettext", "ngettext") 144 return __context.call(__context.resolve("gettext"), *args, **kwargs) 149 def gettext(__context, __string, **variables): function 158 return gettext 168 # Always treat as a format string, see gettext comment above. 175 """This extension adds gettext support to Jinja.""" 183 # something is called twice here. One time for the gettext value and 199 gettext [all...] |
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | ext.py | 28 # the only real useful gettext functions for a Jinja template. Note 29 # that ugettext must be assigned to gettext as Jinja doesn't support 31 GETTEXT_FUNCTIONS = ('_', 'gettext', 'ngettext') 134 return __context.call(__context.resolve('gettext'), *args, **kwargs) 139 def gettext(__context, __string, **variables): function 144 return gettext 159 """This extension adds gettext support to Jinja2.""" 166 # something is called twice here. One time for the gettext value and 182 gettext = getattr(translations, 'ugettext', None) 183 if gettext i [all...] |
/third_party/skia/third_party/externals/jinja2/ |
H A D | ext.py | 33 # the only real useful gettext functions for a Jinja template. Note 34 # that ugettext must be assigned to gettext as Jinja doesn't support 36 GETTEXT_FUNCTIONS = ("_", "gettext", "ngettext") 144 return __context.call(__context.resolve("gettext"), *args, **kwargs) 149 def gettext(__context, __string, **variables): function 158 return gettext 168 # Always treat as a format string, see gettext comment above. 175 """This extension adds gettext support to Jinja.""" 183 # something is called twice here. One time for the gettext value and 199 gettext [all...] |
/third_party/jinja2/ |
H A D | ext.py | 26 def gettext(self, message: str) -> str: member in _TranslationsBasic 43 # provides ugettext, it will be assigned to gettext. 46 "gettext", 167 return __context.call(__context.resolve("gettext"), *args, **kwargs) 172 def gettext(__context: Context, __string: str, **variables: t.Any) -> str: function 181 return gettext 197 # Always treat as a format string, see gettext comment above. 214 # Always treat as a format string, see gettext comment above. 239 # Always treat as a format string, see gettext comment above. 246 """This extension adds gettext suppor 288 import gettext global() namespace [all...] |
/third_party/alsa-utils/include/ |
H A D | gettext.h | 13 # define gettext(msgid) (msgid) macro 18 #define _(msgid) gettext (msgid)
|
/third_party/python/Lib/ |
H A D | gettext.py | 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. 56 'textdomain', 'dgettext', 'dngettext', 'gettext', 65 # The gettext library supports a small subset of C syntax. The only 69 # https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms 70 # http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext 275 def gettext(self, message): global() member in NullTranslations 421 def gettext(self, message): global() member in GNUTranslations 604 def gettext(message): global() function [all...] |
H A D | getopt.py | 38 from gettext import gettext as _ 40 # Bootstrapping Python: gettext's dependencies not built yet
|
H A D | optparse.py | 90 from gettext import gettext, ngettext namespace 92 def gettext(message): function 100 _ = gettext
|
/third_party/toybox/kconfig/ |
H A D | lkc.h | 18 # define gettext(Msgid) ((const char *) (Msgid)) macro 41 #define _(text) gettext(text)
|
/third_party/alsa-utils/axfer/ |
H A D | misc.h | 12 #include <gettext.h>
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | libintl.h | 17 char *gettext(const char *) __fa(1);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | libintl.h | 17 char *gettext(const char *) __fa(1);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | libintl.h | 17 char *gettext(const char *) __fa(1);
|
/third_party/musl/libc-test/src/functionalext/supplement/locale/ |
H A D | functionalext_gettext.c | 26 * @tc.desc : Get string from gettext() with mo file 37 char* result = gettext(msgid); in gettext_0100()
|
/third_party/musl/include/ |
H A D | libintl.h | 17 char *gettext(const char *) __fa(1);
|
/third_party/musl/src/locale/ |
H A D | textdomain.c | 34 char *gettext(const char *msgid) in gettext() function
|
/third_party/libexif/libexif/ |
H A D | i18n.h | 37 # define gettext(String) (String) macro
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | i18n.h | 47 #define gettext(String) (String)
|
/third_party/libexif/test/nls/ |
H A D | test-nls.c | 77 translation = gettext(untranslated); in main()
|
H A D | test-codeset.c | 81 const char *transl = gettext(testcases[i].orig); in check()
|
/third_party/libuv/docs/ |
H A D | make.bat | 35 echo. gettext to make PO message catalogs
193 if "%1" == "gettext" (
194 %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
|
/third_party/popt/src/ |
H A D | poptint.h | 144 #define _(foo) gettext(foo)
|
/third_party/python/Modules/ |
H A D | _elementtree.c | 1400 create_elementiter(ElementObject *self, PyObject *tag, int gettext); 2072 int gettext; member 2133 * A short note on gettext: this function serves both the iter() and in elementiter_next() 2175 if (it->gettext && it->parent_stack_used) { in elementiter_next() 2177 goto gettext; in elementiter_next() 2194 if (it->gettext) { in elementiter_next() 2196 goto gettext; in elementiter_next() 2211 gettext: in elementiter_next() 2282 create_elementiter(ElementObject *self, PyObject *tag, int gettext) in create_elementiter() argument 2292 it->gettext in create_elementiter() [all...] |
/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | private.h | 369 ** The default is to use gettext if available, and use MSGID otherwise. 374 #define _(msgid) gettext(msgid)
|