/pkg/src/tests/interactive/ |
H A D | runprogress.py | 31 import locale namespace 36 misc.setlocale(locale.LC_ALL, "", None) 37 gettext.install("pkg", "/usr/share/locale")
|
H A D | runprintengine.py | 29 import locale namespace 39 misc.setlocale(locale.LC_ALL, "", None) 40 gettext.install("pkg", "/usr/share/locale")
|
/pkg/src/util/publish/ |
H A D | update_file_layout.py | 31 import locale namespace 93 setlocale(locale.LC_ALL, "") 94 gettext.install("pkg", "/usr/share/locale")
|
H A D | pkgmogrify.py | 29 import locale namespace 149 misc.setlocale(locale.LC_ALL, "", error) 150 gettext.install("pkg", "/usr/share/locale", 151 codeset=locale.getpreferredencoding())
|
H A D | pkgdiff.py | 30 import locale namespace 365 misc.setlocale(locale.LC_ALL, "", error) 366 gettext.install("pkg", "/usr/share/locale", 367 codeset=locale.getpreferredencoding())
|
H A D | pkglint.py | 32 import locale namespace 320 misc.setlocale(locale.LC_ALL, "", error) 321 gettext.install("pkg", "/usr/share/locale", 322 codeset=locale.getpreferredencoding())
|
H A D | pkgfmt.py | 61 import locale namespace 717 misc.setlocale(locale.LC_ALL, "", error) 718 gettext.install("pkg", "/usr/share/locale", 719 codeset=locale.getpreferredencoding())
|
H A D | pkgmerge.py | 34 import locale namespace 970 misc.setlocale(locale.LC_ALL, "", error) 971 gettext.install("pkg", "/usr/share/locale", 972 codeset=locale.getpreferredencoding())
|
H A D | pkgsurf.py | 71 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 D | scenario.py | 29 import locale namespace 105 misc.setlocale(locale.LC_ALL) 106 gettext.install("pkg", "/usr/share/locale")
|
/pkg/src/ |
H A D | rad-invoke.py | 30 import locale namespace 116 misc.setlocale(locale.LC_ALL, "") 117 gettext.install("pkg", "/usr/share/locale", 118 codeset=locale.getpreferredencoding())
|
H A D | pkgdep.py | 30 import locale namespace 587 misc.setlocale(locale.LC_ALL, "", error) 588 gettext.install("pkg", "/usr/share/locale", 589 codeset=locale.getpreferredencoding())
|
H A D | publish.py | 31 import locale namespace 846 misc.setlocale(locale.LC_ALL, "", error) 847 gettext.install("pkg", "/usr/share/locale", 848 codeset=locale.getpreferredencoding())
|
H A D | sign.py | 30 import locale namespace 388 misc.setlocale(locale.LC_ALL, "", error) 389 gettext.install("pkg", "/usr/share/locale", 390 codeset=locale.getpreferredencoding())
|
H A D | depot-config.py | 30 import locale namespace 990 misc.setlocale(locale.LC_ALL, "", error) 991 gettext.install("pkg", "/usr/share/locale", 992 codeset=locale.getpreferredencoding())
|
H A D | sysrepo.py | 31 import locale namespace 962 misc.setlocale(locale.LC_ALL, "", error) 963 gettext.install("pkg", "/usr/share/locale", 964 codeset=locale.getpreferredencoding())
|
H A D | pull.py | 32 import locale namespace 1724 misc.setlocale(locale.LC_ALL, "", error) 1725 gettext.install("pkg", "/usr/share/locale", 1726 codeset=locale.getpreferredencoding())
|
H A D | depot.py | 68 import locale namespace 259 setlocale(locale.LC_ALL, "") 260 gettext.install("pkg", "/usr/share/locale", 261 codeset=locale.getpreferredencoding())
|
H A D | pkgrepo.py | 54 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 D | client.py | 55 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 D | depthlimitedmf.py | 96 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 D | misc.py | 39 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...] |