chore: update i18n

This commit is contained in:
thehrz 2023-08-01 23:17:46 +08:00
parent 00dee82bac
commit bb697f995d
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -1,10 +1,6 @@
import { createI18n } from 'vue-i18n'
import { type UserModule } from '~/types'
// Import i18n resources
// https://vitejs.dev/guide/features.html#glob-import
//
// Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite
const messages = Object.fromEntries(
Object.entries(
import.meta.glob<{ default: any }>('../../locales/*.y(a)?ml', { eager: true }))