diff options
author | Dan <danjm.com@gmail.com> | 2018-03-22 23:09:16 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-03-22 23:19:19 +0800 |
commit | b9309f689be7f55fde0a32a6e576784aa9fc1061 (patch) | |
tree | 3134db0ce2dea51930408d47a7046479422d3fb0 /app/scripts/controllers/preferences.js | |
parent | a0df4b6892f3a8f15d2915a062ebe1d9cdeabaec (diff) | |
download | tangerine-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/preferences.js')
-rw-r--r-- | app/scripts/controllers/preferences.js | 2 |
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) } |