Bug 811693 - AppsUtils.jsm should use getSelectedLocale("global") instead of getSelectedLocale("browser"), r=fabrice

This commit is contained in:
Frank Wein 2012-11-15 11:30:48 +01:00
parent 6893ec0943
commit 4546809759

View File

@ -245,7 +245,7 @@ this.ManifestHelper = function(aManifest, aOrigin) {
this._manifest = aManifest;
let chrome = Cc["@mozilla.org/chrome/chrome-registry;1"].getService(Ci.nsIXULChromeRegistry)
.QueryInterface(Ci.nsIToolkitChromeRegistry);
let locale = chrome.getSelectedLocale("browser").toLowerCase();
let locale = chrome.getSelectedLocale("global").toLowerCase();
this._localeRoot = this._manifest;
if (this._manifest.locales && this._manifest.locales[locale]) {