remove debugging statements

This commit is contained in:
Benjamin Dauvergne 2014-01-09 13:07:47 +01:00
parent 6ffe3d38f4
commit 9d8ad3513c
1 changed files with 0 additions and 2 deletions

View File

@ -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: