aboutsummaryrefslogtreecommitdiffstats
path: root/ui/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/index.js')
-rw-r--r--ui/index.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/index.js b/ui/index.js
index 598d2876b..fe57f791a 100644
--- a/ui/index.js
+++ b/ui/index.js
@@ -31,6 +31,7 @@ async function startApp (metamaskState, accountManager, opts) {
if (!metamaskState.featureFlags) metamaskState.featureFlags = {}
const currentLocaleMessages = await fetchLocale(metamaskState.currentLocale)
+ const enLocaleMessages = await fetchLocale('en')
const store = configureStore({
@@ -40,7 +41,10 @@ async function startApp (metamaskState, accountManager, opts) {
// appState represents the current tab's popup state
appState: {},
- localeMessages: currentLocaleMessages,
+ localeMessages: {
+ current: currentLocaleMessages,
+ en: enLocaleMessages,
+ },
// Which blockchain we are using:
networkVersion: opts.networkVersion,