/external/python/cpython2/Lib/test/ |
D | test_gettext.py | 4 import gettext 76 gettext._translations.clear() 95 gettext.install('gettext', self.localedir) 143 t = gettext.GNUTranslations(fp) 154 eq(__builtin__.gettext, t.ugettext) 156 del __builtin__.gettext 165 gettext.bindtextdomain('gettext', self.localedir) 166 gettext.textdomain('gettext') 168 self._ = gettext.gettext 171 self.assertEqual(gettext.bindtextdomain('gettext'), self.localedir) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_gettext.py | 4 import gettext 134 gettext._translations.clear() 153 gettext.install('gettext', self.localedir, names=['pgettext']) 208 t = gettext.GNUTranslations(fp) 218 eq(_, t.gettext) 219 eq(builtins.gettext, t.gettext) 221 del builtins.gettext 230 gettext.bindtextdomain('gettext', self.localedir) 231 gettext.textdomain('gettext') 233 self._ = gettext.gettext [all …]
|
/external/elfutils/src/ |
D | elflint.c | 180 ERROR (gettext ("error while closing Elf descriptor: %s\n"), in main() 184 puts (gettext ("No errors")); in main() 219 fputs (gettext ("Missing file name.\n"), stderr); in parse_opt() 284 ERROR (gettext (" error while freeing sub-ELF descriptor: %s\n"), in process_file() 292 ERROR (gettext ("\ in process_file() 357 ERROR (gettext ("e_ident[%d] == %d is no known class\n"), in check_elf_header() 362 ERROR (gettext ("e_ident[%d] == %d is no known data encoding\n"), in check_elf_header() 366 ERROR (gettext ("unknown ELF header version number e_ident[%d] == %d\n"), in check_elf_header() 374 ERROR (gettext ("unsupported OS ABI e_ident[%d] == '%s'\n"), in check_elf_header() 380 ERROR (gettext ("unsupported ABI version e_ident[%d] == %d\n"), in check_elf_header() [all …]
|
D | elfcmp.c | 141 fputs (gettext ("Invalid number of parameters.\n"), stderr); in main() 172 error (2, 0, gettext ("cannot get ELF header of '%s': %s"), in main() 177 error (2, 0, gettext ("cannot get ELF header of '%s': %s"), in main() 203 error (0, 0, gettext ("%s %s diff: ELF header"), fname1, fname2); in main() 210 error (2, 0, gettext ("cannot get section count of '%s': %s"), in main() 213 error (2, 0, gettext ("cannot get section count of '%s': %s"), in main() 218 error (0, 0, gettext ("%s %s diff: section count"), fname1, fname2); in main() 225 error (2, 0, gettext ("cannot get program header count of '%s': %s"), in main() 228 error (2, 0, gettext ("cannot get program header count of '%s': %s"), in main() 233 error (0, 0, gettext ("%s %s diff: program header count"), in main() [all …]
|
D | readelf.c | 350 yes_str = gettext ("yes"); in main() 351 no_str = gettext ("no"); in main() 548 fprintf (stderr, gettext ("Unknown DWARF debug section `%s'.\n"), in parse_opt() 575 fputs (gettext ("Missing file name.\n"), stderr); in parse_opt() 580 fputs (gettext ("No operation specified.\n"), stderr); in parse_opt() 619 error (0, 0, gettext ("cannot generate Elf descriptor: %s"), in open_input_section() 626 error (0, 0, gettext ("cannot determine number of sections: %s"), in open_input_section() 635 error (0, 0, gettext ("cannot get section header string table index")); in open_input_section() 644 error (0, 0, gettext ("cannot get section: %s"), in open_input_section() 653 error (0, 0, gettext ("cannot get section header: %s"), in open_input_section() [all …]
|
D | findtextrel.c | 205 error (0, errno, gettext ("cannot open '%s'"), fname); in process_file() 212 error (0, 0, gettext ("cannot create ELF descriptor for '%s': %s"), in process_file() 222 error (0, 0, gettext ("cannot get ELF header '%s': %s"), in process_file() 233 error (0, 0, gettext ("'%s' is not a DSO or PIE"), fname); in process_file() 253 gettext ("getting get section header of section %zu: %s"), in process_file() 277 error (0, 0, gettext ("cannot read dynamic section: %s"), in process_file() 298 error (0, 0, gettext ("no text relocations reported in '%s'"), fname); in process_file() 310 error (1, errno, gettext ("while reading ELF file")); in process_file() 314 error (1, 0, gettext ("cannot get program header count: %s"), in process_file() 325 gettext ("cannot get program header index at offset %zd: %s"), in process_file() [all …]
|
D | ar.c | 180 error (1, 0, gettext ("\ in main() 185 error (0, 0, gettext ("\ in main() 201 error (1, 0, gettext ("\ in main() 206 error (0, 0, gettext ("COUNT parameter required")); in main() 218 error (1, 0, gettext ("invalid COUNT parameter %s"), argv[remaining]); in main() 225 error (1, 0, gettext ("'%c' is only meaningful with the 'x' option"), in main() 231 error (0, 0, gettext ("archive name required")); in main() 244 error (0, 0, gettext ("command option required")); in main() 295 error (0, 0, gettext ("More than one operation specified")); in parse_opt() 389 error (EXIT_FAILURE, errno, gettext ("cannot open archive '%s'"), in open_archive() [all …]
|
D | size.c | 105 error (EXIT_FAILURE, 0, gettext ("%s: INTERNAL ERROR %d (%s): %s"), \ 240 error (EXIT_FAILURE, 0, gettext ("Invalid format: %s"), arg); in parse_opt() 251 error (EXIT_FAILURE, 0, gettext ("Invalid radix: %s"), arg); in parse_opt() 272 error (0, errno, gettext ("cannot open '%s'"), fname); in process_file() 288 error (EXIT_FAILURE, errno, gettext ("while closing '%s'"), fname); in process_file() 297 error (EXIT_FAILURE, errno, gettext ("while closing '%s'"), fname); in process_file() 308 error (EXIT_FAILURE, errno, gettext ("while closing '%s'"), fname); in process_file() 310 error (0, 0, gettext ("%s: file format not recognized"), fname); in process_file() 398 gettext ("cannot get section header string table index")); in show_sysv() 418 printf (gettext (" (ex %s)"), prefix); in show_sysv() [all …]
|
D | ranlib.c | 102 error (0, 0, gettext ("Archive name required")); in main() 141 error (0, errno, gettext ("cannot open '%s'"), fname); in handle_file() 148 error (0, errno, gettext ("cannot stat '%s'"), fname); in handle_file() 158 error (0, 0, gettext ("cannot create ELF descriptor for '%s': %s"), in handle_file() 166 error (0, 0, gettext ("'%s' is no archive"), fname); in handle_file() 201 error (0, 0, gettext ("error while freeing sub-ELF descriptor: %s"), in handle_file() 222 error (0, errno, gettext ("cannot create new file")); in handle_file()
|
D | strip.c | 133 error (EXIT_FAILURE, 0, gettext ("%s: INTERNAL ERROR %d (%s): %s"), \ 247 gettext ("--reloc-debug-sections used without -f")); in main() 253 …gettext ("--reloc-debug-sections-only incompatible with -f, -g, --remove-comment and --remove-sect… in main() 267 error (EXIT_FAILURE, 0, gettext ("\ in main() 290 error (0, 0, gettext ("-f option specified twice")); in parse_opt() 299 error (0, 0, gettext ("-F option specified twice")); in parse_opt() 308 error (0, 0, gettext ("-o option specified twice")); in parse_opt() 362 gettext ("cannot both keep and remove .comment section")); in parse_opt() 574 error (EXIT_FAILURE, 0, gettext ("bad relocation")); in remove_debug_relocations() 726 error (0, errno, gettext ("cannot stat input file '%s'"), fname); in process_file() [all …]
|
D | objdump.c | 103 error (EXIT_FAILURE, 0, gettext ("%s: INTERNAL ERROR %d (%s): %s"), \ 218 fputs (gettext ("No operation specified.\n"), stderr); in parse_opt() 241 error (0, errno, gettext ("cannot open %s"), fname); in process_file() 258 error (EXIT_FAILURE, errno, gettext ("while close `%s'"), fname); in process_file() 270 error (EXIT_FAILURE, errno, gettext ("while close `%s'"), fname); in process_file() 280 error (0, 0, gettext ("%s: File format not recognized"), fname); in process_file() 328 error (0, 0, gettext ("%s%s%s: file format not recognized"), in handle_ar() 363 gettext ("INVALID SYMBOL"), (long int) GELF_R_SYM (r_info)); in show_relocs_x() 378 gettext ("INVALID SECTION"), in show_relocs_x() 498 printf (gettext ("\nRELOCATION RECORDS FOR [%s]:\n" in show_relocs() [all …]
|
/external/elfutils/m4/ |
D | ChangeLog | 25 * gettext.m4: Upgrade to gettext-0.18.2. 26 * iconv.m4: Upgrade to gettext-0.18.2. 27 * po.m4: Upgrade to gettext-0.18.2. 31 * gettext.m4: Upgrade to gettext-0.17. 32 * iconv.m4: Upgrade to gettext-0.17. 33 * po.m4: Upgrade to gettext-0.17. 50 * gettext.m4: Update from gettext 0.16.1. 74 2002-03-22 gettextize <bug-gnu-gettext@gnu.org> 76 * codeset.m4: Upgrade to gettext-0.11. 77 * gettext.m4: Upgrade to gettext-0.11. [all …]
|
D | gettext.m4 | 1 # gettext.m4 serial 66 (gettext-0.18.2) 9 dnl License but which still want to provide support for the GNU gettext 11 dnl Please note that the actual code of the GNU gettext library is covered 13 dnl gettext package package is covered by the GNU General Public License. 20 dnl Macro to add for using GNU gettext. 32 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext 35 dnl 'need-formatstring-macros', then GNU gettext implementations that don't 41 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled 45 dnl 2) GNU gettext has been found in the system's C library. 53 dnl GNU format catalogs when building on a platform with an X/Open gettext), [all …]
|
/external/e2fsprogs/intl/ |
D | Makefile.in | 37 gettextsrcdir = $(datadir)/gettext/intl 305 $(Q) if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ 320 $(Q) if test "$(PACKAGE)" = "gettext-tools" \ 362 $(Q) if test "$(PACKAGE)" = "gettext-tools"; then \ 389 if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ 395 if test "$(PACKAGE)" = "gettext-tools" \ 407 if test "$(PACKAGE)" = "gettext-tools"; then \ 423 if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ 431 if test "$(PACKAGE)" = "gettext-tools" \ 463 if test "$(PACKAGE)" = "gettext-tools"; then \ [all …]
|
/external/python/cpython2/Doc/library/ |
D | gettext.rst | 1 :mod:`gettext` --- Multilingual internationalization services 4 .. module:: gettext 9 **Source code:** :source:`Lib/gettext.py` 13 The :mod:`gettext` module provides internationalization (I18N) and localization 15 GNU ``gettext`` message catalog API and a higher level, class-based API that may 24 GNU :program:`gettext` API 27 The :mod:`gettext` module defines the following API, which is very similar to 28 the GNU :program:`gettext` API. If you use this API you will affect the 39 :mod:`gettext` will look for binary :file:`.mo` files for the given domain using 51 :func:`gettext` family of functions. If *codeset* is omitted, then the current [all …]
|
/external/python/cpython3/Doc/library/ |
D | gettext.rst | 1 :mod:`gettext` --- Multilingual internationalization services 4 .. module:: gettext 10 **Source code:** :source:`Lib/gettext.py` 14 The :mod:`gettext` module provides internationalization (I18N) and localization 16 GNU :program:`gettext` message catalog API and a higher level, class-based API that may 25 GNU :program:`gettext` API 28 The :mod:`gettext` module defines the following API, which is very similar to 29 the GNU :program:`gettext` API. If you use this API you will affect the 40 :mod:`gettext` will look for binary :file:`.mo` files for the given domain using 66 .. index:: single: _ (underscore); gettext [all …]
|
/external/libexif/ |
D | ABOUT-NLS | 10 assume that the distributed package does use GNU `gettext' internally, 12 need to install GNU `gettext' prior to configuring, installing or using 22 `gettext' which is used. The information can be found in the 31 ./configure --with-included-gettext 36 the `gettext' implementation in the GNU C library version 2 provides as 40 of a `catgets' implementation. Future versions of GNU `gettext' will 42 to change to GNU `gettext' as soon as possible. 45 you have installed a recent copy of the GNU gettext package with the 53 packages use GNU `gettext'. Other packages have their own ways to 54 internationalization, predating GNU `gettext'. [all …]
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
D | DateTimeShortcuts.js | 145 now_link.appendChild(document.createTextNode(gettext('Now'))); 149 …, '', 'src', DateTimeShortcuts.admin_media_prefix + 'img/icon_clock.gif', 'alt', gettext('Clock')); 177 quickElement('h2', clock_box, gettext('Choose a time')); 180 …quickElement("a", quickElement("li", time_list), gettext("Now"), "href", "javascript:DateTimeShort… 181 …quickElement("a", quickElement("li", time_list), gettext("Midnight"), "href", "javascript:DateTime… 182 …quickElement("a", quickElement("li", time_list), gettext("6 a.m."), "href", "javascript:DateTimeSh… 183 …quickElement("a", quickElement("li", time_list), gettext("Noon"), "href", "javascript:DateTimeShor… 187 …quickElement('a', cancel_p, gettext('Cancel'), 'href', 'javascript:DateTimeShortcuts.dismissClock(… 247 today_link.appendChild(document.createTextNode(gettext('Today'))); 251 …'src', DateTimeShortcuts.admin_media_prefix + 'img/icon_calendar.gif', 'alt', gettext('Calendar')); [all …]
|
/external/libexif/auto-m4/ |
D | gettext.m4 | 1 # gettext.m4 serial 28 (gettext-0.13) 11 dnl License but which still want to provide support for the GNU gettext 13 dnl Please note that the actual code of the GNU gettext library is covered 15 dnl gettext package package is covered by the GNU General Public License. 22 dnl Macro to add for using GNU gettext. 34 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext 37 dnl 'need-formatstring-macros', then GNU gettext implementations that don't 43 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled 47 dnl 2) GNU gettext has been found in the system's C library. 55 dnl GNU format catalogs when building on a platform with an X/Open gettext), [all …]
|
/external/e2fsprogs/ |
D | ABOUT-NLS | 10 assume that the distributed package does use GNU `gettext' internally, 12 need to install GNU `gettext' prior to configuring, installing or using 22 `gettext' which is used. The information can be found in the 31 ./configure --with-included-gettext 36 the `gettext' implementation in the GNU C library version 2 provides as 40 of a `catgets' implementation. Future versions of GNU `gettext' will 42 to change to GNU `gettext' as soon as possible. 45 you have installed a recent copy of the GNU gettext package with the 53 Most such packages use GNU `gettext'. Other packages have their own 54 ways to internationalization, predating GNU `gettext'. [all …]
|
/external/elfutils/ |
D | ABOUT-NLS | 11 assume that the distributed package does use GNU `gettext' internally, 13 need to install GNU `gettext' prior to configuring, installing or using 23 `gettext' which is used. The information can be found in the 32 ./configure --with-included-gettext 37 the `gettext' implementation in the GNU C library version 2 provides as 41 of a `catgets' implementation. Future versions of GNU `gettext' will 43 to change to GNU `gettext' as soon as possible. 46 you have installed a recent copy of the GNU gettext package with the 54 packages use GNU `gettext'. Other packages have their own ways to 55 internationalization, predating GNU `gettext'. [all …]
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | sepolgeni18n.py | 21 import gettext 22 t = gettext.translation( 'yumex' ) 23 _ = t.gettext
|
/external/libchrome/third_party/jinja2/ |
D | ext.py | 139 def gettext(__context, __string, **variables): function 144 return gettext 182 gettext = getattr(translations, 'ugettext', None) 183 if gettext is None: 184 gettext = translations.gettext 188 self._install_callables(gettext, ngettext, newstyle) 197 def _install_callables(self, gettext, ngettext, newstyle=None): argument 201 gettext = _make_new_gettext(gettext) 204 gettext=gettext, 369 gettext = nodes.Name('gettext', 'load') [all …]
|
/external/elfutils/libebl/ |
D | eblobjnote.c | 58 printf (gettext ("unknown SDT version %u\n"), type); in ebl_object_note() 76 printf (gettext ("invalid SDT probe descriptor\n")); in ebl_object_note() 126 printf (gettext (" PC: ")); in ebl_object_note() 128 printf (gettext (" Base: ")); in ebl_object_note() 130 printf (gettext (" Semaphore: ")); in ebl_object_note() 132 printf (gettext (" Provider: ")); in ebl_object_note() 134 printf (gettext (" Name: ")); in ebl_object_note() 136 printf (gettext (" Args: ")); in ebl_object_note() 300 printf (gettext (" Build ID: ")); in ebl_object_note() 311 printf (gettext (" Linker version: %.*s\n"), in ebl_object_note() [all …]
|
/external/openssh/ |
D | audit-bsm.c | 113 # define gettext(a) (a) macro 337 gettext("invalid %s for user %s"), in bsm_audit_bad_login() 342 gettext("invalid user name \"%s\""), in bsm_audit_bad_login() 409 gettext("successful login %s"), user); in audit_event() 420 gettext("sshd logout %s"), the_authctxt->user); in audit_event() 430 gettext("logins disabled by /etc/nologin"), AUE_openssh); in audit_event() 435 gettext("too many tries for user %s"), the_authctxt->user); in audit_event() 440 bsm_audit_record(2, gettext("not_console"), AUE_openssh); in audit_event()
|