fix: localize agnet detail copy

This commit is contained in:
gongzhiyong
2026-05-28 19:15:41 +08:00
parent 7d7c163f37
commit 61e060909d
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1 +1 @@
1.4.16
1.4.17
+2 -2
View File
@@ -333,10 +333,10 @@ function compactRuntimeRef(value: string | undefined): string {
function formatRecordSource(value: unknown): string {
const source = String(value || '').trim()
const normalized = source.toLowerCase()
if (!source || normalized.includes('manager')) return 'Manager'
if (!source || normalized.includes('manager')) return '管理端'
if (normalized.includes('simulate')) return '模拟'
if (normalized.includes('runtime') || normalized.includes('swarm'))
return 'Runtime'
return '运行时'
return source
}
+6 -6
View File
@@ -4143,9 +4143,9 @@
"timeline": "时间线",
"Sub task flow": "子任务流",
"No task, retry or handoff callback records yet": "暂无任务、重试或交接回调记录",
"Agent task map": "Agent 任务图",
"Waiting for Runtime task graph callbacks. Manager will show task, Agent role, handoff and source here when callbacks arrive.": "等待 Runtime 回传任务图。收到回调后,这里会展示任务、Agent 角色、交接关系和来源。",
"Agent role": "Agent 角色",
"Agent task map": "智能体任务图",
"Waiting for Runtime task graph callbacks. Manager will show task, Agent role, handoff and source here when callbacks arrive.": "等待运行时回传任务图。收到回调后,这里会展示任务、智能体角色、交接关系和来源。",
"Agent role": "智能体角色",
"Artifacts": "产物",
"No artifacts yet": "暂无产物",
"SK snapshots": "SK 快照",
@@ -4172,9 +4172,9 @@
"Approval accepted": "审批已通过",
"Approval rejected": "审批已拒绝",
"Credential lease revoked": "凭证租约已撤销",
"Approved from Manager audit page": "从 Manager 审计页批准",
"Rejected from Manager audit page": "从 Manager 审计页拒绝",
"Revoked from Manager audit page": "从 Manager 审计页撤销",
"Approved from Manager audit page": "从管理端审计页批准",
"Rejected from Manager audit page": "从管理端审计页拒绝",
"Revoked from Manager audit page": "从管理端审计页撤销",
"Connect code, docs and cloud resources for the current task, then confirm the recommendation before launching Agnet.": "为当前任务绑定代码、文档和云资源,然后确认推荐方案再启动 Agnet。",
"Plaintext credentials are never shown. The secret_ref column is a vault pointer, not the secret itself.": "永远不展示明文密钥。表中的密钥引用只是密钥保管器里的指针,不是密钥本体。",
"Confirm before launch": "确认后启动",