Searched defs:gettext (Results 1 - 25 of 34) sorted by relevance

12

/external/elfutils/bionic-fixup/
H A Dlibintl.h21 #define gettext(x) (x) macro
/external/selinux/python/sepolgen/src/sepolgen/
H A Dsepolgeni18n.py21 import gettext namespace
22 t = gettext.translation( 'yumex' )
23 _ = t.gettext
/external/libexif/libexif/
H A Di18n.h37 # define gettext(String) (String) macro
/external/e2fsprogs/intl/
H A Dlibgettext.h30 implementation of gettext. */
63 /* This value determines the behaviour of the gettext() and dgettext()
70 /* Declarations for gettext-using-catgets interface. Derived from
94 extern char *gettext PARAMS ((const char *__msgid));
126 /* Solaris 2.3 has the gettext function but dcgettext is missing.
131 # define gettext(Msgid) \ macro
168 # define gettext(Msgid) (Msgid) macro
H A Dintl-compat.c1 /* intl-compat.c - Stub functions to call gettext functions from GNU gettext
28 /* This file redirects the gettext functions (without prefix) to those
31 of gettext <= 0.11.2 work with the libintl library >= 0.11.3 which
38 #undef gettext macro
61 gettext (const char *msgid) function
/external/selinux/gui/
H A DusersPage.py34 import gettext namespace
38 gettext.install(PROGNAME,
H A DdomainsPage.py35 import gettext namespace
39 gettext.install(PROGNAME,
H A DfcontextPage.py52 import gettext namespace
56 gettext.install(PROGNAME,
H A DloginsPage.py34 import gettext namespace
38 gettext.install(PROGNAME,
H A DmodulesPage.py35 import gettext namespace
39 gettext.install(PROGNAME,
H A DsemanagePage.py27 import gettext namespace
31 gettext.install(PROGNAME,
H A DportsPage.py40 import gettext namespace
44 gettext.install(PROGNAME,
H A DstatusPage.py40 import gettext namespace
44 gettext.install(PROGNAME,
H A DbooleansPage.py43 import gettext namespace
47 gettext.install(PROGNAME,
H A Dsystem-config-selinux.py50 import gettext namespace
54 gettext.install(PROGNAME,
H A Dpolgengui.py66 import gettext namespace
70 gettext.install(PROGNAME,
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
H A Dgen_xmlpool.py12 import gettext namespace
51 # Expand escape sequences in C strings (needed for gettext lookup)
115 # DESC, DESC_BEGIN format: \1 \2=<lang> \3 \4=gettext(" \5=<text> \6=") \7
116 # ENUM format: \1 \2=gettext(" \3=<text> \4=") \5
147 translations = [("en", gettext.NullTranslations())]
150 trans = gettext.translation ("options", localedir, [lang])
158 reDESC = re.compile (r'(\s*DRI_CONF_DESC\s*\(\s*)([a-z]+)(\s*,\s*)(gettext\s*\(\s*")(.*)("\s*\))(\s*\)[ \t]*\\?)$')
159 reDESC_BEGIN = re.compile (r'(\s*DRI_CONF_DESC_BEGIN\s*\(\s*)([a-z]+)(\s*,\s*)(gettext\s*\(\s*")(.*)("\s*\))(\s*\)[ \t]*\\?)$')
160 reENUM = re.compile (r'(\s*DRI_CONF_ENUM\s*\([^,]+,\s*)(gettext\s*\(\s*")(.*)("\s*\))(\s*\)[ \t]*\\?)$')
/external/selinux/python/chcat/
H A Dchcat39 import gettext namespace
43 gettext.install(PROGNAME,
/external/selinux/python/sepolicy/sepolicy/
H A Dinterface.py37 import gettext namespace
41 gettext.install(PROGNAME,
/external/toybox/kconfig/
H A Dlkc.h18 # define gettext(Msgid) ((const char *) (Msgid)) macro
41 #define _(text) gettext(text)
/external/python/cpython2/Lib/
H A Dgettext.py4 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 'dgettext', 'dngettext', 'gettext', 'lgettext', 'ldgettext',
64 # The gettext library supports a small subset of C syntax. The only
68 # https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms
69 # http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext
266 def gettext(self, message): member in class:NullTranslations
419 def gettext(self, message): member in class:GNUTranslations
641 def gettext(message): function
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_gettext.py4 import gettext namespace
58 MOFILE = os.path.join(LOCALEDIR, 'gettext.mo')
76 gettext._translations.clear()
95 gettext.install('gettext', self.localedir)
134 gettext message catalog library.'''),
143 t = gettext.GNUTranslations(fp)
152 t.install(unicode=True, names=["gettext", "lgettext"])
154 eq(__builtin__.gettext, t.ugettext)
156 del __builtin__.gettext
[all...]
/external/python/cpython3/Lib/
H A Dgettext.py4 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 'dgettext', 'dngettext', 'gettext', 'lgettext', 'ldgettext',
64 # The gettext library supports a small subset of C syntax. The only
68 # https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms
69 # http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext
265 def gettext(self, message): member in class:NullTranslations
438 def gettext(self, message): member in class:GNUTranslations
605 def gettext(message): function
[all...]
/external/python/cpython3/Lib/test/
H A Dtest_gettext.py3 import gettext namespace
106 MOFILE = os.path.join(LOCALEDIR, 'gettext.mo')
129 gettext._translations.clear()
148 gettext.install('gettext', self.localedir)
187 gettext message catalog library.'''),
196 t = gettext.GNUTranslations(fp)
205 t.install(names=["gettext", "lgettext"])
206 eq(_, t.gettext)
207 eq(builtins.gettext,
[all...]
/external/libmojo/third_party/jinja2/
H A Dext.py26 # the only real useful gettext functions for a Jinja template. Note
27 # that ugettext must be assigned to gettext as Jinja doesn't support
29 GETTEXT_FUNCTIONS = ('_', 'gettext', 'ngettext')
132 return __context.call(__context.resolve('gettext'), *args, **kwargs)
137 def gettext(__context, __string, **variables): function in function:_make_new_gettext
142 return gettext
157 """This extension adds gettext support to Jinja2."""
164 # something is called twice here. One time for the gettext value and
180 gettext = getattr(translations, 'ugettext', None)
181 if gettext i
[all...]

Completed in 538 milliseconds

12