diff options
-rw-r--r-- | pulsecaster/config.py | 6 | ||||
-rw-r--r-- | pulsecaster/ui.py | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/pulsecaster/config.py b/pulsecaster/config.py index aefe3b5..1d28bad 100644 --- a/pulsecaster/config.py +++ b/pulsecaster/config.py @@ -18,9 +18,11 @@ # # Author: Paul W. Frields <stickster@gmail.com> -from gettext import gettext as _ - NAME = u'PulseCaster' + +import gettext +_ = lambda x: gettext.ldgettext(NAME, x) + VERSION = u'0.1.7' AUTHOR = u'Paul W. Frields' AUTHOR_EMAIL = u'stickster@gmail.com' diff --git a/pulsecaster/ui.py b/pulsecaster/ui.py index 731bf83..9d5f2ac 100644 --- a/pulsecaster/ui.py +++ b/pulsecaster/ui.py @@ -30,7 +30,8 @@ import pygst pygst.require('0.10') import gst -from gettext import gettext as _ +import gettext +_ = lambda x: gettext.ldgettext(NAME, x) _debug = True |