Files
CodeNomad/packages/ui/src/lib/i18n/messages/zh-Hans/toolCall.ts
codenomadbot[bot] 9800afb785 feat(ui): toggle tool call input YAML (#182)
* feat(ui): toggle tool call input yaml

* ui: rename tool input toggle and add IO headers

* ui: add input/output accordions in tool calls

* ui: refine tool IO accordion styling

* ui: remove extra padding around IO sections

* ui: remove semibold from IO headers

* feat(ui): add tool input visibility preference

* fix(ui): scope tool input toggle to current tool call

* ui: left-align tool IO header text

* fix(ui): let palette tool input visibility override per-call

* ui: default tool input visibility to collapsed

* fix(ui): expand read tool calls on error

---------

Co-authored-by: Shantur Rathore <i@shantur.com>
2026-02-19 22:08:41 +00:00

133 lines
6.5 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const toolCallMessages = {
"toolCall.pending.waitingToRun": "等待运行...",
"toolCall.error.label": "错误:",
"toolCall.header.copyTitle": "Copy tool call title",
"toolCall.header.copyAriaLabel": "Copy tool call title",
"toolCall.header.showInputTitle": "Show Tool Arguments",
"toolCall.header.showInputAriaLabel": "Show Tool Arguments",
"toolCall.header.hideInputTitle": "Hide Tool Arguments",
"toolCall.header.hideInputAriaLabel": "Hide Tool Arguments",
"toolCall.io.input": "Tool Input",
"toolCall.io.output": "Tool Output",
"toolCall.diff.label": "Diff",
"toolCall.diff.label.withPath": "Diff · {path}",
"toolCall.diff.viewMode.ariaLabel": "Diff 视图模式",
"toolCall.diff.viewMode.split": "分栏",
"toolCall.diff.viewMode.unified": "统一",
"toolCall.diagnostics.title": "诊断",
"toolCall.diagnostics.ariaLabel": "诊断",
"toolCall.diagnostics.ariaLabel.withLabel": "诊断 {label}",
"toolCall.diagnostics.severity.error.short": "ERR",
"toolCall.diagnostics.severity.warning.short": "WARN",
"toolCall.diagnostics.severity.info.short": "INFO",
"toolCall.renderer.toolName.shell": "Shell",
"toolCall.renderer.toolName.fetch": "Fetch",
"toolCall.renderer.toolName.invalid": "无效",
"toolCall.renderer.toolName.plan": "计划",
"toolCall.renderer.toolName.applyPatch": "应用补丁",
"toolCall.renderer.action.working": "处理中...",
"toolCall.renderer.action.writingCommand": "正在编写命令...",
"toolCall.renderer.action.preparingEdit": "正在准备编辑...",
"toolCall.renderer.action.readingFile": "正在读取文件...",
"toolCall.renderer.action.preparingWrite": "正在准备写入...",
"toolCall.renderer.action.preparingPatch": "正在准备补丁...",
"toolCall.renderer.action.planning": "正在规划...",
"toolCall.renderer.action.fetchingFromWeb": "正在从网络获取...",
"toolCall.renderer.action.findingFiles": "正在查找文件...",
"toolCall.renderer.action.searchingContent": "正在搜索内容...",
"toolCall.renderer.action.listingDirectory": "正在列出目录...",
"toolCall.renderer.bash.title.timeout": "超时:{timeout}",
"toolCall.renderer.read.detail.offset": "偏移:{offset}",
"toolCall.renderer.read.detail.limit": "限制:{limit}",
"toolCall.renderer.todo.empty": "暂无计划项。",
"toolCall.renderer.todo.status.pending": "待处理",
"toolCall.renderer.todo.status.inProgress": "进行中",
"toolCall.renderer.todo.status.completed": "已完成",
"toolCall.renderer.todo.status.cancelled": "已取消",
"toolCall.renderer.todo.title.plan": "计划",
"toolCall.renderer.todo.title.creating": "正在创建计划",
"toolCall.renderer.todo.title.completing": "正在完成计划",
"toolCall.renderer.todo.title.updating": "正在更新计划",
"toolCall.permission.status.required": "需要权限",
"toolCall.permission.status.queued": "权限已排队",
"toolCall.permission.requestedDiff.label": "请求的 Diff",
"toolCall.permission.requestedDiff.withPath": "请求的 Diff · {path}",
"toolCall.permission.queuedText": "正在等待更早的权限响应。",
"toolCall.permission.actions.allowOnce": "仅允许一次",
"toolCall.permission.actions.alwaysAllow": "始终允许",
"toolCall.permission.actions.deny": "拒绝",
"toolCall.permission.shortcuts.allowOnce": "仅允许一次",
"toolCall.permission.shortcuts.alwaysAllow": "始终允许",
"toolCall.permission.shortcuts.deny": "拒绝",
"toolCall.permission.errors.unableToUpdate": "无法更新权限",
"permissionApproval.title": "请求",
"permissionApproval.empty": "暂无待处理请求。",
"permissionApproval.kind.permission": "权限",
"permissionApproval.kind.question": "问题",
"permissionApproval.questionCount.one": "{count} 个问题",
"permissionApproval.questionCount.other": "{count} 个问题",
"permissionApproval.status.active": "活动",
"permissionApproval.actions.closeAriaLabel": "关闭",
"permissionApproval.actions.goToSession": "前往会话",
"permissionApproval.actions.loadingSession": "正在加载…",
"permissionApproval.actions.loadSession": "加载会话",
"permissionApproval.actions.allowOnce": "仅允许一次",
"permissionApproval.actions.alwaysAllow": "始终允许",
"permissionApproval.actions.deny": "拒绝",
"permissionApproval.fallbackHint": "加载会话以查看更多信息。",
"permissionApproval.errors.unableToUpdatePermission": "无法更新权限",
"toolCall.question.status.required": "需要回答问题",
"toolCall.question.status.queued": "问题已排队",
"toolCall.question.status.questions": "问题",
"toolCall.question.action.awaitingAnswers": "等待回答...",
"toolCall.question.title.questions": "问题",
"toolCall.question.title.askingQuestions": "正在提问",
"toolCall.question.type.one": "问题",
"toolCall.question.type.other": "问题",
"toolCall.question.number": "Q{number}:",
"toolCall.question.multiple": "多个",
"toolCall.question.custom.title": "输入自定义答案",
"toolCall.question.custom.label": "自定义答案",
"toolCall.question.custom.placeholder": "输入你的答案",
"toolCall.question.actions.submit": "提交",
"toolCall.question.actions.dismiss": "忽略",
"toolCall.question.shortcuts.submit": "提交",
"toolCall.question.shortcuts.dismiss": "忽略",
"toolCall.question.queuedText": "正在等待更早的响应。",
"toolCall.question.validation.answerAll": "请先回答所有问题再提交。",
"toolCall.question.errors.unableToReply": "无法回复",
"toolCall.question.errors.unableToDismiss": "无法忽略",
"toolCall.task.action.delegating": "正在委派...",
"toolCall.task.sections.prompt": "Prompt",
"toolCall.task.sections.steps": "步骤",
"toolCall.task.sections.output": "输出",
"toolCall.task.steps.count": "{count} 个步骤",
"toolCall.task.meta.agentModel": "智能体:{agent} • 模型:{model}",
"toolCall.task.meta.agent": "智能体:{agent}",
"toolCall.task.meta.model": "模型:{model}",
"toolCall.status.pending": "待处理",
"toolCall.status.running": "运行中",
"toolCall.status.completed": "已完成",
"toolCall.status.error": "错误",
"toolCall.status.unknown": "未知",
"toolCall.applyPatch.action.preparing": "正在准备 apply_patch...",
"toolCall.applyPatch.title.withFileCount.one": "{tool}{count} 个文件)",
"toolCall.applyPatch.title.withFileCount.other": "{tool}{count} 个文件)",
"toolCall.applyPatch.fileFallback": "文件 {number}",
} as const