{
  "title": "设置",
  "general": {
    "title": "常规设置",
    "language": "语言",
    "languageDescription": "选择您偏好的显示语言。",
    "theme": "主题",
    "themeSystem": "跟随系统",
    "themeLight": "浅色",
    "themeDark": "深色",
    "zoom": "缩放级别",
    "zoomDescription": "调整缩放级别以便于阅读内容。",
    "selectZoom": "选择缩放级别",
    "appVersion": "应用版本：",
    "autoUpdate": "自动更新应用",
    "autoUpdateDescription": "当有新版本可用时，将自动更新应用。",
    "releaseChannel": "发布通道",
    "releaseChannelDescription": "控制应用使用的更新通道。",
    "stable": "稳定版",
    "beta": "测试版",
    "selectReleaseChannel": "选择发布通道",
    "runtimeMode": "运行时模式",
    "runtimeModeDescription": "选择用于运行应用的运行时。",
    "selectRuntimeMode": "选择运行时模式",
    "nodePath": "Node.js 路径配置",
    "browseForNode": "浏览 Node.js",
    "selecting": "选择中...",
    "resetToDefault": "恢复默认",
    "customPath": "自定义路径：",
    "systemPath": "系统 PATH：",
    "notFound": "未找到",
    "nodeConfigured": "Node.js 已正确配置，可以使用。",
    "nodeSelectFolder": "如果 Node.js 不在系统 PATH 中，请选择其安装文件夹。"
  },
  "workflow": {
    "title": "工作流设置",
    "defaultChatMode": "默认聊天模式",
    "defaultChatModeDescription": "控制打开新聊天时的默认聊天模式。",
    "selectDefaultChatMode": "选择默认聊天模式",
    "autoApprove": "自动批准更改",
    "autoApproveDescription": "将自动批准代码更改并运行。",
    "autoFixProblems": "自动修复问题",
    "autoFixProblemsDescription": "将自动修复 TypeScript 错误。"
  },
  "ai": {
    "title": "AI 设置",
    "thinkingBudget": "思考预算",
    "thinkingBudgetDescription": "控制 AI 模型的思考时长。更高的预算意味着更深入的推理。",
    "selectThinkingBudget": "选择思考预算",
    "low": "低",
    "medium": "中",
    "high": "高",
    "maxChatTurns": "上下文中最大聊天轮数",
    "maxChatTurnsDescription": "限制上下文中包含的最近聊天轮数。",
    "selectMaxChatTurns": "选择最大轮数",
    "unlimited": "无限制",
    "turnCount_one": "{{count}} 轮",
    "turnCount_other": "{{count}} 轮",
    "providers": "AI 提供商",
    "failedToLoadProviders": "加载 AI 提供商失败：{{message}}",
    "freeTierAvailable": "有免费套餐",
    "addCustomProvider": "添加自定义提供商",
    "connectCustomEndpoint": "连接到自定义 LLM API 端点",
    "editProvider": "编辑提供商",
    "deleteProvider": "删除提供商",
    "deleteCustomProvider": "删除自定义提供商",
    "deleteProviderConfirmation": "这将永久删除此自定义提供商及其所有关联模型。此操作无法撤销。",
    "deleteProviderAction": "删除提供商",
    "configureProvider": "配置 {{name}}",
    "setupComplete": "设置完成",
    "notSetup": "未设置",
    "createApiKey": "在 {{name}} 创建您的 API 密钥",
    "manageApiKeys": "管理 API 密钥",
    "setupApiKey": "设置 API 密钥",
    "providerNotFound": "未找到提供商",
    "providerNotFoundDescription": "未找到 ID 为「{{provider}}」的提供商。",
    "errorLoadingProvider": "加载提供商详情出错",
    "errorLoadingSettings": "加载设置出错",
    "couldNotLoadProvider": "无法加载提供商数据：{{message}}",
    "couldNotLoadSettings": "无法加载配置数据：{{message}}",
    "enableDyadPro": "启用 Dyad Pro",
    "toggleDyadPro": "切换以启用 Dyad Pro",
    "apiKeyEmpty": "API 密钥不能为空。",
    "errorTogglingPro": "切换 Dyad Pro 时出错：{{error}}",
    "failedSaveApiKey": "保存 API 密钥失败。",
    "failedDeleteApiKey": "删除 API 密钥失败。"
  },
  "telemetry": {
    "title": "遥测",
    "description": "这将记录匿名使用数据以改进产品。",
    "telemetryId": "遥测 ID：",
    "enable": "启用遥测",
    "privacyNotice": "我们使用匿名遥测数据来改进产品。不会收集个人数据。",
    "acceptAndContinue": "接受并继续"
  },
  "integrations": {
    "title": "集成"
  },
  "agentPermissions": {
    "title": "Agent 权限 (Pro)",
    "description": "配置 Agent 内置工具的权限。",
    "defaultAllowedTools": "默认允许的工具 ({{count}})",
    "ask": "询问",
    "alwaysAllow": "始终允许",
    "neverAllow": "从不允许"
  },
  "toolsMcp": {
    "title": "工具 (MCP)",
    "name": "名称",
    "namePlaceholder": "我的 MCP 服务器",
    "transport": "传输方式",
    "stdio": "stdio",
    "http": "http",
    "command": "命令",
    "commandPlaceholder": "node",
    "args": "参数",
    "argsPlaceholder": "path/to/mcp-server.js --flag",
    "url": "URL",
    "urlPlaceholder": "http://localhost:3000",
    "addServer": "添加服务器",
    "environmentVariables": "环境变量",
    "key": "键",
    "keyPlaceholder": "例如 PATH",
    "value": "值",
    "valuePlaceholder": "例如 /usr/local/bin",
    "addEnvVar": "添加环境变量",
    "noEnvVars": "未配置环境变量",
    "keyValueRequired": "键和值都是必填项",
    "duplicateKey": "该键名的环境变量已存在",
    "noToolsDiscovered": "未发现工具。",
    "noServersConfigured": "尚未配置服务器。",
    "prefilledServer": "已预填 {{name}} MCP 服务器",
    "deny": "拒绝"
  },
  "experiments": {
    "title": "实验性功能",
    "enableNativeGit": "启用原生 Git",
    "enableNativeGitDescription": "无需任何外部 Git 安装，提供更快的原生 Git 性能体验。"
  },
  "dangerZone": {
    "title": "危险区域",
    "resetEverything": "重置所有内容",
    "resetDescription": "这将删除您所有的应用、聊天记录和设置。此操作无法撤销。",
    "resetConfirmation": "您确定要重置所有内容吗？这将删除您所有的应用、聊天记录和设置。此操作无法撤销。",
    "resetting": "正在重置...",
    "resetSuccess": "已成功重置所有内容。请重新启动应用。"
  },
  "apiKey": {
    "fromSettings": "来自设置的 API 密钥",
    "currentKey": "当前密钥（设置）",
    "thisKeyActive": "此密钥当前处于活跃状态。",
    "setKey": "设置 {{name}} API 密钥",
    "updateKey": "更新 {{name}} API 密钥",
    "enterKey": "在此输入新的 {{name}} API 密钥",
    "pasteAndSave": "从剪贴板粘贴并保存",
    "saveKey": "保存密钥",
    "overrideEnvVar": "在此设置密钥将覆盖环境变量（如果已设置）。",
    "fromEnvVar": "来自环境变量的 API 密钥",
    "envVarKey": "环境变量密钥 ({{name}})",
    "envVarActive": "此密钥当前处于活跃状态（未设置设置密钥）。",
    "envVarOverridden": "此密钥当前被设置中的密钥覆盖。",
    "envVarNotSet": "环境变量未设置",
    "envVarNotSetDescription": "{{name}} 环境变量未设置。",
    "envVarHelpText": "此密钥在应用外部设置。如果存在，仅在上方设置部分未配置密钥时使用。需要重启应用才能检测到更改。"
  },
  "azure": {
    "configured": "Azure OpenAI 已配置",
    "configuredDescription": "Dyad 将使用设置中保存的凭据来访问 Azure OpenAI 模型。",
    "usingEnvVars": "使用环境变量",
    "usingEnvVarsDescription": "AZURE_API_KEY 和 AZURE_RESOURCE_NAME 已设置。下方保存的值将覆盖它们。",
    "configRequired": "需要配置 Azure OpenAI",
    "configRequiredDescription": "请在下方提供您的 Azure 资源名称和 API 密钥，或配置 AZURE_API_KEY 和 AZURE_RESOURCE_NAME 环境变量。",
    "resourceName": "资源名称",
    "resourceNamePlaceholder": "your-azure-openai-resource",
    "apiKey": "API 密钥",
    "apiKeyPlaceholder": "输入您的 Azure OpenAI API 密钥",
    "saveSettings": "保存设置",
    "saved": "已保存",
    "configNeeded": "需要配置",
    "configNeededDescription": "Azure OpenAI 请求需要资源名称和 API 密钥。请在上方输入，或提供环境变量。",
    "saveError": "保存错误",
    "envVarsOptional": "环境变量（可选）",
    "envVarsHelpText": "您可以继续通过环境变量配置 Azure。如果两个变量都存在且未保存设置，Dyad 将自动使用它们。",
    "envVarsPrecedence": "设置中保存的值优先于环境变量。更改环境变量后请重启 Dyad。"
  },
  "vertex": {
    "projectId": "项目 ID",
    "projectIdPlaceholder": "your-gcp-project-id",
    "location": "区域",
    "locationPlaceholder": "us-central1",
    "locationHelp": "如果出现「模型未找到」错误，请尝试其他区域。某些合作伙伴模型 (MaaS) 仅在特定区域可用（例如 us-central1、us-west2）。",
    "serviceAccountKey": "服务账户 JSON 密钥",
    "serviceAccountKeyPlaceholder": "在此粘贴您的服务账户密钥的完整 JSON 内容",
    "saveSettings": "保存设置",
    "saved": "已保存",
    "configRequired": "需要配置",
    "configRequiredDescription": "请提供项目、区域和具有 Vertex AI 访问权限的服务账户 JSON 密钥。",
    "saveError": "保存错误",
    "invalidJson": "服务账户 JSON 无效：{{message}}"
  },
  "models": {
    "title": "模型",
    "description": "管理此提供商可用的特定模型。",
    "errorLoading": "加载模型出错",
    "noCustomModels": "尚未为此提供商添加自定义模型。",
    "addCustomModel": "添加自定义模型",
    "deleteConfirmTitle": "确定要删除此模型吗？",
    "deleteConfirmDescription": "此操作无法撤销。这将永久删除自定义模型「{{name}}」（API 名称：{{apiName}}）。",
    "yesDeleteIt": "是的，删除它",
    "contextTokens": "上下文：{{count}} 令牌",
    "maxOutputTokens": "最大输出：{{count}} 令牌",
    "modelIdRequired": "模型 API 名称为必填项",
    "modelNameRequired": "模型显示名称为必填项",
    "invalidMaxOutput": "最大输出令牌数必须是有效数字",
    "invalidContextWindow": "上下文窗口必须是有效数字",
    "addModelTitle": "添加自定义模型",
    "addModelDescription": "为所选提供商配置新的语言模型。",
    "editModelTitle": "编辑自定义模型",
    "editModelDescription": "修改所选语言模型的配置。",
    "modelId": "模型 ID*",
    "modelIdHelp": "必须与 API 期望的模型匹配",
    "modelName": "名称*",
    "modelNameHelp": "模型的友好显示名称",
    "modelDescription": "描述",
    "modelDescriptionHelp": "可选：描述模型的功能",
    "maxOutputTokensLabel": "最大输出令牌数",
    "maxOutputTokensHelp": "可选：例如 4096",
    "contextWindowLabel": "上下文窗口",
    "contextWindowHelp": "可选：例如 8192",
    "adding": "添加中...",
    "addModel": "添加模型",
    "updateModel": "更新模型",
    "modelCreated": "自定义模型创建成功！",
    "modelUpdated": "自定义模型更新成功！",
    "failedUpdateSettings": "更新设置失败"
  },
  "customProvider": {
    "addTitle": "添加自定义提供商",
    "editTitle": "编辑自定义提供商",
    "addDescription": "连接到自定义语言模型提供商 API。",
    "editDescription": "更新您的自定义语言模型提供商配置。",
    "providerId": "提供商 ID",
    "providerIdPlaceholder": "例如 my-provider",
    "providerIdHelp": "此提供商的唯一标识符（不含空格）。",
    "displayName": "显示名称",
    "displayNamePlaceholder": "例如 我的提供商",
    "displayNameHelp": "将在界面中显示的名称。",
    "apiBaseUrl": "API 基础 URL",
    "apiBaseUrlPlaceholder": "例如 https://api.example.com/v1",
    "apiBaseUrlHelp": "API 端点的基础 URL。",
    "envVar": "环境变量（可选）",
    "envVarPlaceholder": "例如 MY_PROVIDER_API_KEY",
    "envVarHelp": "API 密钥的环境变量名称。",
    "addProvider": "添加提供商",
    "updateProvider": "更新提供商",
    "failedCreate": "创建自定义提供商失败"
  },
  "manageDyadPro": "管理 Dyad Pro 订阅",
  "setupDyadPro": "设置 Dyad Pro 订阅"
}
