From df23504ccf19e91d046df82b80c215fbead4e390 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 14 Nov 2018 03:05:13 +0900 Subject: [PATCH] [Client] Fix #3227 --- src/client/app/init.ts | 9 ++------- 1 file 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 {