[Bug 6495] Translator class should use english date

When "English" is set via libtranslate.

svn: r21844
This commit is contained in:
John Ralls 2013-04-02 00:05:50 +00:00
parent 1e96009cd7
commit a15e676eef

View File

@ -478,7 +478,7 @@ class GrampsLocale(object):
if not languages or len(languages) == 0:
LOG.warning("No language provided, using US English")
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._language = "en"
return translator