Home
last modified time | relevance | path

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

1234567891011

/external/e2fsprogs/po/
DMakefile.in.in27 localedir = $(datadir)/locale
170 dir=$(localedir)/$$lang/LC_MESSAGES; \
177 …if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/nu…
178 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
179 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
180 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
181 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
184 ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
187 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
189 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
[all …]
/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/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.py461 def find(domain, localedir=None, languages=None, all=False): argument
463 if localedir is None:
464 localedir = _default_localedir
488 mofile = os.path.join(localedir, lang, 'LC_MESSAGES', '%s.mo' % domain)
501 def translation(domain, localedir=None, languages=None, argument
505 mofiles = find(domain, localedir, languages, all=True)
532 def install(domain, localedir=None, codeset=None, names=None): argument
533 t = translation(domain, localedir, fallback=True, codeset=codeset)
553 def bindtextdomain(domain, localedir=None): argument
555 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.py146 self.localedir = os.curdir
148 gettext.install('gettext', self.localedir)
216 self.localedir = os.curdir
218 gettext.bindtextdomain('gettext', self.localedir)
224 self.assertEqual(gettext.bindtextdomain('gettext'), self.localedir)
505 self.localedir = os.curdir
510 t = gettext.translation('gettext', self.localedir)
514 t = gettext.translation('gettext', self.localedir,
522 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/mesa/drivers/dri/common/xmlpool/
Dgen_xmlpool.py18 localedir = sys.argv[2] variable
150 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
148 .. function:: find(domain, localedir=None, languages=None, all=False)
152 *localedir* is as in :func:`bindtextdomain` Optional *languages* is a list of
155 If *localedir* is not given, then the default system locale directory is used.
166 :file:`{localedir}/{language}/LC_MESSAGES/{domain}.mo`
174 .. function:: translation(domain, localedir=None, languages=None, class_=None, fallback=False, code…
176 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@

1234567891011