[r21844][Bug 6495] Translator class should use english date

When "English" is set via libtranslate.

svn: r21846
This commit is contained in:
John Ralls 2013-04-02 00:10:28 +00:00
parent 75a02b10d7
commit 52b7276c7d

View File

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