remove debugging statements
This commit is contained in:
parent
6ffe3d38f4
commit
9d8ad3513c
|
@ -552,10 +552,8 @@ class QommonPublisher(Publisher):
|
|||
try:
|
||||
cls.translations[lang] = gettext.translation(cls.APP_NAME, languages=[lang])
|
||||
except IOError:
|
||||
print lang, 'not found'
|
||||
path = os.path.join('po', lang + '.mo')
|
||||
cls.translations[lang] = gettext.GNUTranslations(file(path))
|
||||
print cls.translations[lang].gettext('Log in')
|
||||
|
||||
if cls.translation_domains:
|
||||
for domain in cls.translation_domains:
|
||||
|
|
Loading…
Reference in New Issue