mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-24 21:55:41 +00:00
move
This commit is contained in:
+8
-7
@@ -1,14 +1,15 @@
|
||||
import { createI18n, VueI18nOptions } from 'vue-i18n'
|
||||
import { createI18n, I18nAdditionalOptions, ComposerOptions } from 'vue-i18n'
|
||||
import { Config } from './Config'
|
||||
|
||||
export default createI18n<VueI18nOptions>({
|
||||
export default createI18n<I18nAdditionalOptions & ComposerOptions>({
|
||||
legacy: false,
|
||||
locale: Config.store.language,
|
||||
fallbackLocale: 'en',
|
||||
formatFallbackMessages: true,
|
||||
silentFallbackWarn: true,
|
||||
silentTranslationWarn: true,
|
||||
fallbackFormat: true,
|
||||
fallbackWarn: false,
|
||||
missingWarn: false,
|
||||
messages: {
|
||||
en: require('./locales/en.json'),
|
||||
ru: require('./locales/ru.json')
|
||||
en: require('../assets/locales/en.json'),
|
||||
ru: require('../assets/locales/ru.json')
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user