diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-04-09 22:29:31 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-04-09 22:29:31 +0200 |
commit | 1dfafadec79ac1b499b4fef789514fb302eb0928 (patch) | |
tree | 20f6eefd7b786da9c920260e5514f201bf308ad3 /portato.py | |
parent | 01ecc3dcb456a0a80ef6ee0a14fbb8d7dfba04c5 (diff) | |
download | portato-1dfafadec79ac1b499b4fef789514fb302eb0928.tar.gz portato-1dfafadec79ac1b499b4fef789514fb302eb0928.tar.bz2 portato-1dfafadec79ac1b499b4fef789514fb302eb0928.zip |
Now unicode support for translations :)
Diffstat (limited to '')
-rwxr-xr-x | portato.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -24,9 +24,7 @@ from portato.constants import VERSION, XSD_LOCATION, LOCALE_DIR, APP, SU_COMMAND def main (): # set gettext stuff locale.setlocale(locale.LC_ALL, '') - gettext.bindtextdomain(APP, LOCALE_DIR) - gettext.textdomain(APP) - _ = gettext.lgettext + gettext.install(APP, LOCALE_DIR, unicode = True) # build the parser desc = "Portato - A Portage GUI." |