From 33d18e42261573d79d1d327aa318ccbf8eb44819 Mon Sep 17 00:00:00 2001 From: sienori Date: Tue, 30 Aug 2022 22:16:03 +0900 Subject: [PATCH] Fix default target language --- src/settings/defaultSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings/defaultSettings.js b/src/settings/defaultSettings.js index 6cb03ea..650e59e 100644 --- a/src/settings/defaultSettings.js +++ b/src/settings/defaultSettings.js @@ -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";