优化: 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
@@ -209,6 +209,20 @@ export default {
// Compressed summary block label (before the system summary message when expanded)
compressedSummaryLabel: 'Context summary',
// ── TopBar bottom context badges (tooltip + L3 full context popover labels) ──
viewGoals: 'View goals',
viewHistory: 'View history messages',
viewSummary: 'View context summary',
viewContext: 'View AI context',
contextSystemPrompt: 'System Prompt',
contextEnvironment: 'Environment',
contextCompressedSummary: 'Compressed Summary',
contextEnrichment: 'Enriched Context',
contextCountUnit: 'items',
// ── EnrichmentPanel ──
enrichmentDismiss: 'Unlink',
// ── AE-2025-04 Session Trust ──
// Auto-approval toast (same-session already approved same-kind op: same tool + same dir)
autoApprovedToast: 'Auto-approved: {tool}({dir})',