diff --git a/src/composables/ai/useAiEvents.ts b/src/composables/ai/useAiEvents.ts index 88abe9c..a7ecd8b 100644 --- a/src/composables/ai/useAiEvents.ts +++ b/src/composables/ai/useAiEvents.ts @@ -178,8 +178,9 @@ export function handleEvent(event: AiChatEvent) { const tc = findToolCall(event.id) if (tc) { tc.status = 'rejected' - // 与后端落库一致:拒绝结果回填卡片,供 UI 展示拒绝原因 - tc.result = '用户拒绝了此操作' + // CR-260615-08(P1-1):走 i18n —— 原硬编码中文使 en locale 拒绝提示恒中文, + // 且废掉已存在的 aiTool.rejectedHint(en: 'User rejected this action')翻译 + tc.result = t('aiTool.rejectedHint') } state.pendingApprovals = state.pendingApprovals.filter(p => p.id !== event.id) }