From 1dfafadec79ac1b499b4fef789514fb302eb0928 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Wed, 9 Apr 2008 22:29:31 +0200 Subject: Now unicode support for translations :) --- portato.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'portato.py') 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." -- cgit v1.2.3-70-g09d2