summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/init.ts9
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 {