Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 27 additions & 4 deletions frontend/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"back": "Back to board",
"intro": "What happened on this task, in order. Each entry carries the hash of the one before it, so a changed entry breaks the chain.",
"loading": "Loading record…",
"access": "This record isn't available. The pod may not keep records, or you no longer have access to it.",
"access": "The pod may not keep records, or you no longer have access.",
"members": "Only members of this pod can read its record.",
"store": "The record store is unavailable right now. Try again shortly.",
"error": "Could not load the record. Try again.",
Expand All @@ -70,16 +70,14 @@
"counts_other": "{{count}} entries",
"run": "Run {{id}}",
"empty": "Nothing has been recorded for this task yet.",
"entry": "Entry {{number}}",
"downloadJsonl": "Download JSONL",
"downloadOtlp": "Download OTLP",
"downloadError": "Could not download the record. Try again.",
"actor": {
"unknown": "Unknown actor",
"board": "Board",
"system": "System: {{id}}",
"policy": "Policy: {{id}}",
"agent": "{{name}} (agent)"
"policy": "Policy: {{id}}"
},
"kinds": {
"task_claimed": "Claimed",
Expand All @@ -91,6 +89,31 @@
"permission_decided": "Approval decided",
"tool_call": "Tool call",
"tool_update": "Tool update"
},
"unavailableTitle": "This record isn't available",
"about": "About the record",
"download": "Download",
"details": "Details",
"entryKey": "entry",
"line": {
"leaseUntil": "lease until {{time}}",
"reason": "reason {{reason}}",
"doneBy": "done by {{name}}",
"askedOf": "asked {{name}}"
},
"reasons": {
"blocked": "blocked",
"lease_expired": "lease expired",
"reassigned": "reassigned",
"abandoned": "abandoned"
},
"decisions": {
"allow_once": "allow once",
"reject_once": "reject once",
"allow_always": "allow always",
"reject_always": "reject always",
"selected": "selected",
"cancelled": "cancelled"
}
},
"common": {
Expand Down
31 changes: 27 additions & 4 deletions frontend/src/i18n/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"back": "返回看板",
"intro": "按顺序列出此任务发生的事。每条记录都带有上一条的哈希,任何一条被改动,链就会断开。",
"loading": "正在加载记录…",
"access": "此记录不可用。该 Pod 可能没有开启记录,或你已无权访问它。",
"access": "该 Pod 可能没有开启记录,或你已无权访问。",
"members": "只有此 Pod 的成员可以查看它的记录。",
"store": "记录存储暂时不可用,请稍后重试。",
"error": "无法加载记录,请重试。",
Expand All @@ -69,16 +69,14 @@
"counts_other": "{{count}}条记录",
"run": "运行 {{id}}",
"empty": "此任务还没有任何记录。",
"entry": "第{{number}}条",
"downloadJsonl": "下载 JSONL",
"downloadOtlp": "下载 OTLP",
"downloadError": "无法下载记录,请重试。",
"actor": {
"unknown": "未知操作者",
"board": "看板",
"system": "系统:{{id}}",
"policy": "策略:{{id}}",
"agent": "{{name}}(智能体)"
"policy": "策略:{{id}}"
},
"kinds": {
"task_claimed": "已认领",
Expand All @@ -90,6 +88,31 @@
"permission_decided": "审批已决定",
"tool_call": "工具调用",
"tool_update": "工具更新"
},
"unavailableTitle": "此记录不可用",
"about": "关于此记录",
"download": "下载",
"details": "详情",
"entryKey": "条目",
"line": {
"leaseUntil": "租约至{{time}}",
"reason": "原因:{{reason}}",
"doneBy": "由 {{name}} 完成",
"askedOf": "询问 {{name}}"
},
"reasons": {
"blocked": "受阻",
"lease_expired": "租约到期",
"reassigned": "已改派",
"abandoned": "已放弃"
},
"decisions": {
"allow_once": "允许一次",
"reject_once": "拒绝一次",
"allow_always": "始终允许",
"reject_always": "始终拒绝",
"selected": "已选择",
"cancelled": "已取消"
}
},
"common": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/v2/V2App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ const V2App: React.FC = () => {
/>
<Route
path="pods/:podId/tasks/:taskId/record"
element={feature(t('taskRecord.title'), <V2TaskRecord />, false, false)}
element={feature(t('taskRecord.title'), <V2TaskRecord />, false, false, 'v2-feature--task-record')}
/>
<Route
path="activity"
Expand Down
Loading
Loading