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'
export const lang = {

View File

@ -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: {