allow_anon_event, comment via mastodon

This commit is contained in:
lesion
2019-06-25 01:05:38 +02:00
parent 3c9c85e268
commit b093dae3f3
32 changed files with 259 additions and 219 deletions

View File

@@ -1,6 +1,7 @@
import Vue from 'vue'
import VueI18n from 'vue-i18n'
import it from '@/locales/it.js'
import en from '@/locales/en.js'
Vue.use(VueI18n)
@@ -8,10 +9,10 @@ export default ({ app, store }) => {
// Set i18n instance on app
// This way we can use it in middleware and pages asyncData/fetch
app.i18n = new VueI18n({
locale: process.env.locale,
fallbackLocale: process.env.locale,
locale: store.state.locale,
fallbackLocale: 'it',
messages: {
it
it, en
}
})
}