diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-14 03:05:13 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-14 03:05:13 +0900 |
| commit | df23504ccf19e91d046df82b80c215fbead4e390 (patch) | |
| tree | 31a20ff7e234f4d29e043c63cf6f5e30127d430c /src/client | |
| parent | Update src/client/app/init.ts (diff) | |
| download | sharkey-df23504ccf19e91d046df82b80c215fbead4e390.tar.gz sharkey-df23504ccf19e91d046df82b80c215fbead4e390.tar.bz2 sharkey-df23504ccf19e91d046df82b80c215fbead4e390.zip | |
[Client] Fix #3227
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/init.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/client/app/init.ts b/src/client/app/init.ts index b713ecd7e5..dc54f8b1ef 100644 --- a/src/client/app/init.ts +++ b/src/client/app/init.ts @@ -138,6 +138,7 @@ import { faTwitter as fabTwitter, faGithub as fabGithub, } from '@fortawesome/free-brands-svg-icons'; +import i18n from './i18n'; library.add( faRetweet, @@ -403,13 +404,7 @@ export default (callback: (launch: (router: VueRouter) => [Vue, MiOS]) => void, }, { passive: true }); const app = new Vue({ - i18n: new VueI18n({ - sync: false, - locale: lang, - messages: { - [lang]: {} - } - }), + i18n: i18n(), store: os.store, data() { return { |