/external/libexif/po/ |
D | Makefile.in.in | 26 localedir = $(datadir)/locale 164 dir=$(localedir)/$$lang/LC_MESSAGES; \ 171 …if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/nu… 172 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ 173 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ 174 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ 175 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ 178 ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ 181 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ 183 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ [all …]
|
/external/e2fsprogs/po/ |
D | Makefile.in.in | 27 localedir = $(datadir)/locale 169 dir=$(localedir)/$$lang/LC_MESSAGES; \ 176 …if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/nu… 177 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ 178 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ 179 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ 180 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ 183 ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ 186 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ 188 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ [all …]
|
/external/libexif/test/nls/ |
D | check-localedir.in | 3 localedir="@localedir@" 9 if test "${localedir}" = "${binlocaledir}"; then 10 echo "Makefile and binary agree on localedir \`${localedir}'. Good." 14 echo " - Makefile says \`${localedir}'."
|
D | test-nls.c | 29 char *localedir; in main() local 37 localedir = argv[1]; in main() 62 const char *basedir = bindtextdomain(GETTEXT_PACKAGE, localedir); in main() 89 localedir, in main()
|
D | Makefile.am | 1 nlstestscripts = check-localedir.sh # check-codeset.sh 9 check_PROGRAMS = print-localedir # $(codeset_tests) 30 EXTRA_DIST = check-localedir.in check-nls.in test-nls.c test-codeset.c
|
D | Makefile.in | 36 check_PROGRAMS = print-localedir$(EXEEXT) 61 print_localedir_SOURCES = print-localedir.c 62 print_localedir_OBJECTS = print-localedir.$(OBJEXT) 93 SOURCES = print-localedir.c 94 DIST_SOURCES = print-localedir.c 224 localedir = @localedir@ 241 nlstestscripts = check-localedir.sh # check-codeset.sh 263 EXTRA_DIST = check-localedir.in check-nls.in test-nls.c test-codeset.c 307 print-localedir$(EXEEXT): $(print_localedir_OBJECTS) $(print_localedir_DEPENDENCIES) 308 @rm -f print-localedir$(EXEEXT) [all …]
|
D | test-codeset.c | 138 const char *localedir = (localeenv!=NULL)?localeenv:LOCALEDIR; in checks() local 139 const char *msgcatdir = bindtextdomain(GETTEXT_PACKAGE, localedir); in checks()
|
D | check-nls.in | 4 localedir="@localedir@"
|
/external/libcups/cups/ |
D | globals.c | 188 localedir[1024] = ""; /* Locale directory */ in cups_globals_alloc() local 258 snprintf(localedir, sizeof(localedir), "%s/locale", installdir); in cups_globals_alloc() 273 if ((cg->localedir = getenv("LOCALEDIR")) == NULL) in cups_globals_alloc() 274 cg->localedir = localedir; in cups_globals_alloc() 294 cg->localedir = CUPS_LOCALEDIR; in cups_globals_alloc() 314 if ((cg->localedir = getenv("LOCALEDIR")) == NULL) in cups_globals_alloc() 315 cg->localedir = CUPS_LOCALEDIR; in cups_globals_alloc()
|
D | cups-private.h | 86 *localedir; /* LOCALDIR environment var */ member
|
/external/python/cpython2/Lib/ |
D | gettext.py | 497 def find(domain, localedir=None, languages=None, all=0): argument 499 if localedir is None: 500 localedir = _default_localedir 524 mofile = os.path.join(localedir, lang, 'LC_MESSAGES', '%s.mo' % domain) 537 def translation(domain, localedir=None, languages=None, argument 541 mofiles = find(domain, localedir, languages, all=1) 568 def install(domain, localedir=None, unicode=False, codeset=None, names=None): argument 569 t = translation(domain, localedir, fallback=True, codeset=codeset) 589 def bindtextdomain(domain, localedir=None): argument 591 if localedir is not None: [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_gettext.py | 93 self.localedir = os.curdir 95 gettext.install('gettext', self.localedir) 163 self.localedir = os.curdir 165 gettext.bindtextdomain('gettext', self.localedir) 171 self.assertEqual(gettext.bindtextdomain('gettext'), self.localedir) 436 self.localedir = os.curdir 441 t = gettext.translation('gettext', self.localedir) 445 t = gettext.translation('gettext', self.localedir, 453 t = gettext.translation('gettext', self.localedir,
|
/external/python/cpython3/Lib/ |
D | gettext.py | 542 def find(domain, localedir=None, languages=None, all=False): argument 544 if localedir is None: 545 localedir = _default_localedir 569 mofile = os.path.join(localedir, lang, 'LC_MESSAGES', '%s.mo' % domain) 583 def translation(domain, localedir=None, languages=None, argument 587 mofiles = find(domain, localedir, languages, all=True) 626 def install(domain, localedir=None, codeset=_unspecified, names=None): argument 627 t = translation(domain, localedir, fallback=True, codeset=codeset) 647 def bindtextdomain(domain, localedir=None): argument 649 if localedir is not None: [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_gettext.py | 151 self.localedir = os.curdir 153 gettext.install('gettext', self.localedir, names=['pgettext']) 228 self.localedir = os.curdir 230 gettext.bindtextdomain('gettext', self.localedir) 236 self.assertEqual(gettext.bindtextdomain('gettext'), self.localedir) 786 self.localedir = os.curdir 791 t = gettext.translation('gettext', self.localedir) 795 t = gettext.translation('gettext', self.localedir, 803 t = gettext.translation('gettext', self.localedir, 811 t = gettext.translation('gettext', self.localedir,
|
/external/libexif/m4m/ |
D | gp-gettext-hack.m4 | 71 AC_SUBST([localedir], ['$(datadir)/locale']) subst 72 AM_CPPFLAGS="$AM_CPPFLAGS -DLOCALEDIR=\\\"${localedir}\\\""
|
/external/e2fsprogs/intl/ |
D | Makefile.in | 36 localedir = $(datadir)/locale 38 aliaspath = $(localedir)
|
/external/python/cpython2/Doc/library/ |
D | gettext.rst | 36 .. function:: bindtextdomain(domain[, localedir]) 38 Bind the *domain* to the locale directory *localedir*. More concretely, 40 the path (on Unix): :file:`localedir/language/LC_MESSAGES/domain.mo`, where 44 If *localedir* is omitted or ``None``, then the current binding for *domain* is 159 .. function:: find(domain[, localedir[, languages[, all]]]) 163 *localedir* is as in :func:`bindtextdomain` Optional *languages* is a list of 166 If *localedir* is not given, then the default system locale directory is used. 177 :file:`localedir/language/LC_MESSAGES/domain.mo` 185 .. function:: translation(domain[, localedir[, languages[, class_[, fallback[, codeset]]]]]) 187 Return a :class:`Translations` instance based on the *domain*, *localedir*, and [all …]
|
/external/python/cpython3/Doc/library/ |
D | gettext.rst | 37 .. function:: bindtextdomain(domain, localedir=None) 39 Bind the *domain* to the locale directory *localedir*. More concretely, 41 the path (on Unix): :file:`{localedir}/{language}/LC_MESSAGES/{domain}.mo`, where 45 If *localedir* is omitted or ``None``, then the current binding for *domain* is 158 .. function:: find(domain, localedir=None, languages=None, all=False) 162 *localedir* is as in :func:`bindtextdomain`. Optional *languages* is a list of 165 If *localedir* is not given, then the default system locale directory is used. 176 :file:`{localedir}/{language}/LC_MESSAGES/{domain}.mo` 184 .. function:: translation(domain, localedir=None, languages=None, class_=None, fallback=False, code… 186 Return a :class:`*Translations` instance based on the *domain*, *localedir*, [all …]
|
/external/ipsec-tools/src/include-glibc/ |
D | Makefile.in | 158 localedir = @localedir@
|
/external/selinux/gui/ |
D | domainsPage.py | 40 localedir="/usr/share/locale",
|
D | usersPage.py | 39 localedir="/usr/share/locale",
|
/external/libcups/ppdc/ |
D | ppdc-catalog.cxx | 126 snprintf(pofile, sizeof(pofile), "%s/%s/cups_%s.po", cg->localedir, l, l); in ppdcCatalog() 135 snprintf(pofile, sizeof(pofile), "%s/%s/cups_%s.po", cg->localedir, in ppdcCatalog()
|
/external/libogg/doc/libogg/ |
D | Makefile.in | 164 localedir = @localedir@
|
/external/libcap-ng/libcap-ng-0.7/m4/ |
D | Makefile.in | 208 localedir = @localedir@
|
/external/libcups/config-scripts/ |
D | cups-directories.m4 | 228 if test "$localedir" = "\${datarootdir}/locale"; then 240 CUPS_LOCALEDIR="$localedir"
|