优化: 审批弹窗全局化与体验打磨

This commit is contained in:
lxy
2026-08-10 08:04:30 +08:00
parent dedb9a8862
commit 6141a67b0e
10 changed files with 159 additions and 47 deletions
+12
View File
@@ -49,6 +49,13 @@ export default {
decided: {
human: 'Human',
auto: 'Auto',
// SA-1: cover all backend decided_by sources (different decision paths, more precise than generic 'auto')
auto_trust: 'Auto (trusted)',
auto_dedup: 'Auto (deduped)',
cache_hit: 'Auto (cached)',
auto_blacklist: 'Auto (blacklist)',
auto_takeover_medium: 'Auto (med-takeover)',
auto_takeover_all: 'Auto (full-takeover)',
},
// Tab navigation
tabAudit: 'Approval History',
@@ -59,5 +66,10 @@ export default {
convTruncated: 'Content truncated (expand to view full conversation)',
convSelectHint: '← Select a conversation to view full interaction log',
convReasoning: 'Reasoning (thinking)',
// SA-2: conversation role labels (previously hardcoded Chinese, now i18n)
convRoleUser: '🧑 User',
convRoleAssistant: '🤖 Assistant',
convRoleTool: '🔧 Tool',
convRoleSystem: '⚙️ System',
},
}