From dcdf119ffad0716120f4ee21c75ba7a226e973f7 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 18 Mar 2012 20:10:37 +0000 Subject: [PATCH] Bug 5429: Fix typo in MacTranslation.py svn: r19082 --- src/MacTransUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MacTransUtils.py b/src/MacTransUtils.py index 6332895fc..e356566ff 100644 --- a/src/MacTransUtils.py +++ b/src/MacTransUtils.py @@ -240,7 +240,7 @@ def mac_setup_localization(dir, domain): os.environ["LANGUAGE"] = ":".join(translations) else: 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")): os.environ["LANGUAGE"] = locale elif (len(collation) > 0 and collation in available