зеркало из https://github.com/mozilla/pjs.git
Bug 664285 - Fallback to default locale if we can't find a matching one. r=mfinkle
This commit is contained in:
Родитель
c56e626b4d
Коммит
316ff90d96
|
@ -346,7 +346,7 @@ function start() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (matchingLocale != chrome.getSelectedLocale("browser"))
|
if (matchingLocale && matchingLocale != chrome.getSelectedLocale("browser"))
|
||||||
LocaleUI.language = matchingLocale;
|
LocaleUI.language = matchingLocale;
|
||||||
else {
|
else {
|
||||||
LocaleUI._language = chrome.getSelectedLocale("browser");
|
LocaleUI._language = chrome.getSelectedLocale("browser");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче