feat: add Chinese localization and new assets for CCW documentation

- Created LICENSE.txt for JavaScript assets including NProgress and React libraries.
- Added runtime JavaScript file for main functionality.
- Introduced new favicon and logo SVG assets for branding.
- Added comprehensive FAQ section in Chinese, covering CCW features, installation, workflows, AI model support, and troubleshooting.
This commit is contained in:
catlog22
2026-02-06 21:56:02 +08:00
parent 9b1655be9b
commit 6a5c17e42e
126 changed files with 3363 additions and 734 deletions

View File

@@ -19,7 +19,8 @@
"resume": "继续",
"stop": "停止",
"restart": "重新开始",
"viewLogs": "查看日志"
"viewLogs": "查看日志",
"inProgress": "正在执行中"
},
"status": {
"pending": "待处理",
@@ -35,6 +36,7 @@
"edit": "编辑节点",
"delete": "删除节点",
"status": "节点状态",
"statusCount": "节点状态 ({completed}/{total})",
"result": "结果"
},
"actions": {
@@ -54,11 +56,14 @@
}
},
"monitor": {
"title": "执行监控",
"title": "监控",
"logs": "日志",
"timeline": "时间线",
"variables": "变量",
"realtime": "实时更新"
"realtime": "实时更新",
"waitingForLogs": "等待日志...",
"clickExecuteToStart": "点击执行以开始",
"toggleMonitor": "切换执行监控"
},
"notifications": {
"flowCreated": "流程已创建",
@@ -69,7 +74,23 @@
"flowDeleted": "流程已删除",
"deleteFailed": "删除失败",
"flowDuplicated": "流程已复制",
"duplicateFailed": "复制失败"
"duplicateFailed": "复制失败",
"noFlow": "无流程",
"createFlowFirst": "请先创建流程再保存",
"savedSuccessfully": "\"{name}\" 保存成功",
"couldNotSave": "无法保存流程",
"saveError": "保存时发生错误",
"loadedSuccessfully": "\"{name}\" 加载成功",
"couldNotLoad": "无法加载流程",
"confirmDelete": "确定删除 \"{name}\"?此操作无法撤销。",
"deletedSuccessfully": "\"{name}\" 删除成功",
"couldNotDelete": "无法删除流程",
"duplicatedSuccessfully": "\"{name}\" 创建成功",
"couldNotDuplicate": "无法复制流程",
"flowExported": "流程已导出为 JSON 文件",
"noFlowToExport": "请先创建或加载流程",
"executionFailed": "执行失败",
"couldNotExecute": "无法启动流程执行"
},
"templateLibrary": {
"title": "模板库",
@@ -118,8 +139,11 @@
"new": "新建",
"save": "保存",
"load": "加载",
"export": "导出",
"export": "导出流程",
"templates": "模板",
"importTemplate": "导入模板",
"runWorkflow": "运行流程",
"monitor": "监控",
"savedFlows": "已保存的流程 ({count})",
"loading": "加载中...",
"noSavedFlows": "无已保存的流程",
@@ -135,6 +159,42 @@
"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": "没有可用的变量"
},
@@ -160,6 +220,38 @@
"close": "关闭面板",
"selectNode": "选择节点以编辑其属性",
"deleteNode": "删除节点",
"nodeType": "提示模板",
"saveToLibrary": "保存到节点库",
"templateName": "模板名称",
"descriptionOptional": "描述 (可选)",
"cancel": "取消",
"save": "保存",
"slashCommandsGroup": "斜杠命令",
"cliToolsGroup": "CLI 工具",
"classificationSection": "分类信息",
"description": "描述",
"descriptionPlaceholder": "节点功能描述...",
"tags": "标签",
"addTag": "添加标签...",
"executionSection": "执行配置",
"condition": "条件",
"conditionPlaceholder": "例如: {{prev.success}} === true",
"artifacts": "产物",
"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",