{
  "title": "工作流模板编辑器",
  "description": "创建和编辑工作流模板",
  "flow": {
    "title": "流程",
    "flows": "流程列表",
    "create": "新建流程",
    "edit": "编辑流程",
    "delete": "删除流程",
    "duplicate": "复制流程",
    "export": "导出流程",
    "import": "导入流程"
  },
  "execution": {
    "title": "执行",
    "status": "状态",
    "start": "开始",
    "pause": "暂停",
    "resume": "继续",
    "stop": "停止",
    "restart": "重新开始",
    "viewLogs": "查看日志",
    "inProgress": "正在执行中"
  },
  "status": {
    "pending": "待处理",
    "running": "运行中",
    "paused": "已暂停",
    "completed": "已完成",
    "failed": "失败"
  },
  "controlPanel": {
    "progress": "{completed}/{total} 步",
    "noPlan": "未找到编排计划",
    "completedMessage": "编排已成功完成",
    "failedMessage": "编排已停止",
    "cancelled": "已取消",
    "retry": "重试",
    "skip": "跳过"
  },
  "node": {
    "title": "节点",
    "nodes": "节点列表",
    "add": "添加节点",
    "edit": "编辑节点",
    "delete": "删除节点",
    "status": "节点状态",
    "statusCount": "节点状态 ({completed}/{total})",
    "result": "结果"
  },
  "actions": {
    "execute": "执行",
    "validate": "验证",
    "save": "保存",
    "cancel": "取消"
  },
  "emptyState": {
    "noFlows": {
      "title": "未找到流程",
      "message": "创建第一个工作流流程以开始。"
    },
    "noExecution": {
      "title": "无执行历史",
      "message": "执行流程以查看执行历史。"
    }
  },
  "monitor": {
    "title": "监控",
    "logs": "日志",
    "timeline": "时间线",
    "variables": "变量",
    "realtime": "实时更新",
    "waitingForLogs": "等待日志...",
    "clickExecuteToStart": "点击执行以开始",
    "toggleMonitor": "切换执行监控"
  },
  "notifications": {
    "flowCreated": "流程已创建",
    "flowSaved": "流程已保存",
    "saveFailed": "保存失败",
    "flowLoaded": "流程已加载",
    "loadFailed": "加载失败",
    "flowDeleted": "流程已删除",
    "deleteFailed": "删除失败",
    "flowDuplicated": "流程已复制",
    "duplicateFailed": "复制失败",
    "noFlow": "无流程",
    "createFlowFirst": "请先创建流程再保存",
    "savedSuccessfully": "\"{name}\" 保存成功",
    "couldNotSave": "无法保存流程",
    "saveError": "保存时发生错误",
    "loadedSuccessfully": "\"{name}\" 加载成功",
    "couldNotLoad": "无法加载流程",
    "confirmDelete": "确定删除 \"{name}\"？此操作无法撤销。",
    "deletedSuccessfully": "\"{name}\" 删除成功",
    "couldNotDelete": "无法删除流程",
    "duplicatedSuccessfully": "\"{name}\" 创建成功",
    "couldNotDuplicate": "无法复制流程",
    "flowExported": "流程已导出为 JSON 文件",
    "noFlowToExport": "请先创建或加载流程",
    "saveBeforeExecute": "请先保存流程",
    "flowSent": "流程已发送",
    "sentToTerminal": "\"{name}\" 已发送到终端执行",
    "executionFailed": "执行失败",
    "couldNotExecute": "无法启动流程执行"
  },
  "templateLibrary": {
    "title": "模板库",
    "description": "浏览和导入工作流模板,或将当前流程导出为模板。",
    "searchPlaceholder": "搜索模板...",
    "allCategories": "全部",
    "exportCurrent": "导出当前流程",
    "close": "关闭",
    "errors": {
      "loadFailed": "加载模板失败"
    },
    "emptyState": {
      "title": "未找到模板",
      "searchSuggestion": "尝试不同的搜索查询"
    },
    "footer": {
      "templateCount": "{count} 个模板",
      "templateCount_plural": "{count} 个模板"
    },
    "card": {
      "nodes": "个节点",
      "import": "导入",
      "delete": "删除"
    },
    "exportDialog": {
      "title": "导出为模板",
      "description": "将此流程保存为可重用的模板到您的库中。",
      "fields": {
        "name": "名称",
        "namePlaceholder": "模板名称",
        "description": "描述",
        "descriptionPlaceholder": "此模板的简要描述",
        "category": "类别",
        "categoryPlaceholder": "例如: 开发、测试、部署",
        "tags": "标签 (逗号分隔)",
        "tagsPlaceholder": "例如: react、testing、ci/cd"
      },
      "actions": {
        "cancel": "取消",
        "export": "导出"
      }
    }
  },
  "toolbar": {
    "placeholder": "流程名称",
    "unsavedChanges": "未保存的更改",
    "new": "新建",
    "save": "保存",
    "load": "加载",
    "export": "导出流程",
    "templates": "模板",
    "importTemplate": "导入模板",
    "sendToTerminal": "发送到终端执行",
    "savedFlows": "已保存的流程 ({count})",
    "loading": "加载中...",
    "noSavedFlows": "无已保存的流程",
    "duplicate": "复制",
    "delete": "删除"
  },
  "palette": {
    "title": "节点面板",
    "open": "打开节点面板",
    "collapse": "折叠面板",
    "instructions": "将节点拖到画布上以将其添加到您的工作流中",
    "nodeTypes": "节点类型",
    "tipLabel": "提示:",
    "tip": "通过从输出拖动到输入句柄来连接节点"
  },
  "leftSidebar": {
    "workbench": "工作台",
    "expand": "展开面板",
    "collapse": "折叠面板",
    "tabTemplates": "模板库",
    "tabNodes": "节点库",
    "tipLabel": "提示:",
    "dragOrDoubleClick": "拖拽到画布或双击添加"
  },
  "nodeLibrary": {
    "builtIn": "内置节点",
    "custom": "自定义 ({count})",
    "newCustomNode": "新建自定义节点",
    "nodeName": "节点名称",
    "descriptionOptional": "描述 (可选)",
    "defaultInstructionOptional": "默认指令 (可选)",
    "color": "颜色",
    "save": "保存",
    "noCustomNodes": "暂无自定义节点。点击 + 创建。",
    "deleteTemplate": "删除模板",
    "createCustomNode": "创建自定义节点",
    "promptTemplateLabel": "提示模板",
    "promptTemplateDesc": "自然语言工作流步骤指令",
    "slashCommandLabel": "斜杠命令",
    "slashCommandDesc": "执行 /workflow 命令 (主线程)",
    "slashCommandAsyncLabel": "斜杠命令 (异步)",
    "slashCommandAsyncDesc": "执行 /workflow 命令 (后台)",
    "newStepLabel": "新步骤"
  },
  "inlineTemplates": {
    "searchPlaceholder": "搜索模板...",
    "loadFailed": "无法加载模板库，请确认 API 服务可用",
    "noMatches": "未找到匹配的模板",
    "noTemplates": "暂无可用模板",
    "nodes": "个节点"
  },
  "variablePicker": {
    "empty": "没有可用的变量"
  },
  "multiNodeSelector": {
    "empty": "没有可用的节点",
    "clear": "清除全部"
  },
  "contextAssembler": {
    "title": "上下文模板",
    "helpTitle": "上下文组装语法",
    "helpSyntax1": "引用节点输出: {{node:节点ID}}",
    "helpSyntax2": "引用变量: {{var:变量名}}",
    "helpSyntax3": "以自定义格式组合多个来源",
    "addNode": "添加节点引用",
    "selectNode": "选择节点...",
    "addVariable": "添加变量引用",
    "selectVariable": "选择变量...",
    "manualEdit": "自定义模板 (使用 {{node:id}} 或 {{var:name}})"
  },
  "propertyPanel": {
    "title": "属性",
    "open": "打开属性面板",
    "close": "关闭面板",
    "selectNode": "选择节点以编辑其属性",
    "deleteNode": "删除节点",
    "nodeType": "提示模板",
    "saveToLibrary": "保存到节点库",
    "templateName": "模板名称",
    "descriptionOptional": "描述 (可选)",
    "cancel": "取消",
    "save": "保存",
    "slashCommandsGroup": "斜杠命令",
    "cliToolsGroup": "CLI 工具",
    "classificationSection": "分类信息",
    "description": "描述",
    "descriptionPlaceholder": "节点功能描述...",
    "tags": "标签",
    "addTag": "添加标签...",
    "executionSection": "执行配置",
    "condition": "条件",
    "conditionPlaceholder": "例如: {{prev.success}} === true",
    "artifacts": "产物",
    "delivery": "投递方式",
    "targetSessionKey": "目标会话",
    "targetSessionKeyPlaceholder": "例如：cli-session-...（从 Issue 终端页复制）",
    "resumeKey": "resumeKey",
    "resumeKeyPlaceholder": "例如：issue-123 或任意稳定 key",
    "resumeStrategy": "resumeStrategy",
    "available": "可用:",
    "variables": "变量:",
    "artifactsLabel": "产物:",
    "templateLabel": "模板:",
    "newTemplate": "新建",
    "createCustomTemplate": "创建自定义模板",
    "templateNameLabel": "模板名称",
    "templateContent": "模板内容",
    "templateContentHint": "(使用 $INPUT 作为输入占位符)",
    "tagColor": "标签颜色",
    "requiresInput": "需要用户输入参数",
    "inputPrompt": "输入提示",
    "defaultValue": "默认值",
    "saveTemplate": "保存模板",
    "confirmDeleteTemplate": "确定删除模板 \"{name}\"？",
    "placeholders": {
      "nodeLabel": "节点标签",
      "instruction": "例如: 执行 /workflow-plan 用于登录功能\n或: 分析代码架构\n或: 将 {{analysis}} 保存到 ./output/result.json",
      "outputName": "例如: analysis, plan, result",
      "slashCommand": "选择命令...",
      "slashArgs": "输入参数...",
      "additionalInstruction": "命令的附加说明或上下文..."
    },
    "labels": {
      "label": "标签",
      "instruction": "指令",
      "outputName": "输出名称",
      "tool": "CLI 工具",
      "mode": "执行模式",
      "contextRefs": "上下文引用",
      "slashCommand": "斜杠命令",
      "slashArgs": "参数",
      "additionalInstruction": "附加说明 (可选)"
    },
    "options": {
      "toolNone": "无 (自动选择)",
      "toolGemini": "Gemini",
      "toolQwen": "Qwen",
      "toolCodex": "Codex",
      "toolClaude": "Claude",
      "modeAnalysis": "分析 (只读)",
      "modeWrite": "写入 (修改文件)",
      "modeMainprocess": "主进程 (阻塞)",
      "modeAsync": "异步 (非阻塞)",
      "deliveryNewExecution": "新执行",
      "deliverySendToSession": "发送到会话",
      "resumeStrategyNative": "nativeResume",
      "resumeStrategyPromptConcat": "promptConcat"
    }
  }
}
