aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xelogv5
1 files changed, 1 insertions, 4 deletions
diff --git a/elogv b/elogv
index 3b174c5..377aa20 100755
--- a/elogv
+++ b/elogv
@@ -99,10 +99,7 @@ if reported_bad_locales:
sys.exit(1)
-# Setup gettext. Note that lgettext() is used instead of gettext()
-# because it always returns strings encoded with the preferred system
-# encoding, not encoded with the same codeset used in the translation
-# file
+# Setup gettext.
gettext.textdomain('elogv')
gettext.bind_textdomain_codeset('elogv', locale.getpreferredencoding())
_ = gettext.gettext