整合前端仓库并保留提交历史

This commit is contained in:
2026-08-31 11:52:41 +08:00
172 changed files with 120216 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
import { useRoute } from 'vue-router'
export function t(message: string) {
const nuxtApp: any = useNuxtApp()
const i18nInstance = nuxtApp.$getI18n()
// 直接使用 i18n 的 t 方法,让它自动根据 locale 选择对应的翻译
return i18nInstance.global.t(message)
}