GrampsLocale: Don't set to 'C' if LANG is en_US

Not required, Gtk has an 'en' translation

Ref. http://www.gramps-project.org/bugs/view.php?id=6867

svn: r22710
This commit is contained in:
John Ralls 2013-07-21 20:22:24 +00:00
parent a327bf6337
commit bdd336f38e

View File

@ -437,8 +437,7 @@ class GrampsLocale(object):
lang = '.'.join((check_lang[0], 'UTF-8'))
os.environ["LANG"] = lang
os.environ["LANGUAGE"] = ':'.join(['C' if l in ('en', 'en_US') else l
for l in self.language])
os.environ["LANGUAGE"] = ':'.join([l for l in self.language])
# GtkBuilder uses GLib's g_dgettext wrapper, which oddly is bound
# with locale instead of gettext. Win32 doesn't support bindtextdomain.