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