aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-22 23:09:16 +0800
committerDan <danjm.com@gmail.com>2018-03-22 23:19:19 +0800
commitb9309f689be7f55fde0a32a6e576784aa9fc1061 (patch)
tree3134db0ce2dea51930408d47a7046479422d3fb0 /app/scripts/controllers
parenta0df4b6892f3a8f15d2915a062ebe1d9cdeabaec (diff)
downloadtangerine-wallet-browser-b9309f689be7f55fde0a32a6e576784aa9fc1061.tar.gz
tangerine-wallet-browser-b9309f689be7f55fde0a32a6e576784aa9fc1061.tar.zst
tangerine-wallet-browser-b9309f689be7f55fde0a32a6e576784aa9fc1061.zip
Use extension api to get initial locale.
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r--app/scripts/controllers/preferences.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js
index dc7da90d0..b4819d951 100644
--- a/app/scripts/controllers/preferences.js
+++ b/app/scripts/controllers/preferences.js
@@ -11,7 +11,7 @@ class PreferencesController {
tokens: [],
useBlockie: false,
featureFlags: {},
- currentLocale: 'ja',
+ currentLocale: opts.initLangCode,
}, opts.initState)
this.store = new ObservableStore(initState)
}