{
  "button": {
    "primary": "主按钮",
    "secondary": "次按钮",
    "danger": "危险按钮",
    "ghost": "幽灵按钮"
  },
  "input": {
    "placeholder": "请输入...",
    "clear": "清空",
    "show": "显示",
    "hide": "隐藏"
  },
  "select": {
    "placeholder": "请选择",
    "noOptions": "无选项",
    "loading": "加载中...",
    "search": "搜索...",
    "emptyText": "暂无数据",
    "selectAll": "全选",
    "customValueHint": "按 Enter 使用自定义值",
    "useCustomValue": "使用 \"{{value}}\""
  },
  "numberInput": {
    "decrease": "减少",
    "increase": "增加"
  },
  "codeEditor": {
    "exitFullscreen": "退出全屏",
    "exitFullscreenHint": "退出全屏 (ESC)",
    "enterFullscreen": "全屏预览"
  },
  "inputDialog": {
    "emptyError": "此字段不能为空"
  },
  "markdown": {
    "copySuccess": "复制成功",
    "copyCode": "复制代码"
  },
  "mermaidBlock": {
    "renderFailed": "图表渲染失败",
    "codeIncomplete": "代码不完整，等待更多内容...",
    "rendering": "正在渲染图表...",
    "openInEditor": "在编辑器中打开",
    "showCode": "查看源码",
    "hideCode": "隐藏源码",
    "copyCode": "复制代码"
  },
  "reproductionSteps": {
    "completedTitle": "复现步骤已完成",
    "instructionTitle": "请按以下步骤复现问题",
    "continueButton": "继续",
    "processing": "处理中...",
    "notified": "已通知 AI 分析日志，请等待结果...",
    "instruction": "完成上述步骤后，点击下方按钮让 AI 继续分析日志",
    "userCompleted": "[用户已完成复现] 请立即收集并分析日志。",
    "userCompletedShort": "用户已完成复现",
    "operationFailed": "操作失败，请重试"
  },
  "flowChatCards": {
    "todoCard": {
      "title": "任务管理",
      "description": "管理任务列表",
      "total": "总计",
      "inProgress": "进行中",
      "completed": "已完成",
      "noTasks": "暂无任务",
      "taskCount": "{{total}} 项任务 / {{completed}} 已完成"
    },
    "webSearchCard": {
      "searchTitle": "网页搜索",
      "fetchTitle": "获取链接",
      "searchQuery": "搜索查询",
      "url": "URL",
      "results": "搜索结果",
      "resultsCount": "{{count}} 个结果",
      "resultCount": "结果数",
      "noResults": "未找到相关结果",
      "searching": "正在搜索...",
      "searchDesc": "搜索网页内容",
      "fetchDesc": "获取网页链接内容",
      "unspecifiedQuery": "未指定查询"
    },
    "snapshotCard": {
      "writeFile": "写入文件",
      "editFile": "编辑文件",
      "deleteFile": "删除文件",
      "multiEdit": "批量编辑",
      "accept": "接受修改",
      "reject": "拒绝修改",
      "viewDetails": "查看详情",
      "viewFullDiff": "查看完整差异",
      "processing": "正在处理文件...",
      "linesAdded": "行新增",
      "linesDeleted": "行删除",
      "filesCount": "{{count}} 文件",
      "filePath": "文件路径",
      "unspecifiedFile": "未指定文件",
      "file": "文件"
    },
    "taskCard": {
      "title": "执行任务",
      "description": "执行专门的AI任务",
      "taskType": "任务类型",
      "taskDesc": "任务描述",
      "result": "任务结果",
      "processing": "AI正在处理任务...",
      "defaultType": "AI任务",
      "unspecifiedTask": "未指定任务"
    },
    "searchCard": {
      "grepTitle": "文本搜索",
      "globTitle": "文件搜索",
      "grepDesc": "在文件中搜索文本",
      "globDesc": "按模式搜索文件",
      "pattern": "搜索模式",
      "path": "搜索路径",
      "matches": "个匹配",
      "files": "个文件",
      "matchingFiles": "匹配文件",
      "noTextMatch": "未找到匹配的文本",
      "noFileMatch": "未找到匹配的文件",
      "unspecifiedPattern": "未指定模式",
      "currentDir": "当前目录",
      "matchCount": "{{count}} 处"
    },
    "contextCompressionCard": {
      "title": "上下文压缩",
      "description": "优化对话上下文，节省tokens",
      "compressing": "智能压缩上下文中...",
      "analyzing": "正在分析并压缩上下文...",
      "triggerBeforeUserMessage": "用户消息前",
      "triggerAfterToolBatch": "工具批次完成",
      "triggerAfterAiResponse": "AI响应后",
      "triggerManual": "手动触发",
      "triggerAuto": "自动触发",
      "triggerTime": "触发时机：{{trigger}} · 第{{count}}次",
      "duration": "耗时",
      "savedTokens": "压缩 {{count}} tokens · 当前比例 {{ratio}}%"
    },
    "toolConfig": {
      "read": {
        "displayName": "读取文件",
        "description": "读取指定文件的内容"
      },
      "write": {
        "displayName": "写入文件",
        "description": "写入或创建文件"
      },
      "edit": {
        "displayName": "编辑文件",
        "description": "编辑文件内容"
      },
      "delete": {
        "displayName": "删除文件",
        "description": "删除指定文件"
      },
      "grep": {
        "displayName": "文本搜索",
        "description": "在文件中搜索文本"
      },
      "glob": {
        "displayName": "文件搜索",
        "description": "按模式搜索文件"
      },
      "webSearch": {
        "displayName": "网页搜索",
        "description": "搜索网页内容"
      },
      "webFetch": {
        "displayName": "获取链接",
        "description": "获取链接内容"
      },
      "task": {
        "displayName": "执行任务",
        "description": "执行专门的 AI 任务"
      },
      "todoWrite": {
        "displayName": "任务管理",
        "description": "管理任务列表"
      },
      "contextCompression": {
        "displayName": "上下文压缩",
        "description": "智能压缩对话上下文"
      },
      "default": {
        "description": "执行 {{toolName}} 工具"
      }
    },
    "baseToolCard": {
      "awaitingConfirmation": "等待确认",
      "analyzing": "分析参数中...",
      "running": "执行中...",
      "completed": "已完成",
      "cancelled": "已取消",
      "failed": "执行失败",
      "preparing": "准备中",
      "inputParams": "输入参数：",
      "confirm": "确认",
      "cancel": "取消",
      "result": "结果：",
      "viewDetails": "查看详情"
    }
  },
  "designSystem": {
    "alertDemo": {
      "title": "Alert 警告提示",
      "subtitle": "简约的警告提示组件",
      "sections": {
        "basic": "基础类型",
        "withTitle": "带标题",
        "withDescription": "带描述文本",
        "closable": "可关闭",
        "noIcon": "无图标"
      },
      "messages": {
        "operationSuccess": "操作成功完成",
        "operationFailed": "操作失败，请重试",
        "operationRisk": "此操作存在风险",
        "infoMessage": "这是一条信息提示",
        "deploySuccessTitle": "部署成功",
        "deploySuccessMessage": "应用已成功部署到生产环境",
        "deployFailedTitle": "部署失败",
        "deployFailedMessage": "应用部署过程中遇到错误",
        "expiringTitle": "即将过期",
        "expiringMessage": "您的订阅将在 7 天后到期",
        "expiringDescription": "为了避免服务中断，请及时续费",
        "updateTitle": "版本更新",
        "updateMessage": "发现新版本 v3.0.0",
        "updateDescription": "包含性能优化和新功能",
        "closableMessage": "点击右侧按钮关闭此提示",
        "closableInfoTitle": "提示信息",
        "closableInfoMessage": "这个提示也可以关闭",
        "noIconMessage": "这是一个没有图标的提示"
      }
    },
    "iconButtonExample": {
      "title": "IconButton 组件示例",
      "sections": {
        "basic": "基础样式（Default）- 透明背景，悬停时显示底色",
        "ghost": "Ghost 样式 - 与 Default 一致",
        "primary": "Primary 强调按钮 - 使用 CSS 变量",
        "shape": "形状变体 - 圆形",
        "other": "其他变体",
        "usage": "使用说明"
      },
      "usage": {
        "defaultGhost": {
          "label": "default/ghost: ",
          "text": "透明背景，悬停时显示底色，适合低优先级操作"
        },
        "primary": {
          "label": "primary: ",
          "text": "强调按钮，使用与文本按钮一致的 CSS 变量系统，适合高优先级操作"
        },
        "disabled": {
          "label": "禁用状态: ",
          "text": "使用 disabled 属性，opacity 降低为 0.5"
        },
        "theme": {
          "label": "主题支持: ",
          "text": "primary 变体通过 CSS 变量支持主题定制"
        }
      }
    },
    "previewApp": {
      "title": "Sparo OS 设计系统",
      "emptyState": "请从左侧选择入口查看设计系统指引",
      "navigationTitle": "设计系统",
      "collapseNavigation": "收起导航",
      "expandNavigation": "展开导航",
      "theme": {
        "label": "主题",
        "light": "浅色",
        "dark": "深色",
        "lightDescription": "浅色主题",
        "darkDescription": "深色主题"
      },
      "tiers": {
        "primitive": "原子",
        "pattern": "模式",
        "recipe": "配方"
      }
    },
    "layouts": {
      "quickJump": "快速跳转",
      "previewLabel": "预览",
      "idLabel": "ID:"
    },
    "markdownPreview": {
      "title": "Markdown 组件预览",
      "badge": "内容组件",
      "backToLibrary": "← 返回组件库",
      "controls": {
        "variantLabel": "样式变体：",
        "modeLabel": "模式：",
        "preview": "预览",
        "edit": "编辑",
        "reset": "重置内容"
      },
      "variants": {
        "default": "默认",
        "bordered": "带边框",
        "minimal": "简洁"
      },
      "editorPlaceholder": "在这里输入 Markdown 内容...",
      "sample": "# Markdown 组件完整预览\n\n欢迎来到 Sparo OS 的 Markdown 组件预览页面！\n\n## 基础语法\n\n### 文本样式\n\n这是**粗体文本**，这是*斜体文本*，这是~~删除线~~。\n\n你还可以组合使用，比如 ***粗斜体***。\n\n### 列表\n\n#### 无序列表\n\n- 项目 1\n- 项目 2\n  - 子项目 2.1\n  - 子项目 2.2\n- 项目 3\n\n#### 有序列表\n\n1. 第一步\n2. 第二步\n3. 第三步\n\n#### 任务列表\n\n- [x] 已完成的任务\n- [ ] 待完成的任务\n- [ ] 另一个任务\n\n## 代码展示\n\n### 内联代码\n\n使用 `npm install` 安装依赖，然后运行 `npm run dev` 启动开发服务器。\n\n### 代码块\n\n```typescript\ninterface User {\n  id: string;\n  name: string;\n  email: string;\n}\n\nfunction greetUser(user: User): string {\n  return `Hello, ${user.name}!`;\n}\n\nconst user: User = {\n  id: '1',\n  name: 'Alice',\n  email: 'alice@example.com'\n};\n\nconsole.log(greetUser(user));\n```\n\n```javascript\n// JavaScript example\nconst fetchData = async () => {\n  try {\n    const response = await fetch('https://api.example.com/data');\n    const data = await response.json();\n    return data;\n  } catch (error) {\n    console.error('Error:', error);\n  }\n};\n```\n\n```python\n# Python example\ndef fibonacci(n):\n    if n <= 1:\n        return n\n    return fibonacci(n-1) + fibonacci(n-2)\n\nfor i in range(10):\n    print(f\"F({i}) = {fibonacci(i)}\")\n```\n\n## 表格\n\n| 特性 | 描述 | 支持状态 |\n|------|------|---------|\n| 标题 | H1-H6 标题 | 是 |\n| 列表 | 有序/无序列表 | 是 |\n| 代码块 | 语法高亮 | 是 |\n| 表格 | Markdown 表格 | 是 |\n| 链接 | 超链接 | 是 |\n| 图片 | 图片展示 | 是 |\n| 引用 | 引用块 | 是 |\n\n## 引用块\n\n> 这是一个引用块。\n> \n> 可以用来强调重要信息或引用他人的话。\n> \n> — Sparo OS Team\n\n> **提示：** 引用块可以包含其他 Markdown 元素，包括**粗体**、*斜体*和`代码`。\n\n## 链接\n\n访问 [Sparo OS 官网](https://sparo.dev) 了解更多信息。\n\n查看 [GitHub 仓库](https://github.com/sparo-os) 获取源代码。\n\n自动链接：https://example.com\n\n## 图片\n\n![示例图片](https://via.placeholder.com/600x300/667eea/ffffff?text=Sparo OS+Markdown)\n\n## 分割线\n\n---\n\n## 嵌套内容\n\n### 列表中的代码\n\n1. 首先安装依赖：\n   ```bash\n   npm install react-markdown\n   ```\n\n2. 然后在代码中使用：\n   ```jsx\n   import ReactMarkdown from 'react-markdown';\n   \n   <ReactMarkdown>{content}</ReactMarkdown>\n   ```\n\n### 引用中的列表\n\n> #### 注意事项\n> \n> - 确保正确转义特殊字符\n> - 使用合适的语法高亮\n> - 保持文档结构清晰\n\n## 特殊格式\n\n<details>\n<summary>点击展开详细内容</summary>\n\n这是折叠的内容，点击标题可以展开。\n\n- 支持 HTML 标签\n- 可以包含 Markdown 内容\n\n</details>\n\n## 总结\n\nSparo OS 的 Markdown 组件支持：\n\n1. 支持完整的 Markdown 语法\n2. 支持 GitHub Flavored Markdown (GFM)\n3. 支持漂亮的暗色主题\n4. 支持代码语法高亮\n5. 支持响应式表格\n6. 支持自定义样式变体\n\n**开始使用吧！**"
    },
    "usageGuide": {
      "label": "AI 使用指引",
      "recipeLabel": "配方",
      "useWhen": "使用场景",
      "composeWith": "组合使用",
      "avoid": "避免",
      "states": "预览状态"
    }
  },
  "modal": {
    "close": "关闭",
    "confirm": "确认",
    "cancel": "取消"
  },
  "dialog": {
    "alert": {
      "title": "提示",
      "ok": "确定"
    },
    "confirm": {
      "title": "确认",
      "ok": "确定",
      "cancel": "取消"
    },
    "prompt": {
      "title": "输入",
      "placeholder": "请输入...",
      "ok": "确定",
      "cancel": "取消"
    }
  },
  "tooltip": {
    "copy": "复制",
    "copied": "已复制",
    "close": "关闭",
    "expand": "展开",
    "collapse": "收起"
  },
  "tabs": {
    "close": "关闭标签",
    "popOut": "弹出为独立场景",
    "closeOthers": "关闭其他标签",
    "closeAll": "关闭所有标签",
    "closeRight": "关闭右侧标签",
    "pin": "固定标签",
    "unpin": "取消固定",
    "unsaved": "未保存",
    "fileDeleted": "已删除",
    "missionControl": "全景模式",
    "hiddenTabsCount": "{{count}} 个隐藏标签",
    "confirmCloseWithDirty": "文件 \"{{title}}\" 有未保存的更改。\n\n是否放弃更改并关闭？",
    "confirmCloseAllWithDirty": "以下 {{count}} 个文件有未保存的更改：\n\n{{fileList}}\n\n是否放弃所有更改并关闭？"
  },
  "tree": {
    "expand": "展开",
    "collapse": "收起",
    "loading": "加载中..."
  },
  "table": {
    "empty": "暂无数据",
    "loading": "加载中...",
    "rowsPerPage": "每页行数",
    "totalRows": "共 {{total}} 行",
    "page": "第 {{page}} 页",
    "of": "共 {{total}} 页"
  },
  "pagination": {
    "first": "第一页",
    "last": "最后一页",
    "previous": "上一页",
    "next": "下一页",
    "page": "第 {{page}} 页",
    "of": "共 {{total}} 页"
  },
  "dropdown": {
    "noItems": "无项目"
  },
  "contextMenu": {
    "cut": "剪切",
    "copy": "复制",
    "paste": "粘贴",
    "delete": "删除",
    "selectAll": "全选"
  },
  "contextSystem": {
    "contextList": {
      "emptyTitle": "暂无上下文",
      "emptyHint": "从文件树、代码编辑器或 Mermaid 图表拖拽内容到这里",
      "title": "上下文",
      "clearAll": "清空",
      "clearAllTitle": "清空所有上下文",
      "clearAllConfirm": "确定要清空所有 {{count}} 个上下文吗？"
    },
    "contextCard": {
      "unknownType": "未知类型: {{type}}",
      "removeContext": "移除此上下文",
      "viewFullCode": "查看完整代码",
      "viewLargeImage": "查看大图"
    },
    "contextTypes": {
      "selection": "文本选择",
      "file": "文件",
      "folder": "文件夹",
      "editor": "编辑器",
      "flowChat": "FlowChat",
      "flowChatToolCard": "FlowChat 工具卡片",
      "flowChatTextBlock": "FlowChat 文本块",
      "tab": "标签页",
      "panelHeader": "面板标题",
      "emptySpace": "空白区域",
      "custom": "自定义",
      "unknown": "未知"
    },
    "contextRegistry": {
      "file": {
        "name": "文件",
        "description": "文件系统中的文件"
      },
      "directory": {
        "name": "目录",
        "description": "文件系统中的目录"
      },
      "codeSnippet": {
        "name": "代码片段",
        "description": "选中的代码片段"
      },
      "image": {
        "name": "图片",
        "description": "图片文件（用于多模态理解）"
      },
      "webElement": {
        "name": "网页元素",
        "description": "浏览器中捕获的 DOM 元素"
      }
    },
    "webElement": {
      "from": "来自"
    },
    "diagram": {
      "defaultTitle": "Mermaid 图表",
      "types": {
        "flowchart": "流程图",
        "sequence": "时序图",
        "class": "类图",
        "state": "状态图",
        "er": "ER图",
        "gantt": "甘特图",
        "other": "图表"
      },
      "codeSize": {
        "chars": "{{count}} 字符",
        "kChars": "{{count}}K 字符"
      }
    },
    "validation": {
      "warnings": {
        "codeLinesLarge": "选择的代码行数较多（>{{max}} 行），建议精简",
        "codeContentLarge": "选择的代码内容较大（>{{maxChars}} 字符），可能影响处理速度",
        "fileLarge": "文件较大（>{{size}}MB），可能影响处理速度",
        "mermaidCodeLong": "Mermaid 代码较长（>{{maxChars}} 字符），可能影响处理速度",
        "mermaidCodeInvalid": "可能不是有效的 Mermaid 语法"
      }
    }
  },
  "notification": {
    "close": "关闭",
    "closeAll": "关闭所有"
  },
  "notificationCenter": {
    "title": "通知中心",
    "actions": {
      "markAllRead": "全部已读",
      "clearAll": "清除所有"
    },
    "searchPlaceholder": "搜索通知...",
    "filters": {
      "all": "全部 ({{count}})",
      "placeholder": "分类"
    },
    "activeTasks": {
      "title": "正在进行的任务 ({{count}})"
    },
    "empty": {
      "noMatches": "没有匹配的通知",
      "noNotifications": "暂无通知"
    },
    "groups": {
      "earlier": "更早"
    }
  },
  "loading": {
    "text": "加载中...",
    "retry": "重试"
  },
  "empty": {
    "title": "暂无数据",
    "description": "没有找到相关内容"
  },
  "error": {
    "title": "出错了",
    "description": "发生了意外错误",
    "retry": "重试"
  },
  "search": {
    "placeholder": "搜索...",
    "noResults": "无搜索结果",
    "clear": "清空搜索"
  },
  "form": {
    "required": "必填",
    "optional": "选填",
    "submit": "提交",
    "reset": "重置",
    "cancel": "取消"
  },
  "windowControls": {
    "minimize": "最小化",
    "maximize": "最大化",
    "restore": "还原",
    "close": "关闭"
  },
  "appLayout": {
    "workspaceOpenFailed": "打开工作区失败",
    "projectRequestMessage": "我想创建一个新项目：\n\n{{description}}\n\n请帮我设计项目结构并开始实现。",
    "projectRequestSent": "已将项目需求发送给小方，开始协作创建！",
    "projectRequestSendFailed": "发送项目描述失败，请手动输入",
    "flowChatInitFailed": "初始化失败，请刷新页面重试"
  },
  "bottomBar": {
    "sessions": "Agent 工作台",
    "files": "文件树",
    "terminal": "终端",
    "projectContext": "工程上下文",
    "git": "Git",
    "capabilities": "能力配置",
    "clickToSelectBranch": "点击选择分支",
    "aiWingExpand": "展开 AI 工具",
    "devWingExpand": "展开开发工具"
  },
  "canvas": {
    "noContentOpen": "暂未打开任何内容",
    "filesCount": "{{count}} 个文件",
    "searchPlaceholder": "搜索文件名或路径...",
    "noPreview": "暂无预览内容",
    "groupPrimary": "主",
    "groupSecondary": "次",
    "groupTertiary": "三",
    "groupPrimaryFull": "主分栏",
    "groupSecondaryFull": "次分栏",
    "groupTertiaryFull": "第三分栏",
    "mergeAllGroups": "合并所有分栏",
    "mergeAll": "一键合一",
    "noMatchingFiles": "没有匹配的文件",
    "noOpenFiles": "没有打开的文件",
    "clickToSwitch": "点击卡片切换文件",
    "exit": "退出",
    "openFileLocation": "打开文件位置",
    "pinAsTab": "固定为标签 (Enter)",
    "closeEsc": "关闭 (Esc)",
    "enterToPin": "Enter 固定为标签",
    "escToClose": "Esc 关闭",
    "dragTabHere": "拖拽标签到此处",
    "dragToResize": "拖拽调整大小 | 双击重置",
    "terminal": "终端",
    "dropLeft": "左",
    "dropRight": "右",
    "dropTop": "上",
    "dropBottom": "下",
    "dropCenter": "放置"
  },
  "flexiblePanel": {
    "empty": {
      "title": "暂无内容",
      "description": "选择一个文件或节点来预览内容"
    },
    "unknownContent": {
      "title": "不支持的内容类型",
      "description": "无法预览此类型的内容",
      "contentType": "内容类型：{{type}}"
    },
    "visualizationDisabled": {
      "title": "可视化功能已禁用",
      "description": "工程阅读模式专注于文件浏览和预览"
    },
    "errors": {
      "markdownEditorMissingPath": "无法加载Markdown编辑器：缺少文件路径或初始内容",
      "planViewerMissingPath": "无法加载Plan查看器：缺少文件路径",
      "terminalMissingSessionId": "无法加载终端：缺少会话ID",
      "gitPanelRemoved": "此版本已移除 Git 集成。"
    },
    "placeholder": {
      "architectureLayerViewer": "架构层级查看器功能开发中...",
      "noDiffResult": "没有Diff结果可显示",
      "noModuleChanges": "没有模块变更"
    },
    "actions": {
      "copyContent": "复制内容",
      "downloadContent": "下载内容",
      "close": "关闭"
    },
    "loading": {
      "gitDiff": "加载Git差异...",
      "gitGraph": "加载Git图表...",
      "gitBranchHistory": "加载分支提交历史...",
      "gitSettings": "加载Git设置...",
      "diffView": "加载差异视图...",
      "taskDetail": "加载任务详情...",
      "dependencyGraph": "加载依赖关系图...",
      "planViewer": "加载计划...",
      "terminal": "加载终端..."
    },
    "aiSession": {
      "title": "AI会话: {{sessionId}}",
      "unknown": "未知",
      "sessionStatus": "会话状态:",
      "operationsCount": "操作数量:",
      "operationsValue": "{{count}} 个操作",
      "startTime": "开始时间:",
      "unknownTime": "未知",
      "fileOperations": "文件操作"
    },
    "fallback": {
      "noCodeContent": "无代码内容"
    }
  }
}
