From a8077313822f0621f68d7892d6d26273fc2170bc Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Sun, 6 Jun 2010 11:55:04 -0400 Subject: Use domain for gettext --- pulsecaster/config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pulsecaster/config.py') 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 -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' -- cgit