Searched defs:locale (Results 1 - 22 of 22) sorted by relevance

/pkg/src/tests/interactive/
H A Drunprogress.py31 import locale namespace
36 misc.setlocale(locale.LC_ALL, "", None)
37 gettext.install("pkg", "/usr/share/locale")
H A Drunprintengine.py29 import locale namespace
39 misc.setlocale(locale.LC_ALL, "", None)
40 gettext.install("pkg", "/usr/share/locale")
/pkg/src/util/publish/
H A Dupdate_file_layout.py31 import locale namespace
93 setlocale(locale.LC_ALL, "")
94 gettext.install("pkg", "/usr/share/locale")
H A Dpkgmogrify.py29 import locale namespace
149 misc.setlocale(locale.LC_ALL, "", error)
150 gettext.install("pkg", "/usr/share/locale",
151 codeset=locale.getpreferredencoding())
H A Dpkgdiff.py30 import locale namespace
365 misc.setlocale(locale.LC_ALL, "", error)
366 gettext.install("pkg", "/usr/share/locale",
367 codeset=locale.getpreferredencoding())
H A Dpkglint.py32 import locale namespace
320 misc.setlocale(locale.LC_ALL, "", error)
321 gettext.install("pkg", "/usr/share/locale",
322 codeset=locale.getpreferredencoding())
H A Dpkgfmt.py61 import locale namespace
717 misc.setlocale(locale.LC_ALL, "", error)
718 gettext.install("pkg", "/usr/share/locale",
719 codeset=locale.getpreferredencoding())
H A Dpkgmerge.py34 import locale namespace
970 misc.setlocale(locale.LC_ALL, "", error)
971 gettext.install("pkg", "/usr/share/locale",
972 codeset=locale.getpreferredencoding())
H A Dpkgsurf.py71 import locale namespace
798 misc.setlocale(locale.LC_ALL, "", error)
799 gettext.install("pkg", "/usr/share/locale",
800 codeset=locale.getpreferredencoding())
/pkg/src/util/qual-simulator/
H A Dscenario.py29 import locale namespace
105 misc.setlocale(locale.LC_ALL)
106 gettext.install("pkg", "/usr/share/locale")
/pkg/src/
H A Drad-invoke.py30 import locale namespace
116 misc.setlocale(locale.LC_ALL, "")
117 gettext.install("pkg", "/usr/share/locale",
118 codeset=locale.getpreferredencoding())
H A Dpkgdep.py30 import locale namespace
587 misc.setlocale(locale.LC_ALL, "", error)
588 gettext.install("pkg", "/usr/share/locale",
589 codeset=locale.getpreferredencoding())
H A Dpublish.py31 import locale namespace
846 misc.setlocale(locale.LC_ALL, "", error)
847 gettext.install("pkg", "/usr/share/locale",
848 codeset=locale.getpreferredencoding())
H A Dsign.py30 import locale namespace
388 misc.setlocale(locale.LC_ALL, "", error)
389 gettext.install("pkg", "/usr/share/locale",
390 codeset=locale.getpreferredencoding())
H A Ddepot-config.py30 import locale namespace
990 misc.setlocale(locale.LC_ALL, "", error)
991 gettext.install("pkg", "/usr/share/locale",
992 codeset=locale.getpreferredencoding())
H A Dsysrepo.py31 import locale namespace
962 misc.setlocale(locale.LC_ALL, "", error)
963 gettext.install("pkg", "/usr/share/locale",
964 codeset=locale.getpreferredencoding())
H A Dpull.py32 import locale namespace
1724 misc.setlocale(locale.LC_ALL, "", error)
1725 gettext.install("pkg", "/usr/share/locale",
1726 codeset=locale.getpreferredencoding())
H A Ddepot.py68 import locale namespace
259 setlocale(locale.LC_ALL, "")
260 gettext.install("pkg", "/usr/share/locale",
261 codeset=locale.getpreferredencoding())
H A Dpkgrepo.py54 import locale namespace
840 # friendly (and locale specific).
2120 encoding=locale.getpreferredencoding())
2123 locale.getpreferredencoding())] = "l"
2364 misc.setlocale(locale.LC_ALL, "", error)
2365 gettext.install("pkg", "/usr/share/locale",
2366 codeset=locale.getpreferredencoding())
H A Dclient.py55 import locale namespace
4960 enc = locale.getlocale(locale.LC_CTYPE)[1]
4962 enc = locale.getpreferredencoding()
5794 misc.setlocale(locale.LC_ALL, "", error)
5795 gettext.install("pkg", "/usr/share/locale",
5796 codeset=locale.getpreferredencoding())
/pkg/src/modules/flavor/
H A Ddepthlimitedmf.py96 import locale namespace
97 misc.setlocale(locale.LC_ALL, "")
98 gettext.install("pkg", "/usr/share/locale",
99 codeset=locale.getpreferredencoding())
/pkg/src/modules/
H A Dmisc.py39 import locale namespace
105 is necessary since the _() call must be done at runtime after locale
475 """Wraps locale.setlocale(), falling back to the C locale if the desired
476 locale is broken or unavailable. The 'printer' parameter should be a
484 locale.setlocale(category, loc)
489 locale.getdefaultlocale()
490 except (locale.Error, ValueError):
492 dl = " '{0}.{1}'".format(*locale.getdefaultlocale())
495 printer("Unable to set locale{
[all...]

Completed in 92 milliseconds