mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 811693 - AppsUtils.jsm should use getSelectedLocale("global") instead of getSelectedLocale("browser"), r=fabrice
This commit is contained in:
parent
6893ec0943
commit
4546809759
@ -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]) {
|
||||
|
Loading…
Reference in New Issue
Block a user