summaryrefslogtreecommitdiff
path: root/portato.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-04-09 22:29:31 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-04-09 22:29:31 +0200
commit1dfafadec79ac1b499b4fef789514fb302eb0928 (patch)
tree20f6eefd7b786da9c920260e5514f201bf308ad3 /portato.py
parent01ecc3dcb456a0a80ef6ee0a14fbb8d7dfba04c5 (diff)
downloadportato-1dfafadec79ac1b499b4fef789514fb302eb0928.tar.gz
portato-1dfafadec79ac1b499b4fef789514fb302eb0928.tar.bz2
portato-1dfafadec79ac1b499b4fef789514fb302eb0928.zip
Now unicode support for translations :)
Diffstat (limited to 'portato.py')
-rwxr-xr-xportato.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/portato.py b/portato.py
index c7cea74..9a068ad 100755
--- a/portato.py
+++ b/portato.py
@@ -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."