feat(i18n): 将前端用户可见中文硬编码改为四语言

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
sophieandCursor committed 2026-07-30 14:39:16 +08:00
1 parent dce915ea30
commit ac7b53a523
105 files changed
+2928 -647

No files matched your search

@@ -120,9 +120,9 @@ export function useChatLeave(options: UseChatLeaveOptions) {
canUseLeaveFeature,
...oaLogin,
...agentPicker,
getLeaveTypeLabel,
getLeaveTypeLabel: (val: string) => getLeaveTypeLabel(val, t),
formatDurationLabel: (hours: number, leaveType?: string) => formatDurationLabel(hours, leaveType, t),
formatYesNoLabel,
formatYesNoLabel: (value: 0 | 1 | null) => formatYesNoLabel(value, t),
syncLeaveDuration,
getLeaveFormPayload,
getLeaveConfirmationPayload,