summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2012-12-06 15:25:46 -0500
committerPaul W. Frields <stickster@gmail.com>2012-12-06 15:25:46 -0500
commit7669f07c0fa26d3992394f8e673f9c6a72b2841e (patch)
tree2dc23b6020f15201804efc0f4f76139b75df605f
parent0ed444d3097e62a1708b539bb63e0167d8f95460 (diff)
downloadpulsecaster-master.zip
pulsecaster-master.tar.gz
pulsecaster-master.tar.xz
Make i18n even easier with gettext.install()HEADmaster
-rw-r--r--pulsecaster/ui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pulsecaster/ui.py b/pulsecaster/ui.py
index b7c9b57..47166fc 100644
--- a/pulsecaster/ui.py
+++ b/pulsecaster/ui.py
@@ -34,8 +34,7 @@ import gst
from datetime import datetime
import gettext
-t = gettext.translation(LNAME)
-_ = t.gettext
+gettext.install(LNAME)
try:
_debug = os.environ['PULSECASTER_DEBUG']