{
  "title": "设置",
  "subtitle": "配置您的 ClawX 体验",
  "appearance": {
    "title": "通用",
    "description": "自定义外观和风格",
    "theme": "主题",
    "light": "浅色",
    "dark": "深色",
    "system": "跟随系统",
    "language": "语言",
    "launchAtStartup": "开机自动启动",
    "launchAtStartupDesc": "登录系统后自动启动 ClawX"
  },
  "aiProviders": {
    "title": "AI 模型提供商",
    "description": "配置 AI 模型提供商和 API 密钥",
    "overview": {
      "title": "提供商账户",
      "description": "这里汇总当前已配置的 provider 账户与模型信息。",
      "noModelSelected": "未选择模型",
      "multiAccountReady": "支持多账户",
      "singletonVendor": "单例提供商"
    },
    "authModes": {
      "apiKey": "API 密钥",
      "oauthDevice": "OAuth 设备登录",
      "oauthBrowser": "OAuth 浏览器登录",
      "local": "本地"
    },
    "sections": {
      "model": "模型配置",
      "fallback": "回退配置"
    },
    "add": "添加提供商",
    "custom": "自定义",
    "notRequired": "非必填",
    "empty": {
      "title": "未配置提供商",
      "desc": "添加 AI 提供商以开始使用 ClawX",
      "cta": "添加您的第一个提供商"
    },
    "dialog": {
      "title": "添加 AI 提供商",
      "desc": "配置新的 AI 模型提供商",
      "displayName": "显示名称",
      "apiKey": "API 密钥",
      "apiKeyConfigured": "这个 provider 已经保存了 API key。",
      "apiKeyMissing": "这个 provider 还没有保存 API key。",
      "apiKeyStored": "您的 API 密钥存储在本地机器上。",
      "replaceApiKey": "替换 API Key",
      "replaceApiKeyHelp": "如果想保留当前已保存的 API key，这里留空即可。",
      "baseUrl": "基础 URL",
      "modelId": "模型 ID",
      "codePlanPreset": "Code Plan 预设",
      "codePlanMode": "Code Plan",
      "useCodePlanPreset": "使用 Ark Code Plan 预设",
      "codePlanPresetDesc": "Code Plan 使用 https://ark.cn-beijing.volces.com/api/coding/v3 与模型 ark-code-latest。请勿把 /api/v3 用于 Code Plan 流量。",
      "codePlanDoc": "Code Plan 文档",
      "protocol": "协议",
      "advancedConfig": "高级配置",
      "userAgent": "User-Agent",
      "userAgentPlaceholder": "ClawX/1.0",
      "fallbackModels": "回退模型",
      "fallbackProviders": "跨 Provider 回退",
      "fallbackModelIds": "同 Provider 回退模型 ID",
      "fallbackModelIdsPlaceholder": "gpt-4.1-mini\nanother-model-id",
      "fallbackModelIdsHelp": "每行一个模型 ID。会先使用当前 provider 的这些模型，再回退到其他 provider。",
      "noFallbackOptions": "请先添加其他 provider，才能把它设为回退目标。",
      "cancel": "取消",
      "change": "更换提供商",
      "add": "添加提供商",
      "save": "保存",
      "customDoc": "查看文档",
      "validate": "验证"
    },
    "card": {
      "default": "默认",
      "configured": "已配置",
      "noKey": "未设置 API 密钥",
      "none": "无",
      "fallbacks_one": "回退：{{names}}",
      "fallbacks_other": "回退（{{count}} 个）：{{names}}",
      "setDefault": "设为默认",
      "editKey": "编辑 API 密钥",
      "delete": "删除提供商"
    },
    "protocols": {
      "openai": "OpenAI 兼容",
      "openaiCompletions": "OpenAI Completions",
      "openaiResponses": "OpenAI Responses",
      "anthropic": "Anthropic 兼容"
    },
    "toast": {
      "added": "提供商添加成功",
      "failedAdd": "添加提供商失败",
      "deleted": "提供商已删除",
      "failedDelete": "删除提供商失败",
      "defaultUpdated": "默认提供商已更新",
      "failedDefault": "设置默认失败",
      "updated": "提供商已更新",
      "failedUpdate": "更新提供商失败",
      "invalidKey": "无效的 API 密钥",
      "modelRequired": "需要模型 ID",
      "minimaxConflict": "不能同时添加 MiniMax 国际站和国内站的服务商。"
    },
    "oauth": {
      "loginMode": "OAuth 登录",
      "apikeyMode": "API 密钥",
      "loginPrompt": "此提供商需要通过浏览器登录授权。",
      "loginButton": "浏览器登录",
      "getApiKey": "获取 API 密钥",
      "waiting": "等待中...",
      "openLoginPage": "打开登录页面",
      "waitingApproval": "等待浏览器中的授权...",
      "cancel": "取消",
      "codeCopied": "代码已复制到剪贴板",
      "authFailed": "认证失败",
      "browserFlowUnavailable": "该提供商的浏览器 OAuth 登录链路暂未接通。",
      "tryAgain": "重试",
      "approveLogin": "确认登录",
      "step1": "复制下方的授权码。",
      "step2": "在浏览器中打开登录页面。",
      "step3": "粘贴授权码以批准访问。",
      "requestingCode": "正在获取安全登录码..."
    }
  },
  "gateway": {
    "title": "网关",
    "description": "OpenClaw 网关设置",
    "status": "状态",
    "port": "端口",
    "logs": "日志",
    "appLogs": "应用日志",
    "openFolder": "打开文件夹",
    "autoStart": "自动启动网关",
    "autoStartDesc": "ClawX 启动时自动启动网关",
    "proxyTitle": "代理",
    "proxyDesc": "让 Electron 和 Gateway 的网络请求都走本地代理客户端。",
    "proxyServer": "代理服务器",
    "proxyServerHelp": "所有请求默认使用的代理。只填 host:port 时默认按 HTTP 处理。",
    "proxyHttpServer": "HTTP 代理",
    "proxyHttpServerHelp": "HTTP 请求的高级覆盖项。留空时使用“代理服务器”。",
    "proxyHttpsServer": "HTTPS 代理",
    "proxyHttpsServerHelp": "HTTPS 请求的高级覆盖项。留空时使用“代理服务器”。",
    "proxyAllServer": "ALL_PROXY / SOCKS",
    "proxyAllServerHelp": "支持 SOCKS 的客户端和 Telegram 等协议的高级兜底代理。留空时使用“代理服务器”。",
    "showAdvancedProxy": "显示高级代理字段",
    "hideAdvancedProxy": "隐藏高级代理字段",
    "proxyBypass": "绕过规则",
    "proxyBypassHelp": "使用分号、逗号或换行分隔需要直连的主机。",
    "proxyRestartNote": "保存后会立即重新应用 Electron 网络代理，并自动重启 Gateway。若代理已关闭，Gateway 常规重启会保留 Telegram 频道已有代理；如需清空，请在关闭代理后手动保存一次。",
    "proxySaved": "代理设置已保存",
    "proxySaveFailed": "保存代理设置失败"
  },
  "updates": {
    "title": "更新",
    "description": "保持 ClawX 最新",
    "autoCheck": "自动检查更新",
    "autoCheckDesc": "启动时检查更新",
    "autoDownload": "自动更新",
    "autoDownloadDesc": "自动下载并安装更新",
    "status": {
      "checking": "正在检查更新...",
      "downloading": "正在下载更新...",
      "available": "可用更新：v{{version}}",
      "downloaded": "准备安装：v{{version}}",
      "autoInstalling": "将在 {{seconds}} 秒后重启并安装更新...",
      "failed": "检查更新失败",
      "latest": "您已拥有最新版本",
      "check": "检查更新以获取最新功能"
    },
    "action": {
      "checking": "检查中...",
      "downloading": "下载中...",
      "download": "下载更新",
      "install": "安装并重启",
      "cancelAutoInstall": "取消",
      "retry": "重试",
      "check": "检查更新"
    },
    "currentVersion": "当前版本",
    "whatsNew": "更新内容：",
    "errorDetails": "错误详情：",
    "help": "开启自动更新后，更新将自动下载并安装。"
  },
  "advanced": {
    "title": "高级",
    "description": "高级选项",
    "transport": {
      "label": "网关传输策略",
      "desc": "选择渲染进程访问网关 RPC 的优先协议：WebSocket、HTTP 代理或 IPC 回退。",
      "saved": "网关传输策略已保存",
      "options": {
        "wsFirst": "WS 优先",
        "httpFirst": "HTTP 优先",
        "wsOnly": "仅 WS",
        "httpOnly": "仅 HTTP",
        "ipcOnly": "仅 IPC"
      },
      "descriptions": {
        "wsFirst": "WS -> HTTP -> IPC",
        "httpFirst": "HTTP -> WS -> IPC",
        "wsOnly": "WS -> IPC",
        "httpOnly": "HTTP -> IPC",
        "ipcOnly": "仅 IPC"
      }
    },
    "devMode": "开发者模式",
    "devModeDesc": "显示开发者工具和快捷方式",
    "telemetry": "匿名使用数据",
    "telemetryDesc": "允许提供匿名的基础使用数据，用于改进 ClawX"
  },
  "developer": {
    "title": "开发者",
    "description": "开发者高级选项",
    "console": "OpenClaw 控制台",
    "consoleDesc": "访问原生 OpenClaw 管理界面",
    "openConsole": "打开开发者控制台",
    "consoleNote": "使用注入的网关令牌打开控制台",
    "gatewayToken": "网关令牌",
    "gatewayTokenDesc": "如果需要，将此粘贴到控制台设置中",
    "tokenUnavailable": "令牌不可用",
    "tokenCopied": "网关令牌已复制",
    "cli": "OpenClaw CLI",
    "cliDesc": "复制命令以运行 OpenClaw，无需修改 PATH。",
    "cliPowershell": "PowerShell 命令。",
    "cmdUnavailable": "命令不可用",
    "cmdCopied": "CLI 命令已复制",
    "doctor": "OpenClaw Doctor 诊断",
    "doctorDesc": "运行 `openclaw doctor` 并查看原始诊断输出。",
    "runDoctor": "运行 Doctor",
    "runDoctorFix": "运行 Doctor 并修复",
    "doctorSucceeded": "OpenClaw doctor 已完成",
    "doctorFailed": "OpenClaw doctor 检测到问题",
    "doctorRunFailed": "运行 OpenClaw doctor 失败",
    "doctorFixSucceeded": "OpenClaw doctor 修复已完成",
    "doctorFixFailed": "OpenClaw doctor 修复后仍有问题",
    "doctorFixRunFailed": "运行 OpenClaw doctor 修复失败",
    "doctorCopied": "诊断输出已复制",
    "doctorOk": "正常",
    "doctorIssue": "发现问题",
    "doctorFixOk": "已修复",
    "doctorFixIssue": "修复失败",
    "doctorExitCode": "退出码",
    "doctorDuration": "耗时",
    "doctorCommand": "命令",
    "doctorWorkingDir": "工作目录",
    "doctorError": "错误",
    "doctorStdout": "标准输出",
    "doctorStderr": "标准错误",
    "doctorOutputEmpty": "（空）",
    "wsDiagnostic": "WS 诊断模式",
    "wsDiagnosticDesc": "临时启用 WS/HTTP 回退链，用于网关 RPC 调试。",
    "wsDiagnosticEnabled": "已启用 WS 诊断模式",
    "wsDiagnosticDisabled": "已关闭 WS 诊断模式",
    "telemetryViewer": "埋点查看器",
    "telemetryViewerDesc": "仅本地 UX/性能埋点，显示最近 200 条。",
    "telemetryAggregated": "事件聚合",
    "telemetryTotal": "总数",
    "telemetryErrors": "错误",
    "telemetrySlow": "慢请求（>=800ms）",
    "telemetryEmpty": "暂无埋点",
    "telemetryCopied": "埋点已复制",
    "telemetryCleared": "埋点已清空",
    "installCmd": "安装 \"openclaw\" 命令",
    "installCmdDesc": "安装 ~/.local/bin/openclaw（无需管理员权限）",
    "installTitle": "安装 OpenClaw 命令",
    "installMessage": "安装 \"openclaw\" 命令？",
    "installDetail": "这将创建 ~/.local/bin/openclaw。确保 ~/.local/bin 在您的 PATH 中。"
  },
  "about": {
    "title": "关于",
    "appName": "ClawX",
    "tagline": "图形化 AI 助手",
    "basedOn": "基于 OpenClaw",
    "version": "版本 {{version}}",
    "docs": "官网",
    "github": "GitHub",
    "faq": "常见问题"
  }
}
