优化: i18n硬编码清扫(8文件20+处中文字符串替为i18n)

- ToolCard: 已等待 → aiTool.waitTime

- ErrorBoundary: 堆栈详情 → error.stackDetails

- TopBar: 10处硬编码(tooltip+section标签+单位) → aiChat.* keys

- FileExplorer: 4处工程操作title → fileExplorer.*

- Tasks: 快捷菜单4处 → tasks.*

- EnrichmentPanel: 取消关联 → aiChat.enrichmentDismiss

- PlanProgress: 复用已有 aiChat.conflictsPending

- WorkflowDagDisplay: 删除中文fallback(已有i18n key)

- vue-tsc + vite build 通过
This commit is contained in:
lxy
2026-07-02 12:19:57 +08:00
parent 34944df764
commit 3f22fd3673
18 changed files with 78 additions and 24 deletions
+14
View File
@@ -210,6 +210,20 @@ export default {
// 压缩摘要块标题(展开后 system 摘要消息前的标签)
compressedSummaryLabel: '上下文摘要',
// ── TopBar 底部上下文徽章(tooltip + L3 完整上下文 popover 标签) ──
viewGoals: '查看目标',
viewHistory: '查看历史消息',
viewSummary: '查看上下文摘要',
viewContext: '查看 AI 上下文',
contextSystemPrompt: '系统提示',
contextEnvironment: '环境',
contextCompressedSummary: '压缩摘要',
contextEnrichment: '增强上下文',
contextCountUnit: '条',
// ── EnrichmentPanel ──
enrichmentDismiss: '取消关联',
// ── AE-2025-04 会话级信任(Session Trust) ──
// 自动放行 toast(同会话已批准过同类操作:同工具+同目录,轻量 info 非审批气泡)
autoApprovedToast: '已自动放行: {tool}({dir})',