Bug 6553: Wrong locale directory for alternate translations
Thanks, Kurt. svn: r22192
This commit is contained in:
@@ -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')
|
||||||
|
Reference in New Issue
Block a user