Bug 5429: Fix typo in MacTransUtils.py

svn: r19083
This commit is contained in:
John Ralls 2012-03-18 20:13:00 +00:00
parent 13efa8befe
commit a226f070c7

View File

@ -240,7 +240,7 @@ def mac_setup_localization(dir, domain):
os.environ["LANGUAGE"] = ":".join(translations) os.environ["LANGUAGE"] = ":".join(translations)
else: else:
os.environ["LANGUAGE"] = translations[0] os.environ["LANGUAGE"] = translations[0]
elif (len(locale) > 0 and locale in available elif (len(loc) > 0 and loc in available
and not locale.starts_with("en")): and not locale.starts_with("en")):
os.environ["LANGUAGE"] = locale os.environ["LANGUAGE"] = locale
elif (len(collation) > 0 and collation in available elif (len(collation) > 0 and collation in available