Files
DevFlow/src/i18n/zh-CN/aiTool.ts

81 lines
2.7 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 default {
aiTool: {
running: '执行中…',
approve: '批准执行',
reject: '拒绝',
approveAll: '全部批准 {n} 项',
rejectAll: '全部拒绝',
rejectedHint: '用户拒绝了此操作',
// B-260616-12:工具执行超时提示(前端降级,无后端取消 IPC)
executionSlow: '工具「{name}」执行较久,请稍候…',
collapse: '收起',
expandAll: '展开全部',
collapseAll: '全部收起',
written: '已写入',
items: '项',
lines: '行',
// 工具显示名(含路径摘要前缀,fallback 兜底)
readPrefix: '读取',
readFallback: '读取文件',
dirPrefix: '目录',
dirFallback: '列出目录',
writePrefix: '写入',
writeFallback: '写入文件',
// CRUD 类工具显示名(delete/restore/purge/update_project 按 id 解析项目名;无 id 或解析失败走 fallback)
deletePrefix: '删除项目',
deleteFallback: '删除项目',
restorePrefix: '恢复项目',
restoreFallback: '从回收站恢复项目',
purgePrefix: '彻底删除项目',
purgeFallback: '彻底删除项目',
updatePrefix: '更新项目',
updateFallback: '更新项目',
createTask: '创建任务',
createProject: '创建项目',
// completed 结果摘要(header 折叠态可见)
taskCount: '{n} 项任务',
projectCount: '{n} 个项目',
ideaCount: '{n} 条灵感',
createdWithName: '已创建:{name}',
created: '已创建',
updatedField: '已更新 {field}',
updated: '已更新',
deleted: '已删除',
deleteIneffective: '删除未生效',
restored: '已恢复',
restoreIneffective: '恢复未生效(项目不在回收站)',
purged: '已彻底删除',
purgeIneffective: '清除未生效',
workflowHint: '请到工作流页面运行',
// 审批参数特化(id/project_id 回显项目名,查不到标注原 id)
projectLabel: '「{name}」',
projectIdNotFound: '(项目已不存在, id={id})',
// AE-2025-05:High 风险审批二次确认文案(批准前再问一次,误点可取消)
confirmHighDelete: '确定永久删除?此操作不可恢复',
confirmHighExec: '确定执行此命令?',
confirmHighGeneric: '确定执行此高危操作?',
// 工具结果详情格式(非 JSON 纯文本 + 审批占位时补参数摘要)
resultDetail: '{raw}{detail}',
// 审批参数键标签
argLabel: {
id: 'ID',
projectId: '项目 ID',
name: '名称',
title: '标题',
description: '描述',
field: '字段',
value: '新值',
path: '路径',
priority: '优先级',
tags: '标签',
source: '来源',
},
},
}