Bug 6553: Wrong locale directory for alternate translations

Thanks, Kurt.

svn: r22192
This commit is contained in:
John Ralls 2013-05-07 14:21:18 +00:00
parent 976cabd837
commit 6214d3c1f3

View File

@ -144,7 +144,8 @@ class Translator:
else: else:
# fallback=True will cause the translator to use English if # fallback=True will cause the translator to use English if
# lang = "en" or if something goes wrong. # lang = "en" or if something goes wrong.
self.__trans = gettext.translation(TransUtils.get_localedomain(), self.__trans = gettext.translation(TransUtils.get_localedomain(),\
TransUtils.LOCALEDIR,
languages=[lang], languages=[lang],
fallback=True) fallback=True)
val = config.get('preferences.date-format') val = config.get('preferences.date-format')