Files
ai-platform/src/modules/welltrust-qap/i18n/useText.ts
T
2026-10-18 15:27:02 +08:00

13 lines
336 B
TypeScript

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