Home
last modified time | relevance | path

Searched refs:localedir (Results 1 – 25 of 176) sorted by relevance

12345678

/external/libexif/po/
DMakefile.in.in26 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/
DMakefile.in.in27 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/
Dcheck-localedir.in3 localedir="@localedir@"
9 if test "${localedir}" = "${binlocaledir}"; then
10 echo "Makefile and binary agree on localedir \`${localedir}'. Good."
14 echo " - Makefile says \`${localedir}'."
Dtest-nls.c29 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()
DMakefile.am1 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
DMakefile.in36 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 …]
Dtest-codeset.c138 const char *localedir = (localeenv!=NULL)?localeenv:LOCALEDIR; in checks() local
139 const char *msgcatdir = bindtextdomain(GETTEXT_PACKAGE, localedir); in checks()
Dcheck-nls.in4 localedir="@localedir@"
/external/libcups/cups/
Dglobals.c188 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()
Dcups-private.h86 *localedir; /* LOCALDIR environment var */ member
/external/python/cpython2/Lib/
Dgettext.py497 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/
Dtest_gettext.py93 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/
Dgettext.py542 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/
Dtest_gettext.py151 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/
Dgp-gettext-hack.m471 AC_SUBST([localedir], ['$(datadir)/locale']) subst
72 AM_CPPFLAGS="$AM_CPPFLAGS -DLOCALEDIR=\\\"${localedir}\\\""
/external/e2fsprogs/intl/
DMakefile.in36 localedir = $(datadir)/locale
38 aliaspath = $(localedir)
/external/python/cpython2/Doc/library/
Dgettext.rst36 .. 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/
Dgettext.rst37 .. 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/
DMakefile.in158 localedir = @localedir@
/external/selinux/gui/
DdomainsPage.py40 localedir="/usr/share/locale",
DusersPage.py39 localedir="/usr/share/locale",
/external/libcups/ppdc/
Dppdc-catalog.cxx126 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/
DMakefile.in164 localedir = @localedir@
/external/libcap-ng/libcap-ng-0.7/m4/
DMakefile.in208 localedir = @localedir@
/external/libcups/config-scripts/
Dcups-directories.m4228 if test "$localedir" = "\${datarootdir}/locale"; then
240 CUPS_LOCALEDIR="$localedir"

12345678