aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-11-23 10:55:36 +0100
committerSebastian Pipping <sping@gentoo.org>2020-11-23 11:01:33 +0100
commit8f1a6ac315c9247828051364618b55a5c189d99f (patch)
treea642d5406192218f70aa8653b5fde62810108f14
parentMerge pull request #11 from fturco/readme (diff)
downloadelogv-8f1a6ac315c9247828051364618b55a5c189d99f.tar.gz
elogv-8f1a6ac315c9247828051364618b55a5c189d99f.tar.bz2
elogv-8f1a6ac315c9247828051364618b55a5c189d99f.zip
Drop leftover/ouf-of-sync comments on use of lgettext
Related: a98c6ba7eabcdeafaf7bf27263073b77fd26a0d3 Signed-off-by: Sebastian Pipping <sping@gentoo.org>
-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