From 4c848e56d48e982981bae3292ae6d66a9ed3458a Mon Sep 17 00:00:00 2001 From: kamikaze-kun <33911581+kamikaze-kun@users.noreply.github.com> Date: Thu, 23 Nov 2017 16:29:25 +0300 Subject: [PATCH] Update background.js Add an switch line to init Russian locale. --- simple-translate/background.js | 1 + 1 file changed, 1 insertion(+) diff --git a/simple-translate/background.js b/simple-translate/background.js index 66f0a5c..3fdbdb4 100644 --- a/simple-translate/background.js +++ b/simple-translate/background.js @@ -27,6 +27,7 @@ function initialSetting() { case "zh-CN": case "zh-TW": case "ko": + case "ru": targetLang = browser.i18n.getUILanguage(); secondTargetLang="en"; break;