import { texts } from './locales'; import type { I18n } from './locales'; export type { I18n }; /** * 全站只有中文一套文案(本系统不面向日本用户), * 因此不再需要 Locale 状态、localStorage 记忆与 Provider:直接读词典。 */ export function useText(): { t: I18n } { return { t: texts }; }