summaryrefslogtreecommitdiff
path: root/portato.py
diff options
context:
space:
mode:
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."