新增模块

This commit is contained in:
2026-10-18 15:27:02 +08:00
parent 5b7d1e8f64
commit f2e6d2b3f1
228 changed files with 46089 additions and 11 deletions
+12
View File
@@ -0,0 +1,12 @@
import { texts } from './locales';
import type { I18n } from './locales';
export type { I18n };
/**
* 全站只有中文一套文案(本系统不面向日本用户),
* 因此不再需要 Locale 状态、localStorage 记忆与 Provider:直接读词典。
*/
export function useText(): { t: I18n } {
return { t: texts };
}