VirtualMailManager/__init__.py
branchv0.7.x
changeset 643 df1e3b67882a
parent 568 14abdd04ddf5
child 652 68d715ce6e1c
equal deleted inserted replaced
642:4cd9d0a9f42f 643:df1e3b67882a
    30     sys.stderr.write('warning: unsupported locale setting - '
    30     sys.stderr.write('warning: unsupported locale setting - '
    31                      'that may cause encoding problems.\n\n')
    31                      'that may cause encoding problems.\n\n')
    32     locale.setlocale(locale.LC_ALL, 'C')
    32     locale.setlocale(locale.LC_ALL, 'C')
    33 ENCODING = locale.nl_langinfo(locale.CODESET)
    33 ENCODING = locale.nl_langinfo(locale.CODESET)
    34 
    34 
    35 gettext.install('vmm', '/usr/local/share/locale', unicode=1)
    35 gettext.install('vmm', '/usr/local/share/locale', str=1)