import { dict as en } from "./en"

type Keys = keyof typeof en

export const dict = {
  "command.category.suggested": "建议",
  "command.category.view": "视图",
  "command.category.project": "项目",
  "command.category.provider": "提供商",
  "command.category.server": "服务器",
  "command.category.session": "会话",
  "command.category.theme": "主题",
  "command.category.language": "语言",
  "command.category.file": "文件",
  "command.category.context": "上下文",
  "command.category.terminal": "终端",
  "command.category.model": "模型",
  "command.category.mcp": "MCP",
  "command.category.agent": "智能体",
  "command.category.permissions": "权限",
  "command.category.workspace": "工作区",

  "command.category.settings": "设置",
  "theme.scheme.system": "系统",
  "theme.scheme.light": "浅色",
  "theme.scheme.dark": "深色",

  "command.sidebar.toggle": "切换侧边栏",
  "command.project.open": "打开项目",
  "command.provider.connect": "连接提供商",
  "command.server.switch": "切换服务器",
  "command.settings.open": "打开设置",
  "command.session.previous": "上一个会话",
  "command.session.next": "下一个会话",
  "command.session.previous.unseen": "上一个未读会话",
  "command.session.next.unseen": "下一个未读会话",
  "command.session.archive": "归档会话",

  "command.palette": "命令面板",

  "command.theme.cycle": "切换主题",
  "command.theme.set": "使用主题：{{theme}}",
  "command.theme.scheme.cycle": "切换配色方案",
  "command.theme.scheme.set": "使用配色方案：{{scheme}}",

  "command.language.cycle": "切换语言",
  "command.language.set": "使用语言：{{language}}",

  "command.session.new": "新建会话",
  "command.session.new.task": "新建任务",
  "command.session.show.changes": "显示更改",
  "command.file.open": "打开文件",
  "command.tab.close": "关闭标签页",
  "command.context.addSelection": "将所选内容添加到上下文",
  "command.context.addSelection.description": "添加当前文件中选中的行",
  "command.terminal.toggle": "切换终端",
  "command.fileTree.toggle": "切换文件树",
  "command.review.toggle": "切换审查",
  "command.terminal.new": "新建终端",
  "command.terminal.new.description": "创建新的终端标签页",
  "command.steps.toggle": "切换步骤",
  "command.steps.toggle.description": "显示或隐藏当前消息的步骤",
  "command.message.previous": "上一条消息",
  "command.message.previous.description": "跳转到上一条用户消息",
  "command.message.next": "下一条消息",
  "command.message.next.description": "跳转到下一条用户消息",
  "command.model.choose": "选择模型",
  "command.model.choose.description": "选择不同的模型",
  "command.mcp.toggle": "切换 MCPs",
  "command.mcp.toggle.description": "切换 MCPs",
  "command.agent.cycle": "切换智能体",
  "command.agent.cycle.description": "切换到下一个智能体",
  "command.agent.cycle.reverse": "反向切换智能体",
  "command.agent.cycle.reverse.description": "切换到上一个智能体",
  "command.model.variant.cycle": "切换思考强度",
  "command.model.variant.cycle.description": "切换到下一个强度等级",
  "command.permissions.autoaccept.enable": "自动接受编辑",
  "command.permissions.autoaccept.disable": "停止自动接受编辑",
  "command.workspace.toggle": "切换工作区",
  "command.workspace.toggle.description": "启用或禁用侧边栏中的多工作区",
  "command.session.undo": "撤销",
  "command.session.undo.description": "撤销上一条消息",
  "command.session.redo": "重做",
  "command.session.redo.description": "重做上一条撤销的消息",
  "revert.banner.count_one": "已还原 {{count}} 条消息",
  "revert.banner.count_other": "已还原 {{count}} 条消息",
  "revert.banner.redo": "重做",
  "revert.banner.redo.all": "全部重做",
  "revert.banner.hint": "发送新消息以使此更改永久生效",
  "revert.disabled.agentBusy": "等待智能体完成",
  "command.session.compact": "精简会话",
  "command.session.compact.description": "总结会话以减少上下文大小",
  "command.session.fork": "从消息分叉",
  "command.session.fork.description": "从之前的消息创建新会话",
  "command.session.share": "分享会话",
  "command.session.share.description": "分享此会话并将链接复制到剪贴板",
  "command.session.unshare": "取消分享会话",
  "command.session.unshare.description": "停止分享此会话",
  "command.session.export": "导出会话记录",

  "palette.search.placeholder": "搜索文件、命令和会话",
  "palette.empty": "未找到结果",
  "palette.group.commands": "命令",
  "palette.group.files": "文件",

  "dialog.provider.search.placeholder": "搜索提供商",
  "dialog.provider.empty": "未找到提供商",
  "dialog.provider.group.other": "其他",
  "dialog.provider.tag.recommended": "推荐",

  "dialog.model.select.title": "选择模型",
  "dialog.model.search.placeholder": "搜索模型",
  "dialog.model.empty": "未找到模型",
  "dialog.model.manage": "管理模型",
  "dialog.model.manage.description": "自定义模型选择器中显示的模型。",
  "dialog.model.select": "选择",
  "dialog.model.expand": "展开",
  "dialog.model.collapse": "收起",

  "dialog.model.unpaid.freeModels.title": "Kilo 提供的免费模型",
  "dialog.model.unpaid.addMore.title": "从热门提供商添加更多模型",

  "dialog.provider.viewAll": "查看更多提供商",

  "provider.connect.title": "连接 {{provider}}",
  "provider.connect.title.anthropicProMax": "使用 Claude Pro/Max 登录",
  "provider.connect.selectMethod": "选择 {{provider}} 的登录方式。",
  "provider.connect.method.apiKey": "API 密钥",
  "provider.connect.status.inProgress": "正在授权...",
  "provider.connect.status.waiting": "等待授权...",
  "provider.connect.status.failed": "授权失败：{{error}}",
  "provider.connect.apiKey.description":
    "输入你的 {{provider}} API 密钥以连接帐户，并在 Kilo 中使用 {{provider}} 模型。",
  "provider.connect.apiKey.description.local":
    "Connect to your local {{provider}} server. Leave the API key empty if the server does not require one (default for localhost).",
  "provider.connect.atomicChat.description":
    "Connect to Atomic Chat on your machine (default http://127.0.0.1:1337). No API key is required for the local server — start Atomic Chat, load a model, then connect.",
  "provider.connect.apiKey.label": "{{provider}} API 密钥",
  "provider.connect.apiKey.label.optional": "{{provider}} API key (optional)",
  "provider.connect.apiKey.placeholder": "API 密钥",
  "provider.connect.apiKey.placeholder.optional": "Leave empty for local server",
  "provider.connect.apiKey.required": "API 密钥为必填项",
  "provider.connect.prompt.required": "{{field}} 为必填项",
  "provider.connect.azure.endpointType.label": "选择 Azure 端点配置",
  "provider.connect.azure.endpointType.resourceName.label": "资源名称",
  "provider.connect.azure.endpointType.resourceName.hint": "从您的 Azure 资源名称构建端点",
  "provider.connect.azure.endpointType.baseURL.label": "完整端点 URL",
  "provider.connect.azure.endpointType.baseURL.hint": "使用自定义 Azure OpenAI 端点",
  "provider.connect.azure.resourceName.label": "Azure 资源名称",
  "provider.connect.azure.resourceName.placeholder": "例如：my-models",
  "provider.connect.azure.baseURL.label": "Azure OpenAI 端点 URL",
  "provider.connect.azure.baseURL.placeholder": "例如：https://my-models.openai.azure.com/openai",
  "provider.connect.opencodeZen.line1": "OpenCode Zen 为你提供一组精选的可靠优化模型，用于代码智能体。",
  "provider.connect.opencodeZen.line2": "只需一个 API 密钥，你就能使用 Claude、GPT、Gemini、GLM 等模型。",
  "provider.connect.opencodeZen.visit.prefix": "访问 ",
  "provider.connect.opencodeZen.visit.link": "https://opencode.ai/zen",
  "provider.connect.opencodeZen.visit.suffix": " 获取你的 API 密钥。",
  "provider.connect.oauth.code.visit.prefix": "访问 ",
  "provider.connect.oauth.code.visit.link": "此链接",
  "provider.connect.oauth.code.visit.suffix": " 获取授权码，以连接你的帐户并在 Kilo 中使用 {{provider}} 模型。",
  "provider.connect.oauth.code.label": "{{method}} 授权码",
  "provider.connect.oauth.code.placeholder": "授权码",
  "provider.connect.oauth.code.required": "授权码为必填项",
  "provider.connect.oauth.code.invalid": "授权码无效",
  "provider.connect.oauth.auto.visit.prefix": "访问 ",
  "provider.connect.oauth.auto.visit.link": "此链接",
  "provider.connect.oauth.auto.visit.suffix": " 并输入以下代码，以连接你的帐户并在 Kilo 中使用 {{provider}} 模型。",
  "provider.connect.oauth.auto.confirmationCode": "确认码",
  "provider.connect.toast.connected.title": "{{provider}} 已连接",
  "provider.connect.toast.connected.description": "现在可以使用 {{provider}} 模型了。",

  "provider.disconnect.toast.disconnected.title": "{{provider}} 已断开连接",
  "provider.disconnect.toast.disconnected.description": "{{provider}} 模型已不再可用。",
  "model.tag.free": "免费",
  "model.tag.dataCollected": "数据可能会用于训练",
  "model.tag.latest": "最新",
  "model.group.recommended": "推荐",
  "model.group.favorites": "收藏夹",
  "model.group.collapse": "折叠 {{group}}",
  "model.group.expand": "展开 {{group}}",
  "model.favorite.add": "添加到收藏夹",
  "model.favorite.remove": "从收藏夹中移除",

  "model.provider.anthropic": "Anthropic",
  "model.provider.openai": "OpenAI",
  "model.provider.google": "Google",
  "model.provider.xai": "xAI",
  "model.provider.meta": "Meta",
  "model.input.text": "文本",
  "model.input.image": "图像",
  "model.input.audio": "音频",
  "model.input.video": "视频",
  "model.input.pdf": "pdf",
  "model.tooltip.allows": "支持：{{inputs}}",
  "model.tooltip.reasoning.allowed": "支持推理",
  "model.tooltip.reasoning.none": "不支持推理",
  "model.tooltip.context": "上下文上限 {{limit}}",
  "model.preview.label.released": "发布",
  "model.preview.label.input": "输入",
  "model.preview.label.output": "输出",
  "model.preview.label.cached": "缓存",
  "model.preview.label.average": "预估平均成本",
  "model.preview.label.context": "上下文",
  "model.preview.group.terminalBench": "Terminal Bench 2.0",
  "model.preview.label.completion": "完成率",
  "model.preview.label.costAttempt": "成本 / 次尝试",
  "model.preview.value.notSupported": "不支持",
  "model.preview.tooltip.average": "预估平均成本基于输入、输出和缓存读取 token 的典型比例计算。",
  "model.preview.badge.reasoning": "推理",
  "model.preview.modality.text": "文本",
  "model.preview.modality.image": "图像",
  "model.preview.modality.audio": "音频",
  "model.preview.modality.video": "视频",
  "model.preview.modality.pdf": "PDF",
  "common.search.placeholder": "搜索",
  "common.goBack": "返回",
  "common.goForward": "前进",
  "common.loading": "加载中",
  "common.loading.ellipsis": "...",
  "common.cancel": "取消",
  "common.connect": "连接",
  "common.disconnect": "断开连接",
  "common.submit": "提交",
  "common.save": "保存",
  "common.saving": "保存中...",
  "common.default": "默认",
  "common.attachment": "附件",

  "prompt.placeholder.shell": "输入 shell 命令...",
  "prompt.placeholder.normal": '随便问点什么... "{{example}}"',
  "prompt.placeholder.summarizeComments": "总结评论…",
  "prompt.placeholder.summarizeComment": "总结该评论…",
  "prompt.mode.shell": "Shell",
  "prompt.mode.shell.exit": "按 esc 退出",

  "prompt.example.1": "修复代码库中的一个 TODO",
  "prompt.example.2": "这个项目的技术栈是什么？",
  "prompt.example.3": "修复失败的测试",
  "prompt.example.4": "解释认证是如何工作的",
  "prompt.example.5": "查找并修复安全漏洞",
  "prompt.example.6": "为用户服务添加单元测试",
  "prompt.example.7": "重构这个函数，让它更易读",
  "prompt.example.8": "这个错误是什么意思？",
  "prompt.example.9": "帮我调试这个问题",
  "prompt.example.10": "生成 API 文档",
  "prompt.example.11": "优化数据库查询",
  "prompt.example.12": "添加输入校验",
  "prompt.example.13": "创建一个新的组件用于...",
  "prompt.example.14": "我该如何部署这个项目？",
  "prompt.example.15": "审查我的代码并给出最佳实践建议",
  "prompt.example.16": "为这个函数添加错误处理",
  "prompt.example.17": "解释这个正则表达式",
  "prompt.example.18": "把它转换成 TypeScript",
  "prompt.example.19": "在整个代码库中添加日志",
  "prompt.example.20": "哪些依赖已经过期？",
  "prompt.example.21": "帮我写一个迁移脚本",
  "prompt.example.22": "为这个接口实现缓存",
  "prompt.example.23": "给这个列表添加分页",
  "prompt.example.24": "创建一个 CLI 命令用于...",
  "prompt.example.25": "这里的环境变量是怎么工作的？",

  "prompt.popover.emptyResults": "没有匹配的结果",
  "prompt.popover.emptyCommands": "没有匹配的命令",
  "prompt.dropzone.label": "将图片或 PDF 拖到这里",
  "prompt.slash.badge.custom": "自定义",
  "prompt.slash.badge.skill": "技能",
  "prompt.slash.badge.mcp": "mcp",
  "prompt.context.active": "当前",
  "prompt.context.includeActiveFile": "包含当前文件",
  "prompt.context.removeActiveFile": "从上下文移除活动文件",
  "prompt.context.removeFile": "从上下文移除文件",
  "prompt.action.attachFile": "附加文件",
  "prompt.action.indexing": "索引设置",
  "prompt.action.autoApprove.enable": "启用自动审批",
  "prompt.action.autoApprove.disable": "禁用自动审批",
  "prompt.action.autoApprove.enabled": "自动审批已启用。权限请求将自动获批。",
  "prompt.action.autoApprove.disabled": "自动审批已禁用。点击以自动批准权限请求。",
  "prompt.attachment.remove": "移除附件",
  "prompt.action.send": "发送",
  "prompt.action.send.blocked": "请先回答或忽略待处理的问题",
  "prompt.action.send.recording": "转录并发送",
  "prompt.action.stop": "停止",
  "prompt.action.enhance": "优化提示词",
  "prompt.action.resetModel": "重置模型为默认值",
  "prompt.action.enhanceDescription":
    "'增强提示'按钮通过提供额外上下文、澄清或重新表述来帮助改进您的请求。尝试在此处输入请求，然后再次点击按钮查看其工作原理。",

  "speechToText.tooltip.start": "使用 Kilo Gateway 开始语音输入",
  "speechToText.tooltip.stop": "停止捕获音频",
  "speechToText.tooltip.transcribing": "正在转录... 点击取消。",
  "speechToText.tooltip.error": "语音输入失败。点击清除。",
  "speechToText.error.title": "语音输入失败",
  "speechToText.error.loginRequired": "登录 Kilo 以使用语音输入。",
  "speechToText.error.permission": "麦克风权限被拒绝。",
  "speechToText.error.microphone": "无法启动麦克风。",
  "speechToText.error.recording": "录音失败。",
  "speechToText.error.emptyRecording": "未录制任何音频。",
  "speechToText.error.emptyTranscript": "未检测到语音。",
  "speechToText.error.encoding": "无法编码录音。",
  "speechToText.toast.transcribed": "已插入转录文本",

  "prompt.toast.pasteUnsupported.title": "不支持的粘贴",
  "prompt.toast.pasteUnsupported.description": "这里只能粘贴图片或 PDF 文件。",
  "prompt.toast.modelAgentRequired.title": "请选择智能体和模型",
  "prompt.toast.modelAgentRequired.description": "发送提示前请先选择智能体和模型。",
  "prompt.toast.worktreeCreateFailed.title": "创建工作树失败",
  "prompt.toast.sessionCreateFailed.title": "创建会话失败",
  "prompt.toast.shellSendFailed.title": "发送 shell 命令失败",
  "prompt.toast.commandSendFailed.title": "发送命令失败",
  "prompt.toast.promptSendFailed.title": "发送提示失败",

  "dialog.mcp.title": "MCPs",
  "dialog.mcp.description": "已启用 {{enabled}} / {{total}}",
  "dialog.mcp.empty": "未配置 MCPs",

  "dialog.lsp.empty": "已从文件类型自动检测到 LSPs",
  "dialog.plugins.empty": "在 opencode.json 中配置的插件",

  "mcp.status.connected": "已连接",
  "mcp.status.failed": "失败",
  "mcp.status.needs_auth": "需要授权",
  "mcp.status.needs_registration": "需要客户端注册",
  "mcp.status.disabled": "已禁用",

  "dialog.fork.empty": "没有可用于分叉的消息",

  "dialog.directory.search.placeholder": "搜索文件夹",
  "dialog.directory.empty": "未找到文件夹",

  "dialog.server.title": "服务器",
  "dialog.server.description": "切换此应用连接的 Kilo 服务器。",
  "dialog.server.search.placeholder": "搜索服务器",
  "dialog.server.empty": "暂无服务器",
  "dialog.server.add.title": "添加服务器",
  "dialog.server.add.url": "服务器 URL",
  "dialog.server.add.placeholder": "http://localhost:4096",
  "dialog.server.add.error": "无法连接到服务器",
  "dialog.server.add.checking": "检查中...",
  "dialog.server.add.button": "添加服务器",
  "dialog.server.default.title": "默认服务器",
  "dialog.server.default.description": "应用启动时连接此服务器，而不是启动本地服务器。需要重启。",
  "dialog.server.default.none": "未选择服务器",
  "dialog.server.default.set": "将当前服务器设为默认",
  "dialog.server.default.clear": "清除",
  "dialog.server.action.remove": "移除服务器",

  "dialog.server.menu.edit": "编辑",
  "dialog.server.menu.default": "设为默认",
  "dialog.server.menu.defaultRemove": "取消默认",
  "dialog.server.menu.delete": "删除",
  "dialog.server.current": "当前服务器",
  "dialog.server.status.default": "默认",

  "dialog.project.edit.title": "编辑项目",
  "dialog.project.edit.name": "名称",
  "dialog.project.edit.icon": "图标",
  "dialog.project.edit.icon.alt": "项目图标",
  "dialog.project.edit.icon.hint": "点击或拖拽图片",
  "dialog.project.edit.icon.recommended": "建议：128x128px",
  "dialog.project.edit.color": "颜色",
  "dialog.project.edit.color.select": "选择{{color}}颜色",

  "dialog.project.edit.worktree.startup": "工作区启动脚本",
  "dialog.project.edit.worktree.startup.description": "在创建新的工作区 (worktree) 后运行。",
  "dialog.project.edit.worktree.startup.placeholder": "例如 bun install",
  "context.breakdown.title": "上下文拆分",
  "context.breakdown.note": "输入 token 的大致拆分。“其他”包含工具定义和开销。",
  "context.breakdown.system": "系统",
  "context.breakdown.user": "用户",
  "context.breakdown.assistant": "助手",
  "context.breakdown.tool": "工具调用",
  "context.breakdown.other": "其他",

  "context.systemPrompt.title": "系统提示词",
  "context.rawMessages.title": "原始消息",

  "context.stats.session": "会话",
  "context.stats.messages": "消息数",
  "context.stats.provider": "提供商",
  "context.stats.model": "模型",
  "context.stats.limit": "上下文限制",
  "context.stats.totalTokens": "总 token",
  "context.stats.usage": "使用率",
  "context.stats.inputTokens": "输入 token",
  "context.stats.outputTokens": "输出 token",
  "context.stats.reasoningTokens": "推理 token",
  "context.stats.cacheTokens": "缓存 token（读/写）",
  "context.stats.userMessages": "用户消息",
  "context.stats.assistantMessages": "助手消息",
  "context.stats.totalCost": "总成本",
  "context.stats.sessionCreated": "创建时间",
  "context.stats.lastActivity": "最后活动",

  "context.usage.tokens": "Token",
  "context.usage.usage": "使用率",
  "context.usage.cost": "成本",
  "context.usage.clickToView": "点击查看上下文",
  "context.usage.view": "查看上下文用量",

  "toast.language.title": "语言",
  "toast.language.description": "已切换到{{language}}",
  "language.en": "English",
  "language.zh": "简体中文",
  "language.zht": "繁體中文",
  "language.ko": "한국어",
  "language.de": "Deutsch",
  "language.es": "Español",
  "language.fr": "Français",
  "language.da": "Dansk",
  "language.ja": "日本語",
  "language.pl": "Polski",
  "language.ru": "Русский",
  "language.ar": "العربية",
  "language.no": "Norsk",
  "language.br": "Português (Brasil)",
  "language.bs": "Bosanski",
  "language.th": "ไทย",
  "language.tr": "Türkçe",

  "toast.theme.title": "主题已切换",
  "toast.scheme.title": "颜色方案",

  "toast.workspace.enabled.title": "工作区已启用",
  "toast.workspace.enabled.description": "侧边栏现在显示多个工作树",
  "toast.workspace.disabled.title": "工作区已禁用",
  "toast.workspace.disabled.description": "侧边栏只显示主工作树",

  "toast.permissions.autoaccept.on.title": "自动接受编辑",
  "toast.permissions.autoaccept.on.description": "编辑和写入权限将自动获批",
  "toast.permissions.autoaccept.off.title": "已停止自动接受编辑",
  "toast.permissions.autoaccept.off.description": "编辑和写入权限将需要手动批准",

  "toast.model.none.title": "未选择模型",
  "toast.model.none.description": "请先连接提供商以总结此会话",

  "toast.file.loadFailed.title": "加载文件失败",

  "toast.file.listFailed.title": "列出文件失败",
  "toast.context.noLineSelection.title": "未选择行",
  "toast.context.noLineSelection.description": "请先在文件标签中选择行范围。",
  "toast.session.share.copyFailed.title": "无法复制链接到剪贴板",
  "toast.session.share.success.title": "会话已分享",
  "toast.session.share.success.description": "分享链接已复制到剪贴板",
  "toast.session.share.failed.title": "分享会话失败",
  "toast.session.share.failed.description": "分享会话时发生错误",

  "toast.session.unshare.success.title": "已取消分享会话",
  "toast.session.unshare.success.description": "会话已成功取消分享",
  "toast.session.unshare.failed.title": "取消分享失败",
  "toast.session.unshare.failed.description": "取消分享会话时发生错误",

  "toast.session.rename.invalid.title": "无效的会话标题",
  "toast.session.listFailed.title": "无法加载 {{project}} 的会话",

  "toast.update.title": "有可用更新",
  "toast.update.description": "Kilo 有新版本 ({{version}}) 可安装。",
  "toast.update.action.installRestart": "安装并重启",
  "toast.update.action.notYet": "稍后",

  "error.page.title": "出了点问题",
  "error.page.description": "加载应用程序时发生错误。",
  "error.page.details.label": "错误详情",
  "error.page.action.restart": "重启",
  "error.page.action.checking": "检查中...",
  "error.page.action.checkUpdates": "检查更新",
  "error.page.action.updateTo": "更新到 {{version}}",
  "error.page.report.prefix": "请将此错误报告给 Kilo 团队",
  "error.page.report.discord": "在 Discord 上",
  "error.page.version": "版本：{{version}}",

  "error.dev.rootNotFound": "未找到根元素。你是不是忘了把它添加到 index.html？或者 id 属性拼写错了？",

  "error.globalSync.connectFailed": "无法连接到服务器。是否有服务器正在 `{{url}}` 运行？",

  "error.startup.title": "服务器连接失败",

  "error.paidModel.title": "您需要登录才能使用此模型",
  "error.paidModel.description": "登录或创建账户以访问500多个模型，按成本使用积分，或使用您自己的密钥。",
  "error.paidModel.action": "登录",
  "error.promotionLimit.title": "您需要注册才能继续",
  "error.promotionLimit.description": "免费注册以继续探索500多个模型。只需2分钟，无需信用卡。或稍后再来。",
  "error.promotionLimit.action": "注册",
  "error.providerAuth.title": "{{provider}} 已将您登出",
  "error.providerAuth.description": "请重新连接 {{provider}}，然后再次发送消息。",
  "error.providerAuth.chatgpt.title": "OpenAI 已将您登出",
  "error.providerAuth.chatgpt.description": "请再次登录 ChatGPT，然后重新发送消息以继续使用 Codex 模型。",

  "error.chain.unknown": "未知错误",
  "error.chain.causedBy": "原因：",
  "error.chain.apiError": "API 错误",
  "error.chain.status": "状态：{{status}}",
  "error.chain.retryable": "可重试：{{retryable}}",
  "error.chain.responseBody": "响应内容：\n{{body}}",
  "error.chain.didYouMean": "你是不是想输入：{{suggestions}}",
  "error.chain.modelNotFound": "未找到模型：{{provider}}/{{model}}",
  "error.chain.checkConfig": "请检查你的配置 (opencode.json) 中的 provider/model 名称",
  "error.chain.mcpFailed": 'MCP 服务器 "{{name}}" 启动失败。注意: Kilo 暂不支持 MCP 认证。',
  "error.chain.providerAuthFailed": "提供商认证失败（{{provider}}）：{{message}}",
  "error.chain.providerInitFailed": '无法初始化提供商 "{{provider}}"。请检查凭据和配置。',
  "error.chain.configJsonInvalid": "配置文件 {{path}} 不是有效的 JSON(C)",
  "error.chain.configJsonInvalidWithMessage": "配置文件 {{path}} 不是有效的 JSON(C)：{{message}}",
  "error.chain.configDirectoryTypo":
    '{{path}} 中的目录 "{{dir}}" 无效。请将目录重命名为 "{{suggestion}}" 或移除它。这是一个常见拼写错误。',
  "error.chain.configFrontmatterError": "无法解析 {{path}} 中的 frontmatter：\n{{message}}",
  "error.chain.configInvalid": "配置文件 {{path}} 无效",
  "error.chain.configInvalidWithMessage": "配置文件 {{path}} 无效：{{message}}",

  "notification.permission.title": "需要权限",
  "notification.permission.titleSubagent": "需要权限（子代理）",
  "notification.permission.description": "{{sessionTitle}}（{{projectName}}）需要权限",
  "ui.permission.manageAutoApprove": "管理自动审批规则",
  "ui.permission.doomLoop.prompt": "检测到 {{tool}} 工具可能陷入循环。是否继续运行？",
  "ui.permission.doomLoop.rule": "继续调用 {{tool}}",
  "ui.permission.rule.addToAllowed": "添加到允许列表",
  "ui.permission.rule.removeFromAllowed": "从允许列表移除",
  "ui.permission.rule.addToDenied": "添加到拒绝列表",
  "ui.permission.rule.removeFromDenied": "从拒绝列表移除",
  "ui.permission.toolLabel.read": "读取",
  "ui.permission.toolLabel.edit": "编辑",
  "ui.permission.toolLabel.write": "写入",
  "ui.permission.toolLabel.patch": "补丁",
  "ui.permission.toolLabel.globSearch": "Glob搜索",
  "ui.permission.toolLabel.grepSearch": "Grep搜索",
  "ui.permission.toolLabel.webSearch": "Web搜索",
  "ui.permission.toolLabel.list": "列出",
  "ui.permission.toolLabel.externalDirectory": "读取外部目录",
  "ui.permission.toolLabel.webFetch": "Web获取",
  "ui.permission.toolLabel.task": "任务",
  "ui.permission.toolLabel.skill": "技能",
  "ui.permission.toolLabel.lsp": "LSP",
  "ui.permission.toolLabel.bash": "Bash",
  "ui.permission.toolLabel.todoRead": "读取待办",
  "ui.permission.toolLabel.todoWrite": "更新待办",
  "ui.permission.toolLabel.codeSearch": "代码搜索",
  "ui.permission.toggleWrap": "切换自动换行",
  "ui.permission.copyCommand": "复制",
  "notification.question.title": "问题",
  "notification.question.description": "{{sessionTitle}}（{{projectName}}）有一个问题",
  "notification.action.goToSession": "前往会话",

  "notification.session.responseReady.title": "回复已就绪",
  "notification.session.error.title": "会话错误",
  "notification.session.error.fallbackDescription": "发生错误",

  "home.recentProjects": "最近项目",
  "home.empty.title": "没有最近项目",
  "home.empty.description": "通过打开本地项目开始使用",

  "session.tab.session": "会话",
  "session.tab.review": "审查",
  "session.tab.context": "上下文",
  "session.panel.reviewAndFiles": "审查和文件",
  "session.review.filesChanged": "{{count}} 个文件变更",
  "session.review.change.one": "更改",
  "session.review.change.other": "更改",
  "session.review.loadingChanges": "正在加载更改...",
  "session.review.empty": "此会话暂无更改",
  "session.review.noChanges": "无更改",
  "session.files.selectToOpen": "选择要打开的文件",
  "session.files.all": "所有文件",
  "session.files.binaryContent": "二进制文件（无法显示内容）",
  "session.messages.renderEarlier": "显示更早的消息",
  "session.messages.loadingEarlier": "正在加载更早的消息...",
  "session.messages.loadEarlier": "加载更早的消息",
  "session.messages.loading": "正在加载消息...",

  "session.messages.jumpToLatest": "跳转到最新",
  "session.context.addToContext": "将 {{selection}} 添加到上下文",

  "session.new.worktree.main": "主分支",
  "session.new.worktree.mainWithBranch": "主分支（{{branch}}）",
  "session.new.worktree.create": "创建新的 worktree",
  "session.new.lastModified": "最后修改",
  "sidebar.session.newSession": "新会话",
  "sidebar.session.newSession.tooltip": "在保持当前会话完整的同时开始全新的对话。",
  "sidebar.session.newSession.disabled": "此会话已经是新的。请开始聊天或创建一个 worktree。",
  "sidebar.session.newWorktree": "新 Worktree",
  "sidebar.session.newWorktree.tooltip":
    "创建一个隔离的 git worktree 以安全地进行实验、保持更改分离并在不中断当前分支的情况下运行并行会话。",
  "sidebar.session.configureWorktree.tooltip":
    "打开 Agent Manager 的 worktree 对话框，以便在创建之前配置新的 worktree。",
  "sidebar.session.newWorktree.from": "新 Worktree 来源：",
  "sidebar.session.currentBranch": "当前分支",
  "sidebar.session.moveToWorktree": "移动到 Worktree",
  "sidebar.session.moveToWorktree.tooltip.empty":
    "将此对话和您当前的本地更改移动到专用的 worktree 中，以便进行隔离的后续工作。",
  "sidebar.session.moveToWorktree.tooltip.one":
    "将此对话和 1 个更改的文件移动到专用的 worktree 中，以便进行隔离的后续工作。",
  "sidebar.session.moveToWorktree.tooltip.other":
    "将此对话和 {{files}} 个更改的文件移动到专用的 worktree 中，以便进行隔离的后续工作。",
  "sidebar.session.showChanges.tooltip.empty": "打开更改视图以检查当前工作树。",
  "sidebar.session.showChanges.tooltip.one": "1 个文件已更改 · +{{additions}} -{{deletions}}。打开更改视图。",
  "sidebar.session.showChanges.tooltip.other": "{{files}} 个文件已更改 · +{{additions}} -{{deletions}}。打开更改视图。",
  "sidebar.session.agentManager.tooltip":
    "打开 Agent Manager 以全面了解并行会话和 worktree，让您可以在一个地方协调长期运行的任务。",
  "sidebar.session.openAgentManager": "打开 Agent Manager",
  "sidebar.session.progress.capturing": "正在捕获更改...",
  "sidebar.session.progress.creating": "正在创建 worktree...",
  "sidebar.session.progress.setup": "正在运行设置...",
  "sidebar.session.progress.transferring": "正在传输更改...",
  "sidebar.session.progress.forking": "正在启动会话...",
  "sidebar.session.progress.failed": "在 worktree 中继续失败",
  "session.header.search.placeholder": "搜索 {{project}}",
  "session.header.searchFiles": "搜索文件",
  "session.header.openIn": "打开方式",
  "session.header.open.action": "在 {{app}} 中打开",
  "session.header.open.ariaLabel": "在 {{app}} 中打开",
  "session.header.open.menu": "打开选项",
  "session.header.open.copyPath": "复制路径",

  "status.popover.trigger": "状态",
  "status.popover.ariaLabel": "服务器配置",
  "status.popover.tab.servers": "服务器",
  "status.popover.tab.mcp": "MCP",
  "status.popover.tab.lsp": "LSP",
  "status.popover.tab.plugins": "插件",
  "status.popover.action.manageServers": "管理服务器",

  "session.share.popover.title": "发布到网页",
  "session.share.popover.description.shared": "此会话已在网页上公开。任何拥有链接的人都可以访问。",
  "session.share.popover.description.unshared": "在网页上公开分享此会话。任何拥有链接的人都可以访问。",
  "session.share.action.share": "分享",
  "session.share.action.publish": "发布",
  "session.share.action.publishing": "正在发布...",
  "session.share.action.unpublish": "取消发布",
  "session.share.action.unpublishing": "正在取消发布...",
  "session.share.action.view": "查看",
  "session.share.copy.copied": "已复制",
  "session.share.copy.copyLink": "复制链接",

  "lsp.tooltip.none": "没有 LSP 服务器",
  "lsp.label.connected": "{{count}} LSP",

  "prompt.loading": "正在加载提示...",
  "terminal.loading": "正在加载终端...",
  "terminal.title": "终端",
  "terminal.title.numbered": "终端 {{number}}",
  "terminal.close": "关闭终端",

  "terminal.connectionLost.title": "连接已丢失",
  "terminal.connectionLost.description": "终端连接已中断。这可能发生在服务器重启时。",
  "common.closeTab": "关闭标签页",
  "common.signIn": "登录",
  "common.signOut": "退出登录",
  "common.dismiss": "忽略",
  "common.requestFailed": "请求失败",
  "common.moreOptions": "更多选项",
  "common.learnMore": "了解更多",
  "common.rename": "重命名",
  "common.reset": "重置",
  "common.archive": "归档",
  "common.delete": "删除",
  "common.close": "关闭",
  "common.edit": "编辑",
  "common.loadMore": "加载更多",

  "common.key.esc": "ESC",
  "sidebar.menu.toggle": "切换菜单",
  "sidebar.nav.projectsAndSessions": "项目和会话",
  "sidebar.settings": "设置",
  "sidebar.help": "帮助",
  "sidebar.workspaces.enable": "启用工作区",
  "sidebar.workspaces.disable": "禁用工作区",
  "sidebar.gettingStarted.title": "入门",
  "sidebar.gettingStarted.line1": "Kilo 提供免费模型，你可以立即开始使用。",
  "sidebar.gettingStarted.line2": "连接任意提供商即可使用更多模型，如 Claude、GPT、Gemini 等。",
  "sidebar.project.recentSessions": "最近会话",
  "sidebar.project.viewAllSessions": "查看全部会话",

  "app.name.desktop": "Kilo Desktop",
  "settings.section.desktop": "桌面",
  "settings.section.server": "服务器",
  "settings.tab.general": "通用",
  "settings.tab.shortcuts": "快捷键",

  "settings.general.section.appearance": "外观",
  "settings.general.section.notifications": "系统通知",
  "settings.general.section.updates": "更新",
  "settings.general.section.sounds": "音效",

  "settings.general.row.language.title": "语言",
  "settings.general.row.language.description": "更改 Kilo 的显示语言",
  "settings.general.row.appearance.title": "外观",
  "settings.general.row.appearance.description": "自定义 Kilo 在你的设备上的外观",
  "settings.general.row.theme.title": "主题",
  "settings.general.row.theme.description": "自定义 Kilo 的主题。",
  "settings.general.row.font.title": "字体",
  "settings.general.row.font.description": "自定义代码块使用的等宽字体",
  "settings.general.row.releaseNotes.title": "发行说明",
  "settings.general.row.releaseNotes.description": "更新后显示“新功能”弹窗",

  "settings.updates.row.startup.title": "启动时检查更新",
  "settings.updates.row.startup.description": "在 Kilo 启动时自动检查更新",
  "settings.updates.row.check.title": "检查更新",
  "settings.updates.row.check.description": "手动检查更新并在有更新时安装",
  "settings.updates.action.checkNow": "立即检查",
  "settings.updates.action.checking": "正在检查...",
  "settings.updates.toast.latest.title": "已是最新版本",
  "settings.updates.toast.latest.description": "你正在使用最新版本的 Kilo。",

  "font.option.ibmPlexMono": "IBM Plex Mono",
  "font.option.cascadiaCode": "Cascadia Code",
  "font.option.firaCode": "Fira Code",
  "font.option.hack": "Hack",
  "font.option.inconsolata": "Inconsolata",
  "font.option.intelOneMono": "Intel One Mono",
  "font.option.iosevka": "Iosevka",
  "font.option.jetbrainsMono": "JetBrains Mono",
  "font.option.mesloLgs": "Meslo LGS",
  "font.option.robotoMono": "Roboto Mono",
  "font.option.sourceCodePro": "Source Code Pro",
  "font.option.ubuntuMono": "Ubuntu Mono",
  "sound.option.alert01": "警报 01",
  "sound.option.alert02": "警报 02",
  "sound.option.alert03": "警报 03",
  "sound.option.alert04": "警报 04",
  "sound.option.alert05": "警报 05",
  "sound.option.alert06": "警报 06",
  "sound.option.alert07": "警报 07",
  "sound.option.alert08": "警报 08",
  "sound.option.alert09": "警报 09",
  "sound.option.alert10": "警报 10",
  "sound.option.bipbop01": "哔啵 01",
  "sound.option.bipbop02": "哔啵 02",
  "sound.option.bipbop03": "哔啵 03",
  "sound.option.bipbop04": "哔啵 04",
  "sound.option.bipbop05": "哔啵 05",
  "sound.option.bipbop06": "哔啵 06",
  "sound.option.bipbop07": "哔啵 07",
  "sound.option.bipbop08": "哔啵 08",
  "sound.option.bipbop09": "哔啵 09",
  "sound.option.bipbop10": "哔啵 10",
  "sound.option.staplebops01": "斯泰普博普斯 01",
  "sound.option.staplebops02": "斯泰普博普斯 02",
  "sound.option.staplebops03": "斯泰普博普斯 03",
  "sound.option.staplebops04": "斯泰普博普斯 04",
  "sound.option.staplebops05": "斯泰普博普斯 05",
  "sound.option.staplebops06": "斯泰普博普斯 06",
  "sound.option.staplebops07": "斯泰普博普斯 07",
  "sound.option.nope01": "否 01",
  "sound.option.nope02": "否 02",
  "sound.option.nope03": "否 03",
  "sound.option.nope04": "否 04",
  "sound.option.nope05": "否 05",
  "sound.option.nope06": "否 06",
  "sound.option.nope07": "否 07",
  "sound.option.nope08": "否 08",
  "sound.option.nope09": "否 09",
  "sound.option.nope10": "否 10",
  "sound.option.nope11": "否 11",
  "sound.option.nope12": "否 12",
  "sound.option.yup01": "是 01",
  "sound.option.yup02": "是 02",
  "sound.option.yup03": "是 03",
  "sound.option.yup04": "是 04",
  "sound.option.yup05": "是 05",
  "sound.option.yup06": "是 06",
  "settings.general.notifications.agent.title": "智能体",
  "settings.general.notifications.agent.description": "当智能体完成或需要注意时显示系统通知",
  "settings.general.notifications.permissions.title": "权限",
  "settings.general.notifications.permissions.description": "当需要权限时显示系统通知",
  "settings.general.notifications.errors.title": "错误",
  "settings.general.notifications.errors.description": "发生错误时显示系统通知",

  "settings.general.sounds.agent.title": "智能体",
  "settings.general.sounds.agent.description": "当智能体完成或需要注意时播放声音",
  "settings.general.sounds.permissions.title": "权限",
  "settings.general.sounds.permissions.description": "当需要权限时播放声音",
  "settings.general.sounds.errors.title": "错误",
  "settings.general.sounds.errors.description": "发生错误时播放声音",

  "settings.indexing.title": "索引",
  "settings.indexing.enable.title": "启用索引",
  "settings.indexing.enable.description": "打开或关闭语义代码库索引。",
  "settings.indexing.globalEnable.title": "全局启用",
  "settings.indexing.globalEnable.description": "为每个工作区启用索引。",
  "settings.indexing.projectEnable.title": "为此项目启用",
  "settings.indexing.projectEnable.description": "当全局索引关闭时，为此工作区启用索引。",
  "settings.indexing.projectEnable.disabledTooltip": "全局索引已启用，当前项目已包含在内。",
  "settings.indexing.provider.title": "嵌入提供商",
  "settings.indexing.provider.description": "选择用于生成语义搜索嵌入的提供商。",
  "settings.indexing.kiloModel.title": "Kilo 模型预设",
  "settings.indexing.kiloModel.description": "选择受支持的 Kilo 托管嵌入模型。",
  "settings.indexing.kiloSignIn.title": "需要登录 Kilo",
  "settings.indexing.kiloSignIn.description": "登录 Kilo 以使用托管嵌入。",
  "settings.indexing.model.title": "嵌入模型",
  "settings.indexing.model.description": "覆盖所选提供商的默认嵌入模型。",
  "settings.indexing.vectorStore.title": "向量存储",
  "settings.indexing.vectorStore.description": "选择索引嵌入的存储位置。",
  "settings.indexing.lancedbDirectory.title": "LanceDB 目录",
  "settings.indexing.lancedbDirectory.description": "本地 LanceDB 存储的可选目录。",
  "settings.indexing.lancedbDirectory.placeholder": "留空使用默认值",
  "settings.indexing.qdrantUrl.title": "Qdrant URL",
  "settings.indexing.qdrantUrl.description": "Qdrant 实例的服务器 URL。",
  "settings.indexing.qdrantApiKey.title": "Qdrant API 密钥",
  "settings.indexing.qdrantApiKey.description": "Qdrant 实例的可选 API 密钥。",
  "settings.indexing.qdrantApiKey.placeholder": "可选 API 密钥",
  "settings.indexing.dimension.title": "向量维度",
  "settings.indexing.dimension.description": "留空以从模型自动检测嵌入维度。",
  "settings.indexing.dimension.placeholder": "自动",
  "settings.indexing.tuning.description": "高级搜索和批处理参数。",
  "settings.indexing.status.title": "状态",
  "settings.indexing.providerField.description": "提供商特定的连接设置。",

  "settings.shortcuts.title": "键盘快捷键",
  "settings.shortcuts.reset.button": "重置为默认值",
  "settings.shortcuts.reset.toast.title": "快捷键已重置",
  "settings.shortcuts.reset.toast.description": "键盘快捷键已重置为默认设置。",
  "settings.shortcuts.conflict.title": "快捷键已被占用",
  "settings.shortcuts.conflict.description": "{{keybind}} 已分配给 {{titles}}。",
  "settings.shortcuts.unassigned": "未设置",
  "settings.shortcuts.pressKeys": "按下按键",
  "settings.shortcuts.search.placeholder": "搜索快捷键",
  "settings.shortcuts.search.empty": "未找到快捷键",

  "settings.shortcuts.group.general": "通用",
  "settings.shortcuts.group.session": "会话",
  "settings.shortcuts.group.navigation": "导航",
  "settings.shortcuts.group.modelAndAgent": "模型与智能体",
  "settings.shortcuts.group.terminal": "终端",
  "settings.shortcuts.group.prompt": "提示",

  "settings.providers.title": "提供商",
  "settings.providers.description": "提供商设置将在此处可配置。",
  "settings.providers.betaNotice":
    "目前只能在设置界面中配置 Kilo Gateway 提供商。在 Beta 测试期间即将支持配置其他提供商。在此期间，您可以使用 CLI 或配置文件来配置提供商。我们致力于保持 Kilo 开放，无锁定。",
  "settings.providers.section.connected": "已连接的提供商",
  "settings.providers.connected.empty": "没有已连接的提供商",
  "settings.providers.section.popular": "热门提供商",
  "settings.providers.search.placeholder": "搜索提供商",
  "settings.providers.select.placeholder": "选择提供商...",
  "settings.providers.tag.gateway": "Gateway",
  "settings.providers.tag.environment": "环境",
  "settings.providers.tag.config": "配置",
  "settings.providers.tag.chatgpt": "ChatGPT",
  "settings.providers.tag.custom": "自定义",
  "settings.providers.tag.other": "其他",
  "settings.providers.tag.customProvider": "自定义提供商",
  "settings.providers.connected.environmentDescription": "从您的环境变量连接",
  "settings.providers.action.signInChatGPT": "使用 ChatGPT 登录",
  "settings.providers.custom.description": "通过基础 URL 添加 OpenAI 兼容的提供商。",
  "settings.providers.subagentModel.title": "子代理模型",
  "settings.providers.subagentModel.description": "task-tool 子代理的默认模型和推理工作量。留空以继承调用代理的模型。",
  "settings.models.hidePromptTraining.title": "隐藏使用提示词训练的模型",
  "settings.models.hidePromptTraining.description": "隐藏提供商可能会使用您的提示词进行训练的 Kilo Gateway 模型。",
  "settings.providers.modeModels": "按模式选择模型",
  "settings.providers.custom.note": "通过 Base URL 添加 OpenAI 兼容提供商。",
  "settings.providers.modeModels.description": "为特定模式覆盖默认模型。如果未设置，将使用全局默认模型。",
  "provider.custom.title": "自定义提供商",
  "provider.custom.description.prefix": "配置 OpenAI 兼容的提供商。请参阅",
  "provider.custom.description.link": "提供商配置文档",
  "provider.custom.description.suffix": "。",
  "provider.custom.field.providerID.label": "提供商 ID",
  "provider.custom.field.providerID.placeholder": "myprovider",
  "provider.custom.field.providerID.description": "小写字母、数字、连字符或下划线",
  "provider.custom.field.name.label": "显示名称",
  "provider.custom.field.name.placeholder": "我的 AI 提供商",
  "provider.custom.field.package.label": "Provider API",
  "provider.custom.field.baseURL.label": "基础 URL",
  "provider.custom.field.baseURL.placeholder": "https://api.myprovider.com/v1",
  "provider.custom.field.apiKey.label": "API 密钥",
  "provider.custom.field.apiKey.placeholder": "API 密钥",
  "provider.custom.field.apiKey.description": "可选。如果您通过请求头管理认证，请留空。",
  "provider.custom.models.label": "模型",
  "provider.custom.models.id.label": "ID",
  "provider.custom.models.id.placeholder": "model-id",
  "provider.custom.models.name.label": "名称",
  "provider.custom.models.name.placeholder": "显示名称",
  "provider.custom.models.reasoning.label": "推理",
  "provider.custom.models.variants.label": "变体",
  "provider.custom.models.variants.add": "添加变体",
  "provider.custom.models.variants.remove": "移除变体",
  "provider.custom.models.variants.name.label": "名称",
  "provider.custom.models.variants.name.placeholder": "例如 thinking",
  "provider.custom.models.variants.option.unset": "（未设置）",
  "provider.custom.models.variants.enableThinking.label": "启用思考 (例如 Alibaba)",
  "provider.custom.models.variants.enableThinking.placeholder": "enable_thinking",
  "provider.custom.models.variants.enableThinking.true": "true",
  "provider.custom.models.variants.enableThinking.false": "false",
  "provider.custom.models.variants.thinking.label": "思考类型 (例如 Z.ai)",
  "provider.custom.models.variants.thinking.placeholder": "thinking",
  "provider.custom.models.variants.thinking.enabled": "enabled",
  "provider.custom.models.variants.thinking.disabled": "disabled",
  "provider.custom.models.variants.thinking.adaptive": "adaptive",
  "provider.custom.models.variants.splitReasoning.label": "Split reasoning (required for e.g. MiniMax)",
  "provider.custom.models.variants.splitReasoning.placeholder": "reasoning_split",
  "provider.custom.models.variants.splitReasoning.true": "true",
  "provider.custom.models.variants.splitReasoning.false": "false",
  "provider.custom.models.variants.chatTemplateArgs.label": "通过聊天模板参数启用思考（如 Hugging Face）",
  "provider.custom.models.variants.chatTemplateArgs.placeholder": "chat_template_args",
  "provider.custom.models.variants.chatTemplateArgs.true": "true",
  "provider.custom.models.variants.chatTemplateArgs.false": "false",
  "provider.custom.models.variants.reasoningEffort.label": "推理强度",
  "provider.custom.models.variants.reasoningEffort.placeholder": "reasoningEffort",
  "provider.custom.models.variants.reasoningEffort.none": "none",
  "provider.custom.models.variants.reasoningEffort.minimal": "minimal",
  "provider.custom.models.variants.reasoningEffort.low": "low",
  "provider.custom.models.variants.reasoningEffort.medium": "medium",
  "provider.custom.models.variants.reasoningEffort.high": "high",
  "provider.custom.models.variants.reasoningEffort.xhigh": "xhigh",
  "provider.custom.models.variants.outputEffort.label": "Output effort (e.g. Anthropic)",
  "provider.custom.models.variants.outputEffort.placeholder": "effort",
  "provider.custom.models.variants.outputEffort.low": "low",
  "provider.custom.models.variants.outputEffort.medium": "medium",
  "provider.custom.models.variants.outputEffort.high": "high",
  "provider.custom.models.variants.outputEffort.xhigh": "xhigh",
  "provider.custom.models.variants.outputEffort.max": "max",
  "provider.custom.models.remove": "移除模型",
  "provider.custom.models.add": "添加模型",
  "provider.custom.models.fetch": "获取模型",
  "provider.custom.models.fetching": "获取中\u2026",
  "provider.custom.models.fetch.error": "获取模型失败：{{error}}",
  "provider.custom.models.fetch.authError": "认证失败。请检查上方的 API 密钥后重试。",
  "provider.custom.models.fetch.empty": "此服务器上未找到模型。",
  "provider.custom.models.fetch.added": "已添加 {{count}} 个模型。",
  "provider.custom.models.fetch.allExist": "获取的所有模型均已添加。",
  "provider.custom.models.fetch.selectAll": "全选",
  "provider.custom.models.fetch.deselectAll": "取消全选",
  "provider.custom.models.fetch.found": "找到 {{count}} 个模型",
  "provider.custom.models.fetch.showing": "显示 {{shown}}/{{total}}",
  "provider.custom.models.fetch.search": "搜索模型\u2026",
  "provider.custom.models.fetch.add": "添加 {{count}} 个模型",
  "provider.custom.edit.title": "编辑提供商",
  "provider.custom.headers.label": "请求头（可选）",
  "provider.custom.headers.key.label": "请求头",
  "provider.custom.headers.key.placeholder": "Header-Name",
  "provider.custom.headers.value.label": "值",
  "provider.custom.headers.value.placeholder": "value",
  "provider.custom.headers.remove": "移除请求头",
  "provider.custom.headers.add": "添加请求头",
  "provider.custom.error.providerID.required": "提供商 ID 为必填项",
  "provider.custom.error.providerID.format": "使用小写字母、数字、连字符或下划线",
  "provider.custom.error.providerID.exists": "该提供商 ID 已存在",
  "provider.custom.error.name.required": "显示名称为必填项",
  "provider.custom.error.baseURL.required": "基础 URL 为必填项",
  "provider.custom.error.baseURL.format": "必须以 http:// 或 https:// 开头",
  "provider.custom.error.required": "必填",
  "provider.custom.error.duplicate": "重复",
  "settings.openLocalConfig": "本地配置",
  "settings.openGlobalConfig": "全局配置",
  "settings.config.scope.local": "本地",
  "settings.config.scope.global": "全局",
  "settings.config.status.loaded": "已加载",
  "settings.config.status.loadedLegacy": "已加载旧版配置",
  "settings.config.status.notLoaded": "未加载",
  "settings.config.status.create": "未找到 - 创建此文件",
  "settings.config.title": "打开 {{scope}} Kilo 配置文件",
  "settings.config.placeholder": "配置文件按顺序合并；标记为已加载的文件目前会影响设置。",
  "settings.config.noWorkspace": "打开工作区文件夹以编辑本地 Kilo 配置文件。",
  "settings.config.openFailed": "无法打开 {{scope}} Kilo 配置文件：{{message}}",
  "settings.config.source.xdg": "XDG 全局配置",
  "settings.config.source.homeKilo": "主目录 .kilo 配置",
  "settings.config.source.homeKilocode": "主目录 .kilocode 配置",
  "settings.config.source.homeOpencode": "主目录 .opencode 配置",
  "settings.config.source.envFile": "KILO_CONFIG 环境变量文件",
  "settings.config.source.envDir": "KILO_CONFIG_DIR",
  "settings.config.source.envContent": "内联环境配置",
  "settings.config.source.projectKilo": "项目 .kilo 配置",
  "settings.config.source.projectRoot": "项目根目录配置",
  "settings.config.source.projectKilocode": "旧版 .kilocode 配置",
  "settings.config.source.projectOpencode": "旧版 .opencode 配置",
  "settings.models.title": "模型",
  "settings.models.description": "模型设置将在此处可配置。",
  "settings.agents.title": "智能体",
  "settings.agents.description": "智能体设置将在此处可配置。",
  "settings.commands.title": "命令",
  "settings.commands.description": "命令设置将在此处可配置。",
  "settings.mcp.title": "MCP",
  "settings.mcp.description": "MCP 设置将在此处可配置。",

  "settings.permissions.title": "权限",
  "settings.permissions.description": "控制服务器默认可以使用哪些工具。",
  "settings.permissions.section.tools": "工具",
  "settings.permissions.toast.updateFailed.title": "更新权限失败",

  "settings.permissions.action.allow": "允许",
  "settings.permissions.action.ask": "询问",
  "settings.permissions.action.deny": "拒绝",

  "settings.permissions.tool.read.title": "读取",
  "settings.permissions.tool.read.description": "读取文件（匹配文件路径）",
  "settings.permissions.tool.edit.title": "编辑",
  "settings.permissions.tool.edit.description": "修改文件，包括编辑、写入、补丁和多重编辑",
  "settings.permissions.tool.glob.title": "Glob",
  "settings.permissions.tool.glob.description": "使用 glob 模式匹配文件",
  "settings.permissions.tool.grep.title": "Grep",
  "settings.permissions.tool.grep.description": "使用正则表达式搜索文件内容",
  "settings.permissions.tool.list.title": "列表",
  "settings.permissions.tool.list.description": "列出目录中的文件",
  "settings.permissions.tool.bash.title": "Bash",
  "settings.permissions.tool.bash.description": "运行 shell 命令",
  "settings.permissions.tool.task.title": "任务",
  "settings.permissions.tool.task.description": "启动子智能体",
  "settings.permissions.tool.skill.title": "Skill",
  "settings.permissions.tool.skill.description": "按名称加载技能",
  "settings.permissions.tool.lsp.title": "LSP",
  "settings.permissions.tool.lsp.description": "运行语言服务器查询",
  "settings.permissions.tool.todoread.title": "读取待办",
  "settings.permissions.tool.todoread.description": "读取待办列表",
  "settings.permissions.tool.todowrite.title": "更新待办",
  "settings.permissions.tool.todowrite.description": "更新待办列表",
  "settings.permissions.tool.webfetch.title": "网页获取",
  "settings.permissions.tool.webfetch.description": "从 URL 获取内容",
  "settings.permissions.tool.websearch.title": "网页搜索",
  "settings.permissions.tool.websearch.description": "搜索网页",
  "settings.permissions.tool.codesearch.title": "代码搜索",
  "settings.permissions.tool.codesearch.description": "在网上搜索代码",
  "settings.permissions.tool.external_directory.title": "外部目录",
  "settings.permissions.tool.external_directory.description": "访问项目目录之外的文件",
  "settings.permissions.tool.doom_loop.title": "Doom Loop",
  "settings.permissions.tool.doom_loop.description": "检测具有相同输入的重复工具调用",

  "session.delete.failed.title": "删除会话失败",
  "session.delete.title": "删除会话",
  "session.delete.confirm": '删除会话 "{{name}}"？',
  "session.delete.button": "删除会话",
  "session.untitled": "无标题",
  "session.current": "当前会话",
  "session.history.sources": "历史记录来源",
  "session.recent": "最近",
  "session.showHistory": "显示历史",
  "session.search.placeholder": "搜索会话...",
  "session.empty": "暂无会话。点击 + 开始新的对话。",
  "session.tab.local": "本地",
  "session.tab.cloud": "云端",
  "session.cloud.repoOnly": "仅此仓库",
  "session.cloud.import": "从云端导入",
  "feedback.button": "反馈与支持",
  "feedback.dialog.message": "我们很乐意听取您的反馈，或帮助解决您遇到的任何问题。",
  "feedback.dialog.github": "在 GitHub 上报告问题",
  "feedback.dialog.discord": "加入我们的 Discord 社区",
  "feedback.dialog.support": "客户支持",
  "workStyle.onboarding.welcome": "欢迎使用 Kilo",
  "workStyle.onboarding.title": "选择你想要的工作方式",
  "workStyle.onboarding.description":
    "这将设置权限、推理块、终端输出和上下文时间线的初始默认值。此设置仅应用一次，并会跳过你已自定义的设置。",
  "workStyle.onboarding.skip": "暂时跳过",
  "workStyle.onboarding.settingsNote": "你可以随时在以下位置更改这些选项：",
  "workStyle.onboarding.settings": "设置。",
  "workStyle.toast.saved.title": "模式已成功保存",
  "workStyle.toast.saved.description": "可随时在“设置”中更新偏好设置。",
  "workStyle.toast.saved.action": "前往设置",
  "workStyle.choice.permissions": "权限",
  "workStyle.choice.bash": "Bash",
  "workStyle.choice.visibility": "可见性",
  "workStyle.choice.human-in-the-loop.eyebrow": "人工参与",
  "workStyle.choice.human-in-the-loop.title": "先审查",
  "workStyle.choice.human-in-the-loop.description": "Kilo 会在工作过程中暂停并向你展示其计划。",
  "workStyle.choice.human-in-the-loop.permissions": "编辑文件或运行命令前会征求你的许可。",
  "workStyle.choice.human-in-the-loop.bash": "运行所有终端命令时请求权限",
  "workStyle.choice.human-in-the-loop.visibility": "显示完整的对话详情，包括推理过程。",
  "workStyle.choice.autonomous.eyebrow": "减少打扰",
  "workStyle.choice.autonomous.title": "高度自主",
  "workStyle.choice.autonomous.description": "减少打扰，界面更简洁。",
  "workStyle.choice.autonomous.permissions": "无需询问即可在工作区中编辑文件和运行命令。",
  "workStyle.choice.autonomous.bash": "可以在工作区中无需批准即可运行终端命令。",
  "workStyle.choice.autonomous.visibility": "详情会保持折叠，直到你将其展开。",
  "session.cloud.import.title": "从云端导入",
  "session.cloud.import.placeholder": "会话 ID、URL 或 kilo import 命令",
  "session.cloud.import.button": "导入",
  "session.cloud.import.invalid": "会话 ID 格式无效",
  "session.cloud.import.legacy": "这似乎是一个旧版会话，已不再受支持。",
  "session.cloud.import.failed": "导入云会话失败",

  "workspace.new": "新建工作区",
  "workspace.type.local": "本地",
  "workspace.type.sandbox": "沙盒",
  "workspace.create.failed.title": "创建工作区失败",
  "workspace.delete.failed.title": "删除工作区失败",
  "workspace.resetting.title": "正在重置工作区",
  "workspace.resetting.description": "这可能需要一点时间。",
  "workspace.reset.failed.title": "重置工作区失败",
  "workspace.reset.success.title": "工作区已重置",
  "workspace.reset.success.description": "工作区已与默认分支保持一致。",
  "workspace.error.stillPreparing": "工作区仍在准备中",
  "workspace.status.checking": "正在检查未合并的更改...",
  "workspace.status.error": "无法验证 git 状态。",
  "workspace.status.clean": "未检测到未合并的更改。",
  "workspace.status.dirty": "检测到未合并的更改。",
  "workspace.delete.title": "删除工作区",
  "workspace.delete.confirm": '删除工作区 "{{name}}"？',
  "workspace.delete.button": "删除工作区",
  "workspace.reset.title": "重置工作区",
  "workspace.reset.confirm": '重置工作区 "{{name}}"？',
  "workspace.reset.button": "重置工作区",
  "workspace.reset.archived.none": "不会归档任何活跃会话。",
  "workspace.reset.archived.one": "将归档 1 个会话。",
  "workspace.reset.archived.many": "将归档 {{count}} 个会话。",
  "workspace.reset.note": "这将把工作区重置为与默认分支一致。",

  "deviceAuth.toast.urlCopied": "URL 已复制到剪贴板",
  "deviceAuth.toast.codeCopied": "代码已复制到剪贴板",
  "deviceAuth.toast.errorCopied": "错误已复制到剪贴板",
  "deviceAuth.status.initiating": "正在启动登录...",
  "deviceAuth.title": "登录 Kilo Code",
  "deviceAuth.step1": "步骤 1：打开此 URL",
  "deviceAuth.action.copyUrl": "复制 URL",
  "deviceAuth.action.openBrowser": "打开浏览器",
  "deviceAuth.qrCode.alt": "二维码",
  "deviceAuth.step2": "步骤 2：输入此代码",
  "deviceAuth.action.clickToCopy": "点击复制",
  "deviceAuth.status.waiting": "等待授权中...",
  "deviceAuth.status.success": "登录成功！",
  "deviceAuth.status.failed": "登录失败",
  "deviceAuth.error.detailsTitle": "登录错误详情",
  "deviceAuth.status.cancelled": "登录已取消",
  "deviceAuth.action.tryAgain": "重试",
  "deviceAuth.action.copyError": "复制错误",
  "deviceAuth.action.showDetails": "查看详情",

  "common.retry": "重试",
  "common.refresh": "刷新",

  "profile.title": "个人资料",
  "profile.notLoggedIn": "未登录",
  "profile.action.login": "使用 Kilo Code 登录",
  "profile.balance.title": "余额",
  "profile.balance.refresh": "刷新余额",
  "profile.action.dashboard": "控制面板",
  "profile.action.logout": "退出登录",

  "settings.section.configuration": "配置",
  "settings.agentBehaviour.title": "智能体行为",
  "settings.autoApprove.title": "自动审批",
  "settings.browser.title": "浏览器",
  "settings.checkpoints.title": "检查点",
  "settings.display.title": "显示",
  "settings.autocomplete.title": "自动补全",
  "settings.autocomplete.model.title": "自动补全模型",
  "settings.autocomplete.model.description": "选择用于内联代码补全的模型",
  "settings.notifications.title": "通知",
  "settings.context.title": "上下文",

  "settings.experimental.title": "实验性功能",
  "settings.language.title": "语言",
  "settings.aboutKiloCode.title": "关于 Kilo Code",

  "session.messages.empty": "在下方输入消息以开始对话。",
  "session.messages.welcome": "Kilo Code 是一个 AI 编程助手。让它帮你构建功能、修复 bug 或解释代码库。",
  "session.messages.scrollToBottom": "滚动到底部",
  "session.messages.initializing": "初始化中...",
  "session.messages.taskStarting": "启动中...",
  "session.status.writingResponse": "正在撰写回复…",
  "session.status.retry": "正在重试…",
  "session.status.retrying": "正在重试（第 {{ attempt }} 次）… {{ message }}",
  "session.status.working": "处理中…",
  "session.status.offline": "网络已断开 — 正在重连...",
  "session.outcome.incomplete": "回合已结束，尚有 {{count}} 个待办事项",
  "session.outcome.limit": "未完成前已达到响应限制",
  "session.outcome.unknown": "回合已结束，模型未提供结束原因",
  "session.outcome.filtered": "提供商因为内容过滤器停止了此响应。",
  "session.outcome.unexpected": "响应意外结束，可能不完整。",
  "session.outcome.interrupted": "回合已中断",
  "session.outcome.error": "回合失败",
  "session.outcome.finish": "结束原因：{{reason}}",

  "ui.sessionTurn.cancel": "取消",
  "ui.sessionTurn.status.thinking": "思考中...",
  "ui.sessionTurn.status.consideringNextSteps": "正在考虑下一步...",

  "dialog.model.noProviders": "无供应商",

  "prompt.placeholder.connecting": "正在连接服务器...",
  "prompt.placeholder.error": "连接失败。请检查输出面板或重启扩展。",
  "prompt.placeholder.default": "输入消息... (Enter 发送，Shift+Enter 换行)",

  "context.usage.sessionCost": "会话费用",
  "context.usage.olderSessions": "{{count}} 个较早的会话",
  "context.stats.thisSession": "此会话",

  "time.justNow": "刚刚",
  "time.minutesAgo": "{{count}} 分钟前",
  "time.hoursAgo": "{{count}} 小时前",
  "time.daysAgo": "{{count}} 天前",
  "time.monthsAgo": "{{count}} 个月前",
  "time.today": "今天",
  "time.yesterday": "昨天",
  "time.thisWeek": "本周",
  "time.thisMonth": "本月",
  "time.older": "更早",

  "settings.aboutKiloCode.status.connected": "已连接",
  "settings.aboutKiloCode.status.connecting": "连接中...",
  "settings.aboutKiloCode.status.disconnected": "已断开",
  "settings.aboutKiloCode.status.error": "错误",
  "settings.aboutKiloCode.cliServer": "CLI 服务器",
  "settings.aboutKiloCode.status.label": "状态：",
  "settings.aboutKiloCode.port.label": "端口：",
  "settings.aboutKiloCode.versionInfo": "版本信息",
  "settings.aboutKiloCode.version.label": "版本：",
  "settings.aboutKiloCode.extensionName": "Kilo Code 扩展",
  "settings.aboutKiloCode.community": "社区与支持",
  "settings.aboutKiloCode.feedback.prefix": "如果您有任何问题或反馈，欢迎在以下平台提交 issue",
  "settings.aboutKiloCode.feedback.or": "或",
  "settings.aboutKiloCode.support.prefix": "如有账单或账户问题，请联系客户支持",
  "settings.aboutKiloCode.resetSettings.title": "重置设置",
  "settings.aboutKiloCode.resetSettings.description":
    "此操作仅将 VS Code 扩展专属设置重置为默认值。与 CLI 共享的设置（如模式和自动审批规则）存储在 CLI 配置中，不会被重置。",
  "settings.aboutKiloCode.resetSettings.button": "重置所有设置",
  "settings.aboutKiloCode.settingsTransfer.title": "设置迁移",
  "settings.aboutKiloCode.settingsTransfer.description": "导出或导入设置，以便在 VS Code 实例之间传输。",
  "settings.aboutKiloCode.exportSettings": "导出",
  "settings.aboutKiloCode.importSettings": "导入",
  "settings.aboutKiloCode.importSettings.invalidJson": "无效的 JSON 文件。请选择有效的设置文件。",
  "settings.aboutKiloCode.importSettings.invalidConfig": "文件不包含有效的 Kilo 设置。",
  "settings.aboutKiloCode.importSettings.tooLarge": "文件过大。设置文件必须小于 1 MB。",
  "settings.aboutKiloCode.importSettings.newerVersion": "此文件由较新版本的 Kilo 导出。部分设置可能会被忽略。",
  "settings.aboutKiloCode.importSettings.success": "设置已导入。请查看上方的更改，然后点击保存。",

  "settings.aboutKiloCode.telemetry.title": "遥测",
  "settings.aboutKiloCode.telemetry.description":
    '遥测由 VS Code 的内置遥测设置控制。若要将其禁用，请转到「设置」>「遥测」>「遥测级别」并将其设置为 "off"。重启 VS Code 以应用更改。',
  "settings.aboutKiloCode.telemetry.openSettings": "打开遥测设置",

  "settings.agentBehaviour.subtab.agents": "代理",
  "settings.agentBehaviour.subtab.mcpServers": "MCP 服务器",
  "settings.agentBehaviour.subtab.rules": "规则",
  "settings.agentBehaviour.subtab.workflows": "工作流",
  "settings.agentBehaviour.subtab.skills": "技能",

  "settings.browser.description":
    "启用后，AI 代理可以与网页交互 — 导航、点击、输入和截取屏幕截图。Chrome 窗口将打开，以便您观察代理的工作。",
  "settings.browser.enable.title": "启用浏览器自动化",
  "settings.browser.enable.description": "将 Playwright MCP 服务器注册到 CLI 后端。",
  "settings.browser.systemChrome.title": "使用系统 Chrome",
  "settings.browser.systemChrome.description": "使用已安装的 Chrome 浏览器，而不是单独的 Chromium 实例。",
  "settings.browser.headless.title": "无头模式",
  "settings.browser.headless.description": "以无头模式运行（无可见浏览器窗口）。",

  "settings.language.description": '"自动"将使用 VS Code 的显示语言。选择 Kilo Code 界面的语言。',
  "settings.language.auto": "自动（VS Code 语言）",
  "settings.language.current": "当前：",

  "common.add": "添加",
  "common.choose": "选择…",

  "settings.autocomplete.autoTrigger.title": "启用自动内联补全",
  "settings.autocomplete.autoTrigger.description": "在您输入时自动显示内联补全建议",
  "settings.autocomplete.smartKeybinding.title": "启用智能内联任务快捷键",
  "settings.autocomplete.smartKeybinding.description": "使用智能快捷键触发内联任务",
  "settings.autocomplete.chatAutocomplete.title": "启用聊天文本框自动补全",
  "settings.autocomplete.chatAutocomplete.description": "在聊天文本框中显示自动补全建议",
  "settings.autocomplete.modelsHint": "若要选择用于自动补全的模型，请参阅模型设置。",
  "settings.notifications.agent.title": "智能体完成",
  "settings.notifications.agent.description": "智能体完成任务时显示通知",
  "settings.notifications.permissions.title": "权限请求",
  "settings.notifications.permissions.description": "权限请求时显示通知",
  "settings.notifications.errors.title": "错误",
  "settings.notifications.errors.description": "发生错误时显示通知",
  "settings.notifications.sounds": "声音",
  "settings.notifications.enable.title": "启用声音通知",
  "settings.notifications.enable.description": "在会话完成、遇到错误或需要你输入时播放声音",
  "settings.notifications.testSound": "测试",
  "settings.notifications.agentSound.title": "智能体完成提示音",
  "settings.notifications.agentSound.description": "智能体完成时播放的声音",
  "settings.notifications.permSound.title": "权限请求提示音",
  "settings.notifications.permSound.description": "权限请求时播放的声音",
  "settings.notifications.errorSound.title": "错误提示音",
  "settings.notifications.errorSound.description": "发生错误时播放的声音",
  "settings.notifications.sound.default": "默认",
  "settings.notifications.sound.system": "系统",
  "settings.notifications.sound.description":
    "默认选项为完成、输入和错误使用不同的声音。其他选项为所有事件使用同一种声音。",
  "settings.notifications.sound.none": "无",
  "settings.experimental.share.title": "分享模式",
  "settings.experimental.share.description": "会话分享行为",
  "settings.experimental.share.manual": "手动",
  "settings.experimental.share.auto": "自动",
  "settings.experimental.share.disabled": "禁用",
  "settings.experimental.formatter.title": "格式化工具",
  "settings.experimental.formatter.description": "启用自动代码格式化",
  "settings.experimental.lsp.title": "LSP",
  "settings.experimental.lsp.description": "启用语言服务器协议集成",
  "settings.experimental.batch.title": "批量工具",
  "settings.experimental.batch.description": "启用多个工具调用的批处理",
  "settings.experimental.codebaseSearch.title": "代码库搜索",
  "settings.experimental.codebaseSearch.description": "启用 AI 驱动的自然语言代码库搜索",
  "settings.experimental.speechToText.title": "语音转文本",
  "settings.experimental.speechToText.description": "通过 Kilo Gateway 使用您的 Kilo 帐户在提示词字段中启用语音输入。",
  "settings.models.speechToText.disabledDescription":
    "启用并登录 Kilo 提供商以使用 Speech to Text。Speech to Text 目前仅支持通过 Kilo Gateway 使用。",
  "settings.models.speechToTextModel.title": "语音转文本模型",
  "settings.models.speechToTextModel.description": "选择用于语音输入的 Kilo Gateway 转录模型。",
  "settings.experimental.continueOnDeny.title": "拒绝后继续",
  "settings.experimental.continueOnDeny.description": "权限被拒绝时继续智能体循环",
  "settings.experimental.mcpTimeout.title": "MCP 超时（毫秒）",
  "settings.experimental.mcpTimeout.description": "MCP 服务器请求的超时时间（毫秒）",
  "settings.experimental.remote.title": "Remote 控制",
  "settings.experimental.remote.description": "通过 Kilo Cloud 启用会话的 Remote 控制。这也会影响此计算机上的 CLI。",
  "settings.experimental.remote.current": "当前状态：",
  "settings.experimental.remote.startup": "启动时自动启用：",
  "settings.experimental.remote.active": "已启用",
  "settings.experimental.remote.inactive": "未启用",
  "settings.experimental.remote.hint": "在聊天中使用 /remote 进行切换",
  "settings.experimental.toolToggles": "工具开关",
  "settings.agentBehaviour.defaultAgent.title": "默认智能体",
  "settings.agentBehaviour.defaultAgent.description": "未指定时使用的智能体",
  "settings.agentBehaviour.availableAgents": "可用代理",
  "settings.agentBehaviour.selectAgent": "选择要配置的智能体…",
  "settings.agentBehaviour.selectAgent.title": "智能体",
  "settings.agentBehaviour.selectAgent.description": "选择要配置的智能体…",
  "settings.agentBehaviour.modelOverride.title": "模型覆盖",
  "settings.agentBehaviour.modelOverride.description": "覆盖此智能体的默认模型",
  "settings.agentBehaviour.variantOverride.title": "模型变体覆盖",
  "settings.agentBehaviour.variantOverride.description": "覆盖此智能体的模型变体",
  "settings.agentBehaviour.prompt.title": "自定义提示词",
  "settings.agentBehaviour.prompt.description": "此智能体的附加系统提示词",
  "settings.agentBehaviour.temperature.title": "温度",
  "settings.agentBehaviour.temperature.description": "采样温度（0-2）",
  "settings.agentBehaviour.topP.title": "Top P",
  "settings.agentBehaviour.topP.description": "核采样参数（0-1）",
  "settings.agentBehaviour.maxSteps.title": "最大步数",
  "settings.agentBehaviour.maxSteps.description": "最大智能体迭代次数",
  "settings.agentBehaviour.hidden.title": "隐藏",
  "settings.agentBehaviour.hidden.description": "在聊天输入的模式切换器中隐藏此智能体",
  "settings.agentBehaviour.disable.title": "已禁用",
  "settings.agentBehaviour.disable.description": "完全禁用此智能体 — 它将不会出现在任何地方",
  "settings.agentBehaviour.badge.hidden": "隐藏",
  "settings.agentBehaviour.badge.disabled": "已禁用",
  "settings.agentBehaviour.badge.deprecated": "弃用",
  "settings.agentBehaviour.discoveredSkills": "已发现的技能",
  "settings.agentBehaviour.noSkillsFound": "未发现任何技能。请在下方添加技能文件夹路径或 URL 以使技能可用。",
  "settings.agentBehaviour.availableModes": "可用自定义模式",
  "settings.agentBehaviour.noAgentsFound": "未找到智能体。",
  "settings.agentBehaviour.createMode": "创建新模式",
  "settings.agentBehaviour.createMode.name": "名称",
  "settings.agentBehaviour.createMode.name.placeholder": "例如：reviewer",
  "settings.agentBehaviour.createMode.name.description": "模式的唯一标识符。仅使用小写字母、数字和连字符。",
  "settings.agentBehaviour.createMode.description": "描述",
  "settings.agentBehaviour.createMode.description.placeholder": "例如：审查代码质量和最佳实践",
  "settings.agentBehaviour.createMode.description.help": "对该模式功能的简短描述。",
  "settings.agentBehaviour.createMode.prompt": "系统提示",
  "settings.agentBehaviour.createMode.prompt.placeholder": "例如：您是代码审查员。关注代码质量、最佳实践和潜在错误。",
  "settings.agentBehaviour.createMode.prompt.help": "使用此模式时给 AI 代理的指令。",
  "settings.agentBehaviour.createMode.button": "创建",
  "settings.agentBehaviour.createMode.cancel": "取消",
  "settings.agentBehaviour.createMode.nameRequired": "名称为必填项",
  "settings.agentBehaviour.createMode.nameInvalid": "名称只能包含小写字母、数字和连字符",
  "settings.agentBehaviour.createMode.nameTaken": "此名称的模式已存在",
  "settings.agentBehaviour.importMode": "导入",
  "settings.agentBehaviour.importMode.invalidName":
    "文件中的模式名称无效。名称必须以小写字母开头，且仅包含小写字母、数字和连字符。",
  "settings.agentBehaviour.importMode.nameTaken": "此名称的模式已存在。",
  "settings.agentBehaviour.importMode.invalidJson": "无效的 JSON 文件。请选择有效的代理定义文件。",
  "settings.agentBehaviour.importMode.tooLarge": "文件太大。代理定义必须小于 1 MB。",
  "settings.agentBehaviour.exportMode": "导出代理定义",
  "settings.agentBehaviour.editMode": "编辑模式",
  "settings.agentBehaviour.editMode.description": "描述",
  "settings.agentBehaviour.editMode.prompt": "系统提示",
  "settings.agentBehaviour.editMode.save": "完成",
  "settings.agentBehaviour.editMode.back": "返回列表",
  "settings.agentBehaviour.editMode.native": "这是一个内置模式。它的基础定义无法更改，但您可以在下方配置覆盖项。",
  "settings.agentBehaviour.editMode.promptOverride": "此内置模式的自定义提示覆盖",
  "settings.agentBehaviour.badge.subagent": "子代理",
  "settings.agentBehaviour.permissions.title": "计算出的权限",
  "settings.agentBehaviour.permissions.count": "{{count}} 条规则",
  "settings.agentBehaviour.permissions.effective": "生效 (通配符):",
  "settings.agentBehaviour.permissions.col.tool": "工具",
  "settings.agentBehaviour.permissions.col.pattern": "模式",
  "settings.agentBehaviour.permissions.col.action": "操作",
  "settings.agentBehaviour.permissions.copy": "复制权限为 JSON",
  "settings.agentBehaviour.permissions.hint": "规则按顺序评估 — 最后匹配的规则生效。这是从 CLI 后端解析出的规则集。",
  "settings.agentBehaviour.removeAgent.title": "移除智能体",
  "settings.agentBehaviour.removeAgent.confirm": '移除智能体 "{{name}}" 吗？这将通过更新配置来禁用该智能体。',
  "settings.agentBehaviour.removeAgent.button": "移除",
  "settings.agentBehaviour.removeMcp.title": "移除 MCP 服务器",
  "settings.agentBehaviour.removeMcp.confirm": '移除 MCP 服务器 "{{name}}" 吗？这将从您的配置中移除它。',
  "settings.agentBehaviour.removeMcp.button": "移除",
  "settings.agentBehaviour.editMcp": "编辑 MCP 服务器",
  "settings.agentBehaviour.editMcp.transportLocal": "本地服务器（stdio 传输）",
  "settings.agentBehaviour.editMcp.transportRemote": "远程服务器（SSE/HTTP 传输）",
  "settings.agentBehaviour.editMcp.env": "环境变量",
  "settings.agentBehaviour.editMcp.env.help": "传递给 MCP 服务器进程的变量。",
  "settings.agentBehaviour.addMcp.command": "命令",
  "settings.agentBehaviour.addMcp.command.placeholder": "e.g. npx",
  "settings.agentBehaviour.addMcp.args": "参数",
  "settings.agentBehaviour.addMcp.args.help": "每行一个参数。包含空格的路径将按原样保留。",
  "settings.agentBehaviour.addMcp.args.placeholder": "e.g.\n-y\n@modelcontextprotocol/server-filesystem\n/tmp",
  "settings.agentBehaviour.addMcp.url": "服务器 URL",
  "settings.agentBehaviour.addMcp.url.placeholder": "e.g. http://localhost:3000/sse",
  "settings.agentBehaviour.skillPaths": "技能文件夹路径",
  "settings.agentBehaviour.skillUrls": "技能 URL",
  "settings.agentBehaviour.removeSkill.title": "移除技能",
  "settings.agentBehaviour.removeSkill.confirm": '移除技能 "{{name}}" 吗？这会从磁盘中删除该技能文件。',
  "settings.agentBehaviour.removeSkill.button": "移除",
  "settings.agentBehaviour.rules.description":
    "规则是指导代理行为的指令文件。它们会被包含在每次对话的系统提示词中。在下方添加文件路径以包含额外的规则。",
  "settings.agentBehaviour.instructionFiles": "附加指令文件",
  "settings.agentBehaviour.instructionFiles.description": "包含在系统提示词中的附加指令文件路径",
  "settings.agentBehaviour.claudeCompat.heading": "Claude Code 兼容性",
  "settings.agentBehaviour.claudeCompat.title": "加载 Claude Code 文件",
  "settings.agentBehaviour.claudeCompat.description":
    "将 Claude Code 配置目录中的 CLAUDE.md 指令和技能加载到会话中。如果您希望 Kilo 使用您的 Claude Code 指令和技能，请启用此选项。需要重启。",
  "settings.agentBehaviour.mcpDetail.command": "命令",
  "settings.agentBehaviour.mcpDetail.args": "参数",
  "settings.agentBehaviour.mcpDetail.env": "环境",
  "settings.agentBehaviour.mcpDetail.disabled": "此服务器已禁用。",
  "settings.agentBehaviour.mcpBrowseMarketplace": "浏览市场",
  "settings.agentBehaviour.mcpEmpty": "未配置 MCP 服务器。在 kilo.jsonc 中添加 MCP 服务器，或让代理为您添加。",
  "settings.agentBehaviour.workflowsPlaceholder": "工作流通过工作区中的工作流文件管理。",
  "settings.agentBehaviour.workflows.description":
    "工作流是在配置中定义的自定义斜杠命令。在聊天中输入 /command-name 来调用它们。命令在 opencode.json 的 'command' 部分中配置。",
  "settings.agentBehaviour.workflows.empty": "未配置自定义命令。将命令添加到 opencode.json 即可在此处看到。",
  "settings.agentBehaviour.workflows.detail.description": "描述",
  "settings.agentBehaviour.workflows.detail.template": "模板",

  "settings.autoApprove.description":
    "定义工具的运行权限。大多数工具默认为「允许」。doom_loop 和 external_directory 默认为「询问」。",
  "settings.autoApprove.level.allow": "允许",
  "settings.autoApprove.level.ask": "询问",
  "settings.autoApprove.level.deny": "拒绝",
  "settings.autoApprove.wildcardLabel.commands": "所有命令 (*)",
  "settings.autoApprove.wildcardLabel.paths": "所有路径 (*)",
  "settings.autoApprove.exceptions": "例外",
  "settings.autoApprove.addCommand": "添加命令",
  "settings.autoApprove.addPath": "添加路径",
  "settings.autoApprove.placeholder.command": "例如：git *",
  "settings.autoApprove.placeholder.path": "例如：*.env",
  "settings.autoApprove.tool.read": "读取文件。允许代理读取符合指定路径的文件。",
  "settings.autoApprove.tool.edit": "修改文件。允许代理创建或编辑文件，包括补丁和多文件更新。",
  "settings.autoApprove.tool.glob": "按模式匹配文件。允许使用 glob 模式匹配文件（例如 src/**/*.ts）。",
  "settings.autoApprove.tool.grep": "搜索文件内容。允许在文件内进行基于正则表达式的搜索。",
  "settings.autoApprove.tool.list": "列出目录内容。允许查看目录内的文件和文件夹。",
  "settings.autoApprove.tool.bash": "运行终端命令。允许执行 shell 命令（例如 git status）。",
  "settings.autoApprove.tool.task": "启动子代理。允许启动执行特定任务的专用子代理。",
  "settings.autoApprove.tool.skill": "加载技能。允许按名称加载预定义的技能。",
  "settings.autoApprove.tool.lsp": "查询语言服务器。允许运行语言服务器查询以获取代码智能。",
  "settings.autoApprove.tool.todoreadwrite": "管理任务列表。允许读取和更新内部任务列表。",
  "settings.autoApprove.tool.webfetch": "获取 URL。允许从特定 URL 检索内容。",
  "settings.autoApprove.tool.websearch": "搜索网页。允许执行外部 Web 搜索。",
  "settings.autoApprove.tool.external_directory": "访问工作区外部的文件。访问当前项目目录之外的文件时触发。",
  "settings.autoApprove.tool.doom_loop": "防止重复相同操作。当相同的工具调用以相同的输入重复时触发。",
  "settings.checkpoints.enable.title": "启用快照",
  "settings.checkpoints.enable.description": "在文件编辑前创建检查点，以便恢复之前的状态",
  "settings.context.autoCompaction.title": "自动压缩",
  "settings.context.autoCompaction.description": "在上下文达到限制前自动压缩",
  "settings.context.compactionLimit.title": "自动压缩限制",
  "settings.context.compactionLimit.description": "当上下文达到模型窗口的此百分比时进行压缩。留空则仅使用安全缓冲区。",
  "settings.context.prune.title": "修剪旧输出",
  "settings.context.prune.description": "压缩期间移除旧的工具输出",
  "settings.context.watcherPatterns": "文件监视器忽略模式",
  "settings.context.watcherPatterns.description": "监视器应忽略的文件的 glob 模式",

  "settings.commitMessage.title": "Commit Message",
  "settings.commitMessage.override.title": "使用自定义 prompt",
  "settings.commitMessage.override.description":
    "覆盖默认的 commit message 的 prompt。启用后，你的自定义 prompt 将完全替换内置的 conventional commits 的 prompt。",
  "settings.commitMessage.prompt.title": "自定义 prompt",
  "settings.commitMessage.prompt.description":
    "在生成 commit messages 时发送给 AI 的系统 prompt。这将完全替换默认的 prompt。",
  "settings.commitMessage.prompt.placeholder":
    "例如：按照 conventional commits 格式用西班牙语生成 commit messages。只返回 commit message。",

  "settings.display.username.title": "用户名",
  "settings.display.username.description": "对话中显示的自定义用户名",
  "settings.display.fontSize.title": "字体大小",
  "settings.display.fontSize.description": "独立于 VS Code 调整 Kilo webview UI 的字体大小。",
  "settings.display.reasoningAutoCollapse.title": "自动折叠推理",
  "settings.display.reasoningAutoCollapse.description":
    "在智能体写完推理后折叠推理块。保持关闭可让推理保持展开，除非你手动折叠它。",
  "settings.display.terminalCommand.title": "Terminal Command Blocks",
  "settings.display.terminalCommand.description": "Choose whether terminal command blocks start expanded or collapsed.",
  "settings.display.terminalCommand.expanded": "Expanded",
  "settings.display.terminalCommand.collapsed": "Collapsed",
  "settings.display.codeEdit.title": "代码编辑块",
  "settings.display.codeEdit.description": "选择代码编辑块和差异块的初始状态：展开或折叠。",
  "settings.display.codeEdit.expanded": "展开",
  "settings.display.codeEdit.collapsed": "折叠",
  "settings.providers.defaultModel.title": "默认模型",
  "settings.providers.defaultModel.description": "对话的主要模型",
  "settings.providers.smallModel.title": "小模型",
  "settings.providers.smallModel.description": "用于标题生成、提交信息生成、提示词增强和其他快速任务的轻量模型",
  "settings.providers.disabled": "已禁用的提供者",
  "settings.providers.disabled.description": "从提供者列表中隐藏的提供者",
  "settings.providers.disabled.enable": "启用",
  "settings.providers.enabled": "已启用的提供者（白名单）",
  "settings.providers.enabled.description": "如果设置，只有这些提供者可用（排他性白名单）",
  "settings.providers.notSet": "未设置（使用服务器默认值）",
  "dialog.model.notSet": "未设置",
  "profile.personalAccount": "个人账户",
  "profile.switchingAccount": "正在切换账户…",
  // Agent Manager strings live in webview-ui/agent-manager/i18n/zh.ts

  "question.summary": "第 {{n}} / {{total}} 个问题",
  "common.review": "审查",

  // legacy-migration start
  "settings.legacyMigration.link": "从旧版迁移",
  "settings.aboutKiloCode.legacyMigration.title": "旧版迁移",
  "settings.aboutKiloCode.legacyMigration.description":
    "从旧版 Kilo Code 安装迁移设置，包括提供商 API 密钥和默认模型。",
  "settings.aboutKiloCode.rooImport.description": "从 Roo Code 安装导入对话历史记录。",
  "settings.aboutKiloCode.rooImport.button": "从 Roo Code 导入会话",

  // Screen 1 — What's New
  "migration.whatsNew.title": "Kilo Code 新功能",
  "migration.whatsNew.subtitle": "我们在更快、更高效的基础上重新构建了扩展。",
  "migration.whatsNew.features.performance.title": "更快的智能体性能",
  "migration.whatsNew.features.performance.detail":
    "并行工具调用和子智能体让你的智能体可以同时处理更多任务——减少等待时间，更快交付成果。",
  "migration.whatsNew.features.interface.title": "简洁的界面",
  "migration.whatsNew.features.interface.detail": "更少干扰，更易阅读，更快上手。",
  "migration.whatsNew.features.agentManager.title": "代理管理器",
  "migration.whatsNew.features.agentManager.detail":
    "一个统一的界面，可以并行运行多个智能体，每个智能体各自使用独立的 worktree——在同一个地方监控进度、切换上下文和审查变更。",
  "migration.whatsNew.features.foundation.title": "共享基础",
  "migration.whatsNew.features.foundation.detail":
    "所有 Kilo 产品共享一个小巧高效的核心。无论你选择哪种方式工作，都能获得熟悉的体验。",
  "migration.whatsNew.blogLink": "阅读完整公告",
  "migration.whatsNew.docsLink": "新功能与常见问题",
  "migration.whatsNew.continue": "继续",

  // Screen 2 — Migrate Settings
  "migration.migrate.title": "迁移你的设置",
  "migration.migrate.subtitle": "我们发现了你之前安装的设置。以下是可以迁移的内容。",
  "migration.migrate.selectLabel": "选择要迁移的内容",
  "migration.migrate.cannotMigrate": "无法迁移",
  "migration.migrate.chatHistory": "聊天会话和历史记录",
  "migration.migrate.chatHistoryDesc": "与新架构不兼容",
  "migration.migrate.button": "迁移设置",
  "migration.migrate.skip": "跳过",
  "migration.migrate.keysDetected": "检测到 {{count}} 个密钥",
  "migration.migrate.serversConfigured": "已配置 {{count}} 个服务器",
  "migration.migrate.modesFound": "发现 {{count}} 个模式",
  "migration.migrate.nothingToMigrate": "在旧版设置中未找到要迁移的内容。",

  // Migrate — item labels (reused from old select keys)
  "migration.select.providers": "提供商 API 密钥",
  "migration.select.mcpServers": "MCP 服务器",
  "migration.select.customModes": "自定义模式 / 代理",
  "migration.select.defaultModel": "默认模型",
  "migration.select.autoApproval": "自动审批",
  "migration.select.language": "界面语言",
  "migration.select.autocomplete": "自动补全设置",

  // Migrate — completion
  "migration.complete.summary": "成功迁移 {{success}}/{{total}} 项。",
  "migration.complete.cleanup": "清除旧版设置数据",
  "migration.complete.cleanupDescription": "此操作将从 VS Code 存储中删除旧版设置。您将无法再次运行此迁移。",
  "migration.complete.done": "完成",
  "migration.migrate.sessionsDetected": "检测到 {{count}} 个会话",
  "migration.error.sessionFailed": "会话迁移失败",
  "migration.error.continue": "继续",
  "migration.error.action.copy": "复制",
  "migration.error.toast.copied": "错误已复制到剪贴板",

  "migration.sessionSummary.title": "摘要：",
  "migration.sessionSummary.copy": "复制报告",
  "migration.sessionSummary.toast.copied": "报告已复制",
  "migration.sessionSummary.successful": "成功",
  "migration.sessionSummary.skipped": "已跳过",
  "migration.sessionSummary.alreadyMigrated": "已迁移",
  "migration.sessionSummary.errored": "出错",
  "migration.sessionSummary.none": "无",
  "migration.forceReimport.title": "强制重新导入",
  "migration.forceReimport.description": "重新导入 {{target}} 将覆盖它们，并删除这些会话中已创建的所有新消息。",
  "migration.forceReimport.target.one": "这个会话",
  "migration.forceReimport.target.many": "这 {{count}} 个会话",
  "migration.forceReimport.button": "强制重新导入",
  "migration.forceReimport.all": "重新导入全部",
  "migration.forceReimport.proceed": "继续",
  "migration.forceReimport.toast.started": "已开始强制重新导入",
  "migration.running.title": "迁移进行中",
  "migration.running.description.line1": "仍有会话正在迁移时，你即将结束流程。",
  "migration.running.description.line2": "如果你现在离开，某些会话可能会保持未完成状态。",
  "migration.running.stay": "留下",
  "migration.running.proceed": "继续",
  "migration.sessionProgress.preparing": "正在准备会话",
  "migration.sessionProgress.storing": "正在保存会话",
  "migration.sessionProgress.skipped": "已跳过会话",
  "migration.sessionProgress.header": "正在迁移第 {{current}} / {{total}} 个",
  "migration.sessionFormat.unknownDate": "未知日期",
  "migration.sessionFormat.unknown": "未知",
  "migration.sessionFormat.unknownError": "未知错误",
  // legacy-migration end

  "error.details.show": "详细信息",

  "task.todos.progress": "{{done}}/{{total}} 个待办已完成",
  "task.todos.allDone": "{{count}} 个待办已完成",
  "settings.saveBar.unsavedChanges": "未保存的更改",
  "settings.saveBar.discard": "放弃",
  "settings.saveBar.save": "保存",
  "settings.saveBar.warning.one": "一个会话正在运行，将被中断",
  "settings.saveBar.warning.many": "多个会话正在运行，将被中断",
  "settings.saveBar.saveAnyway": "仍然保存",
  "settings.saveBar.saving": "保存中…",
  "settings.saveBar.saveFailed": "无法保存设置",
  "settings.saveBar.cancel": "取消",
  "notifications.action.next": "下一个",
  "notifications.action.close": "关闭",
  "notifications.action.tryModel": "尝试 {{model}}",
  "notifications.action.tryModelGeneric": "尝试模型",
  "diffViewer.source.workspace.label": "分支",
  "diffViewer.source.workspace.tooltip":
    "此分支相对于基础分支的所有更改。包括未提交的文件（已暂存、未暂存、未跟踪）以及尚未合入基础分支的本地提交。",
  "diffViewer.source.staged.label": "已暂存",
  "diffViewer.source.staged.tooltip": "已使用 `git add` 添加到 git 暂存区的已修改文件，将出现在下一次提交中。",
  "diffViewer.source.unstaged.label": "未暂存",
  "diffViewer.source.unstaged.tooltip": "在工作树中已修改但尚未暂存的文件，以及未跟踪（新）的文件。",
  "diffViewer.source.session.label": "会话",
  "diffViewer.source.session.tooltip": "Kilo 在当前会话中更改的文件，基于每轮快照。开始新会话时重置。",
  "diffViewer.group.session": "会话",
  "diffViewer.group.git": "Git",
  "diffViewer.notice.snapshotsDisabled": "此仓库的快照已禁用。请编辑配置文件以显示会话变更。",

  "diffViewer.baseBranch.auto": "默认",
  "diffViewer.baseBranch.default": "默认",
  "diffViewer.baseBranch.remote": "远程",
  "diffViewer.baseBranch.search": "搜索分支",
  "diffViewer.baseBranch.empty": "没有匹配的分支",
  "diffViewer.baseBranch.loading": "正在加载分支…",
  "diffViewer.baseBranch.none": "—",
  "plan.exit.ready": "计划已准备就绪：",
} satisfies Partial<Record<Keys, string>>
