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.file.open": "打开文件",

  "command.tab.close": "关闭标签页",

  "command.context.addSelection": "将所选内容添加到上下文",
  "command.context.addSelection.description": "添加当前文件中选中的行",

  "command.input.focus": "聚焦输入框",

  "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.prompt.mode.shell": "Shell",
  "command.prompt.mode.normal": "Prompt",

  "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": "重做上一条撤销的消息",
  "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": "停止分享此会话",

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

  "dialog.provider.search.placeholder": "搜索提供商",
  "dialog.provider.empty": "未找到提供商",
  "dialog.provider.group.popular": "热门",
  "dialog.provider.group.other": "其他",
  "dialog.provider.tag.recommended": "推荐",
  "dialog.provider.opencode.note": "使用 OpenCode Zen 或 API 密钥连接",
  "dialog.provider.opencode.tagline": "可靠的优化模型",
  "dialog.provider.opencodeGo.tagline": "适合所有人的低成本订阅",
  "dialog.provider.anthropic.note": "使用 Claude Pro/Max 或 API 密钥连接",
  "dialog.provider.copilot.note": "使用 Copilot 或 API 密钥连接",
  "dialog.provider.openai.note": "使用 ChatGPT Pro/Plus 或 API 密钥连接",
  "dialog.provider.google.note": "使用 Google 账号或 API 密钥连接",
  "dialog.provider.openrouter.note": "使用 OpenRouter 账号或 API 密钥连接",
  "dialog.provider.vercel.note": "使用 Vercel 账号或 API 密钥连接",

  "dialog.model.select.title": "选择模型",
  "dialog.model.search.placeholder": "搜索模型",
  "dialog.model.empty": "未找到模型",
  "dialog.model.manage": "管理模型",
  "dialog.model.manage.description": "自定义模型选择器中显示的模型。",
  "dialog.model.manage.provider.toggle": "切换所有 {{provider}} 模型",
  "dialog.model.unpaid.freeModels.title": "OpenCode 提供的免费模型",
  "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 密钥以连接帐户，并在 OpenCode 中使用 {{provider}} 模型。",
  "provider.connect.apiKey.label": "{{provider}} API 密钥",
  "provider.connect.apiKey.placeholder": "API 密钥",
  "provider.connect.apiKey.required": "API 密钥为必填项",
  "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": "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": " 获取授权码，以连接你的帐户并在 OpenCode 中使用 {{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": " 并输入以下代码，以连接你的帐户并在 OpenCode 中使用 {{provider}} 模型。",
  "provider.connect.oauth.auto.confirmationCode": "确认码",
  "provider.connect.toast.connected.title": "{{provider}} 已连接",
  "provider.connect.toast.connected.description": "现在可以使用 {{provider}} 模型了。",

  "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.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.remove": "移除模型",
  "provider.custom.models.add": "添加模型",
  "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": "重复",

  "provider.disconnect.toast.disconnected.title": "{{provider}} 已断开连接",
  "provider.disconnect.toast.disconnected.description": "{{provider}} 模型已不再可用。",

  "model.tag.free": "免费",
  "model.tag.latest": "最新",
  "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}}",

  "common.search.placeholder": "搜索",
  "common.goBack": "返回",
  "common.goForward": "前进",
  "common.loading": "加载中",
  "common.loading.ellipsis": "...",
  "common.cancel": "取消",
  "common.connect": "连接",
  "common.disconnect": "断开连接",
  "common.continue": "提交",
  "common.submit": "提交",
  "common.save": "保存",
  "common.saving": "保存中...",
  "common.default": "默认",
  "common.attachment": "附件",

  "prompt.placeholder.shell": "输入 shell 命令... {{example}}",
  "prompt.placeholder.normal": '随便问点什么... "{{example}}"',
  "prompt.placeholder.simple": "随便问点什么...",
  "prompt.placeholder.summarizeComments": "总结评论…",
  "prompt.placeholder.summarizeComment": "总结该评论…",
  "prompt.mode.shell": "Shell",
  "prompt.mode.normal": "Prompt",
  "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.dropzone.file.label": "拖放以 @提及文件",
  "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.attachment.remove": "移除附件",
  "prompt.action.send": "发送",
  "prompt.action.stop": "停止",
  "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": "发送提示失败",
  "prompt.toast.promptSendFailed.description": "无法获取会话",

  "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.auth.clickToAuthenticate": "点击进行授权",
  "mcp.status.disabled": "已禁用",

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

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

  "dialog.server.title": "服务器",
  "dialog.server.description": "切换此应用连接的 OpenCode 服务器。",
  "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.add.name": "服务器名称（可选）",
  "dialog.server.add.namePlaceholder": "Localhost",
  "dialog.server.add.username": "用户名（可选）",
  "dialog.server.add.password": "密码（可选）",
  "dialog.server.edit.title": "编辑服务器",
  "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": "查看上下文用量",

  "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.language.title": "语言",
  "toast.language.description": "已切换到{{language}}",
  "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.listFailed.title": "无法加载 {{project}} 的会话",
  "toast.update.title": "有可用更新",
  "toast.update.description": "OpenCode 有新版本 ({{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.report": "上报错误",
  "error.page.action.reported": "错误已上报",
  "error.page.action.checking": "检查中...",
  "error.page.action.checkUpdates": "检查更新",
  "error.page.action.updateTo": "更新到 {{version}}",
  "error.page.report.prefix": "请将此错误报告给 OpenCode 团队",
  "error.page.report.discord": "在 Discord 上",
  "error.page.version": "版本：{{version}}",
  "error.dev.rootNotFound": "未找到根元素。你是不是忘了把它添加到 index.html？或者 id 属性拼写错了？",
  "error.serverSync.connectFailed": "无法连接到服务器。是否有服务器正在 `{{url}}` 运行？",

  "directory.error.invalidUrl": "URL 中的目录无效。",

  "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}}" 启动失败。注意: OpenCode 暂不支持 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.description": "{{sessionTitle}}（{{projectName}}）需要权限",
  "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": "通过打开本地项目开始使用",
  "home.title": "主页",
  "home.projects": "项目",
  "home.project.add": "添加项目",
  "home.sessions.search.placeholder": "搜索会话",
  "home.sessions.search.sessions": "会话",
  "home.sessions.search.noResults": "未找到与 {{query}} 相关的会话",
  "home.sessions.empty": "未找到会话",
  "home.sessions.group.today": "今天",
  "home.sessions.group.yesterday": "昨天",
  "home.sessions.group.older": "更早",

  "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.noVcs": "未检测到 Git 版本控制系统，无法显示更改",
  "session.review.noSnapshot": "配置中已禁用快照跟踪，因此会话更改不可用",
  "session.review.noChanges": "无更改",
  "session.files.selectToOpen": "选择要打开的文件",
  "session.files.all": "所有文件",
  "session.files.empty": "无文件",
  "session.files.binaryContent": "二进制文件（无法显示内容）",
  "session.messages.renderEarlier": "显示更早的消息",
  "session.messages.loadingEarlier": "正在加载更早的消息...",
  "session.messages.loadEarlier": "加载更早的消息",
  "session.messages.loading": "正在加载消息...",
  "session.messages.jumpToLatest": "跳转到最新",
  "session.context.addToContext": "将 {{selection}} 添加到上下文",
  "session.todo.title": "待办事项",
  "session.todo.collapse": "折叠",
  "session.todo.expand": "展开",
  "session.followupDock.summary.one": "{{count}} 条排队消息",
  "session.followupDock.summary.other": "{{count}} 条排队消息",
  "session.followupDock.sendNow": "立即发送",
  "session.followupDock.edit": "编辑",
  "session.followupDock.collapse": "折叠排队消息",
  "session.followupDock.expand": "展开排队消息",
  "session.revertDock.summary.one": "{{count}} 条已回滚消息",
  "session.revertDock.summary.other": "{{count}} 条已回滚消息",
  "session.revertDock.collapse": "折叠已回滚消息",
  "session.revertDock.expand": "展开已回滚消息",
  "session.revertDock.restore": "恢复消息",
  "session.new.title": "构建任何东西",
  "session.new.worktree.main": "主分支",
  "session.new.worktree.mainWithBranch": "主分支（{{branch}}）",
  "session.new.worktree.create": "创建新的 worktree",
  "session.new.lastModified": "最后修改",
  "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.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": "OpenCode 提供免费模型，你可以立即开始使用。",
  "sidebar.gettingStarted.line2": "连接任意提供商即可使用更多模型，如 Claude、GPT、Gemini 等。",
  "sidebar.project.recentSessions": "最近会话",
  "sidebar.project.viewAllSessions": "查看全部会话",
  "sidebar.project.clearNotifications": "清除通知",

  "app.name.desktop": "OpenCode Desktop",

  "settings.section.desktop": "桌面",
  "settings.section.server": "服务器",

  "settings.tab.general": "通用",
  "settings.tab.shortcuts": "快捷键",

  "settings.desktop.section.wsl": "WSL",
  "settings.desktop.wsl.title": "WSL 集成",
  "settings.desktop.wsl.description": "在 Windows 的 WSL 环境中运行 OpenCode 服务器。",

  "settings.general.section.appearance": "外观",
  "settings.general.section.notifications": "系统通知",
  "settings.general.section.updates": "更新",
  "settings.general.section.sounds": "音效",
  "settings.general.section.feed": "动态",
  "settings.general.section.display": "显示",
  "settings.general.row.language.title": "语言",
  "settings.general.row.language.description": "更改 OpenCode 的显示语言",
  "settings.general.row.appearance.title": "外观",
  "settings.general.row.appearance.description": "自定义 OpenCode 在你的设备上的外观",
  "settings.general.row.colorScheme.title": "配色方案",
  "settings.general.row.colorScheme.description": "选择 OpenCode 跟随系统、浅色或深色主题",
  "settings.general.row.theme.title": "主题",
  "settings.general.row.theme.description": "自定义 OpenCode 的主题。",
  "settings.general.row.font.title": "代码字体",
  "settings.general.row.font.description": "自定义代码块使用的字体",
  "settings.general.row.terminalFont.title": "Terminal Font",
  "settings.general.row.terminalFont.description": "Customise the font used in the terminal",
  "settings.general.row.uiFont.title": "界面字体",
  "settings.general.row.uiFont.description": "自定义整个界面使用的字体",
  "settings.general.row.followup.title": "跟进消息行为",
  "settings.general.row.followup.description": "选择跟进提示是立即引导还是在队列中等待",
  "settings.general.row.followup.option.queue": "排队",
  "settings.general.row.followup.option.steer": "引导",
  "settings.general.row.reasoningSummaries.title": "显示推理摘要",
  "settings.general.row.reasoningSummaries.description": "在时间线中显示模型推理摘要",
  "settings.general.row.shellToolPartsExpanded.title": "展开 shell 工具部分",
  "settings.general.row.shellToolPartsExpanded.description": "默认在时间线中展开 shell 工具部分",
  "settings.general.row.editToolPartsExpanded.title": "展开编辑工具部分",
  "settings.general.row.editToolPartsExpanded.description": "默认在时间线中展开 edit、write 和 patch 工具部分",
  "settings.general.row.showSessionProgressBar.title": "显示会话进度条",
  "settings.general.row.showSessionProgressBar.description": "当智能体正在工作时，在会话顶部显示动画进度条",
  "settings.general.row.wayland.title": "使用原生 Wayland",
  "settings.general.row.wayland.description": "在 Wayland 上禁用 X11 回退。需要重启。",
  "settings.general.row.wayland.tooltip": "在混合刷新率显示器的 Linux 系统上，原生 Wayland 可能更稳定。",
  "settings.general.row.releaseNotes.title": "发行说明",
  "settings.general.row.releaseNotes.description": "更新后显示“新功能”弹窗",

  "settings.updates.row.startup.title": "启动时检查更新",
  "settings.updates.row.startup.description": "在 OpenCode 启动时自动检查更新",
  "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": "你正在使用最新版本的 OpenCode。",

  "sound.option.none": "无",
  "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.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.section.connected": "已连接的提供商",
  "settings.providers.connected.empty": "没有已连接的提供商",
  "settings.providers.section.popular": "热门提供商",
  "settings.providers.tag.environment": "环境",
  "settings.providers.tag.config": "配置",
  "settings.providers.tag.custom": "自定义",
  "settings.providers.tag.other": "其他",

  "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": "技能",
  "settings.permissions.tool.skill.description": "按名称加载技能",
  "settings.permissions.tool.lsp.title": "LSP",
  "settings.permissions.tool.lsp.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.external_directory.title": "外部目录",
  "settings.permissions.tool.external_directory.description": "访问项目目录之外的文件",
  "settings.permissions.tool.doom_loop.title": "死循环",
  "settings.permissions.tool.doom_loop.description": "检测具有相同输入的重复工具调用",

  "session.delete.failed.title": "删除会话失败",
  "session.delete.title": "删除会话",
  "session.delete.confirm": '删除会话 "{{name}}"？',
  "session.delete.button": "删除会话",

  "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": "这将把工作区重置为与默认分支一致。",
  "common.open": "打开",
  "dialog.releaseNotes.action.getStarted": "开始",
  "dialog.releaseNotes.action.next": "下一步",
  "dialog.releaseNotes.action.hideFuture": "不再显示",
  "dialog.releaseNotes.media.alt": "发布预览",
  "toast.project.reloadFailed.title": "无法重新加载 {{project}}",
  "error.server.invalidConfiguration": "配置无效",
  "common.moreCountSuffix": " (还有 {{count}} 个)",
  "common.time.justNow": "刚刚",
  "common.time.minutesAgo.short": "{{count}}分钟前",
  "common.time.hoursAgo.short": "{{count}}小时前",
  "common.time.daysAgo.short": "{{count}}天前",
  "settings.providers.connected.environmentDescription": "已通过环境变量连接",
  "settings.providers.custom.description": "通过基础 URL 添加与 OpenAI 兼容的提供商。",

  "app.server.unreachable": "无法连接到 {{server}}",
  "app.server.retrying": "正在自动重试...",
  "app.server.otherServers": "其他服务器",
  "dialog.server.add.usernamePlaceholder": "用户名",
  "dialog.server.add.passwordPlaceholder": "密码",
  "server.row.noUsername": "无用户名",
  "session.review.noVcs.createGit.title": "创建 Git 仓库",
  "session.review.noVcs.createGit.description": "在此项目中跟踪、审查和撤消更改",
  "session.review.noVcs.createGit.actionLoading": "正在创建 Git 仓库...",
  "session.review.noVcs.createGit.action": "创建 Git 仓库",
  "session.todo.progress": "已完成 {{done}} 个任务（共 {{total}} 个）",
  "session.question.progress": "{{current}}/{{total}} 个问题",
  "session.header.open.finder": "访达",
  "session.header.open.fileExplorer": "文件资源管理器",
  "session.header.open.fileManager": "文件管理器",
  "session.header.open.app.vscode": "VS Code",
  "session.header.open.app.cursor": "Cursor",
  "session.header.open.app.zed": "Zed",
  "session.header.open.app.textmate": "TextMate",
  "session.header.open.app.antigravity": "Antigravity",
  "session.header.open.app.terminal": "终端",
  "session.header.open.app.iterm2": "iTerm2",
  "session.header.open.app.ghostty": "Ghostty",
  "session.header.open.app.warp": "Warp",
  "session.header.open.app.xcode": "Xcode",
  "session.header.open.app.androidStudio": "Android Studio",
  "session.header.open.app.powershell": "PowerShell",
  "session.header.open.app.sublimeText": "Sublime Text",
  "debugBar.ariaLabel": "开发性能诊断",
  "debugBar.na": "不适用",
  "debugBar.nav.label": "NAV",
  "debugBar.nav.tip": "最后一次完成的涉及会话页面的路由转换，从路由器启动到稳定后的第一次绘制。",
  "debugBar.fps.label": "FPS",
  "debugBar.fps.tip": "过去 5 秒内的滚动帧率。",
  "debugBar.frame.label": "FRAME",
  "debugBar.frame.tip": "过去 5 秒内最差的帧时间。",
  "debugBar.jank.label": "JANK",
  "debugBar.jank.tip": "过去 5 秒内超过 32ms 的帧。",
  "debugBar.long.label": "LONG",
  "debugBar.long.tip": "过去 5 秒内的阻塞时间和长任务计数。最大任务：{{max}}。",
  "debugBar.delay.label": "DELAY",
  "debugBar.delay.tip": "过去 5 秒内观察到的最差输入延迟。",
  "debugBar.inp.label": "INP",
  "debugBar.inp.tip": "过去 5 秒内的近似交互持续时间。这类似于 INP，而非官方的 Web Vitals INP。",
  "debugBar.cls.label": "CLS",
  "debugBar.cls.tip": "当前应用生命周期的累积布局偏移。",
  "debugBar.mem.label": "MEM",
  "debugBar.mem.tipUnavailable": "使用的 JS 堆与堆限制。仅限 Chromium。",
  "debugBar.mem.tip": "使用的 JS 堆与堆限制。{{used}} / {{limit}}。",
  "common.key.ctrl": "Ctrl",
  "common.key.alt": "Alt",
  "common.key.shift": "Shift",
  "common.key.meta": "Meta",
  "common.key.space": "空格",
  "common.key.backspace": "退格",
  "common.key.enter": "回车",
  "common.key.tab": "Tab",
  "common.key.delete": "Delete",
  "common.key.home": "Home",
  "common.key.end": "End",
  "common.key.pageUp": "Page Up",
  "common.key.pageDown": "Page Down",
  "common.key.insert": "Insert",
  "common.unknown": "未知",
  "error.page.circular": "[循环]",
  "error.serverSDK.noServerAvailable": "无可用服务器",
  "error.serverSDK.serverNotAvailable": "服务器不可用",
  "error.childStore.persistedCacheCreateFailed": "创建持久化缓存失败",
  "error.childStore.persistedProjectMetadataCreateFailed": "创建持久化项目元数据失败",
  "error.childStore.persistedProjectIconCreateFailed": "创建持久化项目图标失败",
  "error.childStore.storeCreateFailed": "创建存储失败",
  "terminal.connectionLost.abnormalClose": "WebSocket 异常关闭：{{code}}",
} satisfies Partial<Record<Keys, string>>
