Fix default target language
This commit is contained in:
parent
0bb452c88b
commit
33d18e4226
|
@ -13,7 +13,7 @@ import {
|
|||
|
||||
const getDefaultLangs = () => {
|
||||
const uiLang = browser.i18n.getUILanguage();
|
||||
const langOptions = generateLangOptions();
|
||||
const langOptions = generateLangOptions("google");
|
||||
|
||||
const shouldUseUiLang = langOptions.some(lang => lang.value == uiLang);
|
||||
const targetLang = shouldUseUiLang ? uiLang : "en";
|
||||
|
|
Loading…
Reference in a new issue