summaryrefslogtreecommitdiff
path: root/portato.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-04-09 22:31:32 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-04-09 22:31:32 +0200
commitf4be00322ff3e4627c0a94f1f8727cf98a77330c (patch)
tree20f6eefd7b786da9c920260e5514f201bf308ad3 /portato.py
parent0ab7e4060d6205cdac4d4e8251977893c92cbad1 (diff)
parent1dfafadec79ac1b499b4fef789514fb302eb0928 (diff)
downloadportato-f4be00322ff3e4627c0a94f1f8727cf98a77330c.tar.gz
portato-f4be00322ff3e4627c0a94f1f8727cf98a77330c.tar.bz2
portato-f4be00322ff3e4627c0a94f1f8727cf98a77330c.zip
Updated translations and translation support
Diffstat (limited to '')
-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."