Skip to content

Commit

Permalink
fix(locales): match zh-CN locale (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
sereneblue committed Jun 20, 2020
1 parent de45d01 commit 6121c8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/popup/popup.ts
Expand Up @@ -15,7 +15,10 @@ Vue.use(VueI18n);

const i18n = new VueI18n({
locale: browser.i18n.getUILanguage(),
fallbackLocale: 'en',
fallbackLocale: {
'zh-CN': ['zh_CN'],
default: ['en'],
},
messages: localeMessages,
});

Expand Down

0 comments on commit 6121c8f

Please sign in to comment.