Home
last modified time | relevance | path

Searched refs:localedir (Results 1 – 25 of 180) 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/elfutils/po/
DMakefile.in.in29 localedir = @localedir@
240 dir=$(localedir)/$$lang/LC_MESSAGES; \
247 …if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/nu…
248 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
249 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
250 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
251 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
254 ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
257 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
259 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
[all …]
/external/libcups/cups/
Dglobals.c190 localedir[1024] = ""; /* Locale directory */ in cups_globals_alloc() local
261 snprintf(localedir, sizeof(localedir), "%s/locale", installdir); in cups_globals_alloc()
276 if ((cg->localedir = getenv("LOCALEDIR")) == NULL) in cups_globals_alloc()
277 cg->localedir = localedir; in cups_globals_alloc()
295 cg->localedir = CUPS_LOCALEDIR; in cups_globals_alloc()
315 if ((cg->localedir = getenv("LOCALEDIR")) == NULL) in cups_globals_alloc()
316 cg->localedir = CUPS_LOCALEDIR; in cups_globals_alloc()
Dcups-private.h67 *localedir; /* LOCALDIR environment var */ member
Dlanguage.c1647 snprintf(filename, sizeof(filename), "%s/%s/cups_%s.po", cg->localedir, in cups_message_load()
1656 snprintf(filename, sizeof(filename), "%s/%.2s/cups_%.2s.po", cg->localedir, in cups_message_load()
1668 snprintf(filename, sizeof(filename), "%s/C/cups_C.po", cg->localedir); in cups_message_load()
/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/python/cpython3/Lib/
Dgettext.py474 def find(domain, localedir=None, languages=None, all=False): argument
476 if localedir is None:
477 localedir = _default_localedir
501 mofile = os.path.join(localedir, lang, 'LC_MESSAGES', '%s.mo' % domain)
514 def translation(domain, localedir=None, languages=None, argument
518 mofiles = find(domain, localedir, languages, all=True)
550 def install(domain, localedir=None, codeset=None, names=None): argument
551 t = translation(domain, localedir, fallback=True, codeset=codeset)
571 def bindtextdomain(domain, localedir=None): argument
573 if localedir is not None:
[all …]
/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/test/
Dtest_gettext.py147 self.localedir = os.curdir
149 gettext.install('gettext', self.localedir)
217 self.localedir = os.curdir
219 gettext.bindtextdomain('gettext', self.localedir)
225 self.assertEqual(gettext.bindtextdomain('gettext'), self.localedir)
622 self.localedir = os.curdir
627 t = gettext.translation('gettext', self.localedir)
631 t = gettext.translation('gettext', self.localedir,
639 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/mesa3d/src/util/xmlpool/
Dgen_xmlpool.py17 localedir = sys.argv[2] variable
149 trans = gettext.translation ("options", localedir, [lang])
/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
145 .. function:: find(domain, localedir=None, languages=None, all=False)
149 *localedir* is as in :func:`bindtextdomain` Optional *languages* is a list of
152 If *localedir* is not given, then the default system locale directory is used.
163 :file:`{localedir}/{language}/LC_MESSAGES/{domain}.mo`
171 .. function:: translation(domain, localedir=None, languages=None, class_=None, fallback=False, code…
173 Return a :class:`Translations` instance based on the *domain*, *localedir*,
[all …]
/external/swiftshader/third_party/LLVM/projects/sample/
Dconfigure657 localedir='${datarootdir}/locale'
797 -localedir | --localedir | --localedi | --localed | --locale)
798 ac_prev=localedir ;;
799 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
800 localedir=$ac_optarg ;;
1001 libdir localedir mandir
1160 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2364 localedir!$localedir$ac_delim
2630 s&@localedir@&$localedir&g
/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/ipsec-tools/src/include-glibc/
DMakefile.in158 localedir = @localedir@
/external/selinux/gui/
DdomainsPage.py40 localedir="/usr/share/locale",
/external/libogg/doc/libogg/
DMakefile.in164 localedir = @localedir@

12345678