perf: standardized localized file names

This commit is contained in:
tiny-craft 2023-11-02 14:41:07 +08:00
parent 64895a98af
commit 4e38978711
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import en from './en' import en from './en-us'
import zh from './zh-cn' import zh from './zh-cn'
export const lang = { export const lang = {

View File

@ -2,8 +2,8 @@ import { createI18n } from 'vue-i18n'
import { lang } from '@/langs/index.js' import { lang } from '@/langs/index.js'
export const i18n = createI18n({ export const i18n = createI18n({
locale: 'en', locale: 'en-us',
fallbackLocale: 'en', fallbackLocale: 'en-us',
globalInjection: true, globalInjection: true,
legacy: false, legacy: false,
messages: { messages: {