[Client] Fix #3227

This commit is contained in:
syuilo 2018-11-14 03:05:13 +09:00
parent 66e3cb8eda
commit df23504ccf
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 2 additions and 7 deletions

View File

@ -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 {