perf: standardized localized file names
This commit is contained in:
parent
64895a98af
commit
4e38978711
|
@ -1,4 +1,4 @@
|
|||
import en from './en'
|
||||
import en from './en-us'
|
||||
import zh from './zh-cn'
|
||||
|
||||
export const lang = {
|
||||
|
|
|
@ -2,8 +2,8 @@ import { createI18n } from 'vue-i18n'
|
|||
import { lang } from '@/langs/index.js'
|
||||
|
||||
export const i18n = createI18n({
|
||||
locale: 'en',
|
||||
fallbackLocale: 'en',
|
||||
locale: 'en-us',
|
||||
fallbackLocale: 'en-us',
|
||||
globalInjection: true,
|
||||
legacy: false,
|
||||
messages: {
|
||||
|
|
Loading…
Reference in New Issue