copy: second-round copy review across console, settings, agent and server messages
- Trim descriptions, empty states, confirm buttons and toasts to facts - Unify terms per glossary: 待处理/待识别/整理记录/运行记录/凭证/子会话/Agent 上游 - Subscription-login termsNote states facts only (borrowed client identity, ToS/ban risk) - Shorter, concrete goal templates for built-in Agent checks - Human-readable nouns instead of table names in instance CRUD errors - Audit labels for pi_upstream / schedule / automation_grant actions - Glossary: add 上游、订阅登录、凭证、定时任务、巡检、运行记录、子会话、停止、持续授权 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c67f6a9682
commit
31a54186c7
58 files changed
+200
-188
No files matched your search
@@ -72,13 +72,13 @@ const ORG_ACTION: Record<string, string> = {
|
||||
export const organizationActionLabel = (v: string) => ORG_ACTION[v] ?? v;
|
||||
|
||||
const AGENT_RUN: Record<string, Labeled> = {
|
||||
queued: { label: "排队", tone: "neutral" },
|
||||
running: { label: "执行中", tone: "neutral" },
|
||||
waiting: { label: "等待", tone: "warning" },
|
||||
succeeded: { label: "完成", tone: "success" },
|
||||
queued: { label: "排队中", tone: "neutral" },
|
||||
running: { label: "运行中", tone: "neutral" },
|
||||
waiting: { label: "等待中", tone: "warning" },
|
||||
succeeded: { label: "已完成", tone: "success" },
|
||||
failed: { label: "失败", tone: "destructive" },
|
||||
cancelled: { label: "已取消", tone: "neutral" },
|
||||
budget_exceeded: { label: "超预算", tone: "warning" },
|
||||
cancelled: { label: "已停止", tone: "neutral" },
|
||||
budget_exceeded: { label: "超出预算", tone: "warning" },
|
||||
};
|
||||
export const agentRunLabel = (v: string | null | undefined) => pick(AGENT_RUN, v);
|
||||
|
||||
|
||||
Reference in new issue
Block a user