[r21844][Bug 6495] Translator class should use english date
When "English" is set via libtranslate. svn: r21846
This commit is contained in:
parent
75a02b10d7
commit
52b7276c7d
@ -478,7 +478,7 @@ class GrampsLocale(object):
|
|||||||
if not languages or len(languages) == 0:
|
if not languages or len(languages) == 0:
|
||||||
LOG.warning("No language provided, using US English")
|
LOG.warning("No language provided, using US English")
|
||||||
else:
|
else:
|
||||||
LOG.warning("No usable languages found in list, using US English")
|
LOG.warning("No usable languages found in list for %s, using US English", os.path.basename(os.path.dirname(localedir)))
|
||||||
translator = GrampsNullTranslations()
|
translator = GrampsNullTranslations()
|
||||||
translator._language = "en"
|
translator._language = "en"
|
||||||
return translator
|
return translator
|
||||||
|
Loading…
Reference in New Issue
Block a user