/* 简体中文 */

// MARK: - Migration
"migration.alertTitle" = "数据库升级失败";
"migration.alertMessage" = "数据库无法迁移到新版本。你可以重置数据库并重启应用，但所有现有数据（会话、智能体、设置）将永久丢失。也可以选择退出应用，不做任何更改。";
"migration.resetAndRestart" = "重置并重启";
"migration.exitApp" = "退出应用";

// MARK: - Launch Tasks
"launch.cleaningUp" = "正在清理…";
"launch.buildingIndex" = "正在构建搜索索引…";

// MARK: - Tabs
"tabs.sessions" = "会话";
"tabs.agents" = "智能体";
"tabs.skills" = "技能";
"tabs.settings" = "设置";

// MARK: - Common
"common.save" = "保存";
"common.cancel" = "取消";
"common.delete" = "删除";
"common.create" = "创建";
"common.edit" = "编辑";
"common.done" = "完成";
"common.copy" = "复制";
"common.copied" = "已复制";
"common.dismiss" = "关闭";
"common.enable" = "启用";
"common.disable" = "禁用";
"common.default" = "默认";
"common.active" = "活跃";
"common.preview" = "预览";
"common.empty" = "*空*";
"common.refresh" = "刷新";
"common.add" = "添加";
"common.name" = "名称";
"common.unknown" = "未知";
"common.confirm" = "确定";
"common.import" = "导入";

// MARK: - Chat
"chat.messagePlaceholder" = "输入消息…";
"chat.cancelling" = "正在中止…";
"chat.skillActivated" = "%@ 已激活——请提问。";
"chat.thinking" = "思考中…";
"chat.compressingContext" = "正在压缩上下文…";
"chat.renameSession" = "重命名会话";
"chat.rename" = "重命名";
"chat.compressContext" = "压缩上下文";
"chat.title" = "标题";
"chat.openLink" = "打开链接";
"chat.share" = "分享";
"chat.loadingImage" = "加载图片中…";
"chat.imageLoadFailed" = "图片加载失败";
"chat.newChat" = "新对话";
"chat.aborted" = "\n\n⚠️ *[已中止]*";
"chat.toolCallAborted" = "⚠️ *[工具调用已中止]*";
"chat.noAgent" = "此会话未关联智能体";
"chat.noCompressModel" = "没有可用的模型来执行压缩";
"chat.sessionBlocked" = "「%@」正在处理中，同一智能体同时只允许一个活跃会话。";
"chat.compressionInfo" = "上下文 ≈%@ / %@ | %d 条消息（%d 条已压缩）";
"chat.tokenUsage" = "%@ / %@ tokens";
"chat.messageStats" = "%d 条消息（%d 条已压缩）";
"chat.pendingCompression" = "压缩 %d 条消息";
"chat.compressedBadge" = "%d 条已压缩";
"chat.cancelStuckReason" = "停止耗时超出预期 — 可能有工具调用仍在执行中，即将强制停止…";
"chat.forceStoppedContent" = "\n\n⚠️ *[已强制停止 — 某个工具调用无法及时中断]*";
"chat.deleteSessionTitle" = "删除会话";
"chat.deleteSessionMessage" = "此会话及其所有消息将被永久删除，此操作无法撤销。";
"chat.deleteAgentTitle" = "删除智能体";
"chat.deleteAgentMessage" = "智能体「%@」及其所有会话、子智能体和数据将被永久删除，此操作无法撤销。";
"chat.thinkingProcess" = "思考过程";
"chat.addMedia" = "添加媒体";
"chat.photosAndVideos" = "照片和视频";
"chat.camera" = "拍摄";
"chat.pasteFromClipboard" = "从剪贴板粘贴";
"chat.chooseFile" = "选择文件";
"chat.imagePlaceholder" = "[图片]";
"chat.saveImageToPhotos" = "保存图片";
"chat.imageSaved" = "已保存到相册";
"chat.copyImage" = "拷贝图片";
"chat.imageDeleted" = "图片已删除";
"chat.videoDeleted" = "视频已删除";
"chat.modalityStripped" = "已暂时移除上下文中的 %d 张图片 — %@ 不支持视觉能力";
"chat.toolUseUnsupported" = "%@ 不支持工具调用 — 浏览器、子智能体、代码执行等功能将不可用。";
"chat.exportSession" = "导出会话";
"chat.retry" = "重试";
"chat.retryHint" = "生成已停止，可以重试或发送新消息。";
"chat.verbose" = "详细";
"chat.silent" = "静默";
"chat.switchToSilent" = "切换到静默模式";
"chat.switchToVerbose" = "切换到详细模式";
"chat.silentThinking" = "思考中（第 %d 轮）…";
"chat.silentRunningTool" = "正在执行 %@…";
"chat.displayModeScope" = "应用于 %@ 的所有会话";
"chat.doubleTapToExpand" = "双击单元格查看完整内容";
"chat.cellDetail" = "单元格详情";
"chat.videoSubmitting" = "提交中...";
"chat.videoSubmitted" = "任务已提交";
"chat.videoGenerating" = "生成视频中 (%d秒)";
"chat.videoDownloading" = "下载视频中...";
"chat.videoCompleted" = "视频完成";
"chat.videoFailed" = "失败：%@";

// MARK: - Agents
"agents.title" = "智能体";
"agents.newAgent" = "新建智能体";
"agents.agentName" = "智能体名称";
"agents.createAgent" = "创建智能体";
"agents.noAgents" = "暂无智能体";
"agents.createAgentDescription" = "创建一个 AI 智能体以开始使用。";
"agents.enterName" = "请输入新智能体的名称。";
"agents.renameAgent" = "重命名智能体";

// MARK: - Agent Detail
"agentDetail.config" = "配置";
"agentDetail.modelConfig" = "模型配置";
"agentDetail.skills" = "技能";
"agentDetail.cronJobs" = "定时任务";
"agentDetail.customConfigs" = "自定义配置";
"agentDetail.subAgents" = "子智能体";
"agentDetail.codeSnippets" = "代码片段";
"agentDetail.newConfig" = "新建配置";
"agentDetail.keyPlaceholder" = "键名（如 RULES）";
"agentDetail.noSubAgents" = "暂无子智能体";
"agentDetail.subAgentsDescription" = "子智能体由 AI 在对话过程中创建。";
"agentDetail.sessionsCount" = "%d 个会话";
"agentDetail.msgsCount" = "%d 条消息";
"agentDetail.subAgentsTitle" = "子智能体（%d）";
"agentDetail.noCodeSnippets" = "暂无代码片段";
"agentDetail.codeSnippetsDescription" = "代码片段由 AI 智能体保存。";
"agentDetail.snippetInfo" = "信息";
"agentDetail.snippetName" = "名称";
"agentDetail.snippetLanguage" = "语言";
"agentDetail.snippetCode" = "代码";
"agentDetail.newSnippet" = "新建代码片段";
"agentDetail.applePermissions" = "Apple 权限";

// MARK: - Apple Permissions
"applePermissions.title" = "Apple 权限";
"applePermissions.description" = "配置此智能体可以访问哪些 Apple 系统功能。读取允许查询数据；写入允许创建、修改或删除数据。相同的权限级别也会作用于代码执行所使用的对应 `apple.*` JavaScript API，以及任何封装它的已安装技能（例如 Health Plus）。";
"applePermissions.readWrite" = "读写";
"applePermissions.readOnly" = "仅读取";
"applePermissions.writeOnly" = "仅写入";
"applePermissions.disabled" = "禁用";
"applePermissions.enableAll" = "全部启用（读写）";
"applePermissions.readOnlyAll" = "全部设为仅读取";
"applePermissions.disableAll" = "全部禁用";
"applePermissions.calendar" = "日历";
"applePermissions.reminders" = "提醒事项";
"applePermissions.contacts" = "通讯录";
"applePermissions.clipboard" = "剪贴板";
"applePermissions.notifications" = "通知";
"applePermissions.location" = "位置";
"applePermissions.map" = "地图";
"applePermissions.health" = "健康";
"applePermissions.summaryReadWrite" = "%d 个工具已启用";
"applePermissions.summaryReadOnly" = "%d 个读取工具已启用";
"applePermissions.summaryWriteOnly" = "%d 个写入工具已启用";
"applePermissions.summaryDisabled" = "所有工具已禁用";

// MARK: - Model Config
"modelConfig.title" = "模型配置";
"modelConfig.globalDefault" = "全局默认";
"modelConfig.primaryModel" = "主模型";
"modelConfig.primaryModelFooter" = "此智能体对话使用的主要模型。";
"modelConfig.noFallback" = "未配置备用模型";
"modelConfig.addFallback" = "添加备用模型";
"modelConfig.fallbackChain" = "备用模型链";
"modelConfig.fallbackFooter" = "当主模型失败时，将按顺序尝试这些模型。拖拽可调整顺序。";
"modelConfig.inheritFromPrimary" = "继承主模型";
"modelConfig.subAgentModel" = "子智能体模型";
"modelConfig.subAgentDefault" = "子智能体默认";
"modelConfig.subAgentFooter" = "此智能体创建的子智能体的默认模型。";
"modelConfig.compressionThreshold" = "压缩阈值（tokens）";
"modelConfig.defaultThreshold" = "默认（%d）";
"modelConfig.systemDefault" = "0 = 系统默认";
"modelConfig.resetDefault" = "恢复默认";
"modelConfig.contextCompression" = "上下文压缩";
"modelConfig.compressionFooter" = "当会话的累计 token 超过此阈值时，自动压缩旧消息为摘要。调高可保留更多原始上下文，但会增加 API 开销。";
"modelConfig.noToolUse" = "%@ — 不支持工具调用";
"modelConfig.noToolUse" = "%@ — 不支持工具调用";
"modelConfig.noModels" = "没有可用模型 - 请在设置中配置服务商";
"modelConfig.override" = "（覆盖）";
"modelConfig.primary" = "主要";
"modelConfig.fallback" = "备用";
"modelConfig.subAgent" = "子智能体";
"modelConfig.resolutionOrder" = "解析顺序";
"modelConfig.resolutionFooter" = "模型将按此顺序尝试。同一服务商可以使用不同的模型出现多次。";
"modelConfig.modelWhitelist" = "模型白名单";
"modelConfig.whitelistAllModels" = "允许所有可用模型";
"modelConfig.addToWhitelist" = "添加到白名单";
"modelConfig.clearWhitelist" = "清空白名单";
"modelConfig.whitelistFooter" = "限制子智能体和工具调用可使用的模型。为空时允许所有可用模型。";
"modelConfig.whitelistStaleWarning" = "%d 条白名单条目引用了已删除的服务商/模型";
"modelConfig.whitelistMissingPrimary" = "主模型不在白名单中 - 智能体将无法发送消息";
"modelConfig.whitelistMissingSubAgent" = "子智能体默认模型不在白名单中";
"modelConfig.thinkingLevel" = "思考等级";
"modelConfig.thinkingLevelUseModelDefault" = "使用模型默认";
"modelConfig.thinkingLevelFooter" = "覆盖此智能体的模型默认思考等级。Extra High 仅 Opus 4.7 或 DeepSeek v4 支持；Max 需要 Opus 4.5+、Sonnet 4.6+ 或 DeepSeek v4。请求时会自动钳制不支持的等级。";
"modelConfig.imageProvider" = "图片生成模型";
"modelConfig.imageProviderNone" = "未启用";
"modelConfig.imageGenerationHeader" = "图片生成";
"modelConfig.imageProviderFooter" = "选择 generate_image 工具使用的模型。仅显示具有图片生成能力的模型。配置后，智能体可通过工具调用生成图片。";
"modelConfig.videoProvider" = "视频生成模型";
"modelConfig.videoProviderNone" = "未启用";
"modelConfig.videoGenerationHeader" = "视频生成";
"modelConfig.videoProviderFooter" = "选择 generate_video 工具使用的模型。仅显示具有视频生成能力的模型。视频生成通常需要 1-5 分钟。";
"modelConfig.i2vProvider" = "图生视频模型";
"modelConfig.i2vSameAsT2V" = "与文生视频相同";

// MARK: - Cron Jobs
"cronJobs.title" = "定时任务";
"cronJobs.noCronJobs" = "暂无定时任务";
"cronJobs.noCronJobsDescription" = "在此创建周期性任务，或让 AI 智能体为你创建。";
"cronJobs.shortcutsTrigger" = "快捷指令辅助触发";
"cronJobs.shortcutsDescription" = "使用 Apple 快捷指令确保任务可靠执行";
"cronJobs.runsCount" = "%d 次运行";
"cronJobs.nextPrefix" = "下次：";
"cronJobs.jobInfo" = "任务信息";
"cronJobs.schedule" = "调度";
"cronJobs.description" = "描述";
"cronJobs.enabled" = "已启用";
"cronJobs.jobHint" = "任务提示";
"cronJobs.statistics" = "统计";
"cronJobs.totalRuns" = "总运行次数";
"cronJobs.lastRun" = "上次运行";
"cronJobs.ago" = "前";
"cronJobs.nextRun" = "下次运行";
"cronJobs.created" = "创建时间";
"cronJobs.triggerURL" = "触发 URL";
"cronJobs.viewShortcutsGuide" = "查看快捷指令设置指引";
"cronJobs.shortcutsIntegration" = "快捷指令集成";
"cronJobs.shortcutsIntegrationFooter" = "通过 Apple 快捷指令的「自动化」功能，使用此 URL 确保定时任务可靠触发。";
"cronJobs.lastSession" = "上次会话";
"cronJobs.editJob" = "编辑任务";
"cronJobs.newCronJob" = "新建定时任务";
"cronJobs.basic" = "基本";
"cronJobs.jobName" = "任务名称";
"cronJobs.cronExpression" = "Cron 表达式";
"cronJobs.nextFire" = "下次执行：";
"cronJobs.cronFormat" = "格式：分 时 日 月 星期\n预设：@hourly @daily @weekly @monthly @yearly";
"cronJobs.quickPresets" = "快捷预设";
"cronJobs.everyHour" = "每小时";
"cronJobs.daily9am" = "每天 9 点";
"cronJobs.weekdays9am" = "工作日 9 点";
"cronJobs.weeklyMon" = "每周一";
"cronJobs.every30min" = "每 30 分钟";
"cronJobs.monthly1st" = "每月 1 日";
"cronJobs.jobHintFooter" = "每次任务触发时，此提示将发送给 LLM。";

// MARK: - Shortcuts Guide
"shortcuts.title" = "快捷指令指引";
"shortcuts.headerTitle" = "使用快捷指令辅助触发定时任务";
"shortcuts.headerSubtitle" = "确保 Cron Job 在后台也能可靠执行";
"shortcuts.whyNeeded" = "为什么需要快捷指令？";
"shortcuts.whyDescription" = "iOS 对后台任务有严格限制。系统可能延迟或跳过 BGAppRefreshTask，导致定时任务无法准时触发。通过 Apple 快捷指令的「自动化」搭配 iClaw 的 App Intent（或 URL Scheme 作为备用方案），可以让定时任务在指定时间可靠地执行。";

"shortcuts.appIntentSection" = "推荐方式：App Intent（无需解锁）";
"shortcuts.appIntentDescription" = "使用 iClaw 原生 App Intent，让快捷指令自动化在后台直接执行定时任务，不会把 app 拉到前台。设备锁屏时也能执行，不会触发 Face ID 或密码验证。";
"shortcuts.appIntentStep1Title" = "创建个人自动化";
"shortcuts.appIntentStep1Detail" = "在「快捷指令」App 中前往 自动化 → 创建个人自动化 → 特定时间，设置触发时间。";
"shortcuts.appIntentStep2Title" = "添加 iClaw 操作";
"shortcuts.appIntentStep2Detail" = "点击「添加操作」，搜索「iClaw」，选择「Run Due Cron Jobs」（或「Trigger Cron Job」按名称指定某个任务）。";
"shortcuts.appIntentStep3Title" = "开启「立即执行」";
"shortcuts.appIntentStep3Detail" = "打开「立即执行」并关闭「运行时提示」，自动化即可静默执行，不会在锁屏上弹出确认。";
"shortcuts.appIntentStep4Title" = "完成";
"shortcuts.appIntentStep4Detail" = "保存自动化。从此定时任务会在指定时间准时执行，即使手机处于锁屏状态也一样。";

"shortcuts.legacyFallbackSection" = "备用方案：URL Scheme";
"shortcuts.legacyFallbackDescription" = "以下 URL Scheme 仍然可用，但使用「打开 URL」动作时会把 iClaw 切到前台，因而需要解锁手机。无人值守的定时触发请优先使用上面的 App Intent 方式。";

"shortcuts.setupSteps" = "设置步骤";
"shortcuts.step1Title" = "打开快捷指令 App";
"shortcuts.step1Detail" = "前往「快捷指令」App，选择底部「自动化」标签页。";
"shortcuts.step2Title" = "创建个人自动化";
"shortcuts.step2Detail" = "点击右上角「+」→「创建个人自动化」→ 选择「特定时间」。";
"shortcuts.step3Title" = "设置触发时间";
"shortcuts.step3Detail" = "根据你的定时任务调度设置对应的时间和重复规则（每天/工作日/特定日期）。";
"shortcuts.step4Title" = "添加动作";
"shortcuts.step4Detail" = "搜索并添加「打开 URL」动作，填入以下 URL：";
"shortcuts.step5Title" = "关闭「运行前询问」";
"shortcuts.step5Detail" = "确保关闭「运行前询问」开关，这样自动化才能在后台静默执行。";
"shortcuts.step6Title" = "完成";
"shortcuts.step6Detail" = "点击「完成」保存自动化。现在你的定时任务会通过快捷指令在指定时间可靠触发。";
"shortcuts.urlReference" = "URL 参考";
"shortcuts.triggerSpecific" = "触发特定任务";
"shortcuts.triggerSpecificDesc" = "触发指定 ID 的定时任务";
"shortcuts.runAllDue" = "执行所有到期任务";
"shortcuts.runAllDueDesc" = "检查并执行所有到期的定时任务";
"shortcuts.tips" = "提示";
"shortcuts.tip1" = "对于高频任务（如每小时），建议同时保留 App 内定时和快捷指令双重保障。";
"shortcuts.tip2" = "快捷指令自动化在设备锁屏时也能执行，但需要设备有网络连接。";
"shortcuts.tip3" = "如果有多个定时任务，可以使用「执行所有到期任务」URL 统一触发。";
"shortcuts.tip4" = "首次使用 URL Scheme 时，系统可能会弹出确认对话框，确认后后续调用将静默执行。";

// MARK: - App Intents (cron)
"appIntent.entity.cronJob" = "定时任务";
"appIntent.runDue.title" = "运行到期定时任务";
"appIntent.runDue.description" = "运行所有到期且已启用的 iClaw 定时任务。不会把 app 拉到前台，因此锁屏状态下也能触发。";
"appIntent.trigger.title" = "触发定时任务";
"appIntent.trigger.description" = "立即运行选中的 iClaw 定时任务。不会把 app 拉到前台，因此锁屏状态下也能触发。";
"appIntent.parameter.cronJob" = "定时任务";

// AppShortcut shortTitle keys — keep in sync with `shortTitle:` literals in iClawAppShortcuts.swift.
"Run Due Cron Jobs" = "运行到期定时任务";
"Trigger Cron Job" = "触发定时任务";

// MARK: - Sessions
"sessions.title" = "会话";
"sessions.noSessions" = "暂无会话";
"sessions.noSessionsDescription" = "创建新会话，开始与 AI 智能体聊天。";
"sessions.newSession" = "新建会话";
"sessions.noAgents" = "暂无智能体";
"sessions.noAgentsDescription" = "请先在智能体标签页中创建一个智能体。";
"sessions.sessionsCount" = "%d 个会话";
"sessions.selectAgent" = "选择智能体";
"sessions.messagesCount" = "%d 条消息";
"sessions.draft" = "草稿";
"sessions.searchSessions" = "搜索会话";
"sessions.selectSession" = "选择会话";
"sessions.selectSessionDescription" = "从侧边栏选择一个会话开始聊天。";

// MARK: - Settings
"settings.title" = "设置";
"settings.llmProviders" = "LLM 服务商";
"settings.imageProviders" = "图片生成";
"settings.videoProviders" = "视频生成";
"settings.addProvider" = "添加服务商";
"settings.deleteProviderTitle" = "删除服务商";
"settings.deleteProviderMessage" = "此服务商将被永久删除，此操作无法撤销。";
"settings.deleteProviderAffectedMessage" = "以下智能体正在使用此服务商，删除后将回退到默认服务商：%@";
"settings.about" = "关于";
"settings.version" = "版本";
"settings.build" = "构建";
"settings.aboutDescription" = "iClaw 是一款开源 iOS 客户端，用于与 LLM 智能体交互。支持多服务商模型路由、子智能体、浏览器自动化、代码执行、定时任务，以及 Apple 生态集成（日历、提醒事项、通讯录、健康、地图等）。";
"settings.sourceCode" = "源代码";
"settings.license" = "基于 MIT 许可证开源";
"settings.backgroundExecution" = "后台执行";
"settings.backgroundKeepAlive" = "实时活动";
"settings.backgroundKeepAliveFooter" = "后台任务运行时在灵动岛上固定一个实时活动，保持应用可见且方便返回。默认关闭。";
"settings.skills" = "技能";
"settings.progressiveSkillDisclosure" = "渐进式披露";
"settings.progressiveSkillDisclosureFooter" = "开启后，每个已安装的技能在系统提示中均为休眠状态——仅加载名称与描述，直到激活（输入 /<slug>、调用其工具或运行脚本）。安装较多技能时显著节省 prompt 配额。默认开启。";
"liveActivity.running" = "任务运行中…";
"liveActivity.done" = "所有任务已完成";
"liveActivity.error" = "任务出错";
"liveActivity.agentsRunning" = "%d个Agent运行中";

// MARK: - LLM Provider
"provider.editProvider" = "编辑服务商";
"provider.addProvider" = "添加服务商";
"provider.addModel" = "添加模型";
"provider.modelNamePlaceholder" = "模型名称（如 gpt-4o-mini）";
"provider.provider" = "服务商";
"provider.endpoint" = "接口地址";
"provider.authentication" = "认证";
"provider.apiKey" = "API 密钥";
"provider.defaultModel" = "默认模型";
"provider.defaultModelFooter" = "未选择特定模型时使用的默认模型。";
"provider.noModelsEnabled" = "未启用任何模型";
"provider.setDefault" = "设为默认";
"provider.manuallyAddModel" = "手动添加模型";
"provider.enabledModels" = "已启用模型";
"provider.enabledModelsFooter" = "左滑禁用，右滑设为默认。只有已启用的模型会出现在智能体模型选择中。";
"provider.fetchFromAPI" = "从 API 获取";
"provider.availableToEnable" = "可启用（%d）";
"provider.allModelsEnabled" = "全部 %d 个已获取模型已启用";
"provider.enableAll" = "全部启用";
"provider.remoteModels" = "远程模型";
"provider.remoteModelsFooter" = "从 API 接口获取模型列表，然后启用你需要的模型。";
"provider.maxTokens" = "最大 Tokens：%d";
"provider.thinkingBudget" = "思考预算：%d";
"provider.thinkingBudgetFooter" = "扩展思考/推理的 Token 预算。max_tokens 会自动调整为大于此值。";
"provider.parameters" = "参数";
"provider.supportsVision" = "支持视觉";
"provider.supportsVisionFooter" = "如果此模型支持图片输入请启用（如 GPT-4o、Claude 3.5 Sonnet）";
"provider.supportsVideoInput" = "支持视频输入";
"provider.supportsToolUse" = "支持工具调用";
"provider.supportsToolUseFooter" = "如果此模型不支持函数调用/工具使用请关闭（部分 OpenRouter 模型）";
"provider.supportsImageGeneration" = "图片生成";
"provider.supportsImageGenerationFooter" = "为能生成图片的模型启用（如 Gemini 2.5 Flash Image / Nano Banana），将向 API 发送 modalities 参数";
"provider.supportsVideoGeneration" = "视频生成";
"provider.imageGenMode.none" = "不支持";
"provider.imageGenMode.chatInline" = "对话内联";
"provider.imageGenMode.dedicatedAPI" = "独立 API";
"provider.imageGenMode.dashScope" = "DashScope";
"provider.videoGenMode.none" = "不支持";
"provider.videoGenMode.auto" = "自动检测";
"provider.videoGenMode.restPolling" = "REST 轮询 (Sora, Runway, Luma)";
"provider.testConnection" = "测试连接";
"provider.testConnectionSuccess" = "%lld 个模型";
"provider.testConnectionOK" = "OK";
"provider.videoGenMode.googleVeo" = "Google Veo";
"provider.videoGenMode.dashScope" = "DashScope (通义万相)";
"provider.videoGenMode.kling" = "可灵";
"provider.videoGenMode.seedance" = "Seedance (字节跳动)";
"provider.supportsReasoning" = "支持推理";
"provider.supportsReasoningFooter" = "为支持扩展思考/推理的模型启用（如 Claude 扩展思考、DeepSeek R1、o1/o3）。思考过程将被捕获并显示。";
"provider.thinkingLevel" = "思考等级";
"provider.thinkingLevelFooter" = "等级越高消耗的推理 Token 越多。Claude Opus 4.5+/Sonnet 4.6+ 与 DeepSeek v4 映射为 effort，旧版 Claude 映射为 budget_tokens。OpenAI o 系列上 Extra High 与 Max 等同于 High。";
"provider.thinkingLevelXHighSuffix" = "Opus 4.7 / DeepSeek v4";
"provider.thinkingLevelMaxSuffix" = "Opus 4.5+ / Sonnet 4.6+ / DeepSeek v4";
"provider.thinkingLevelXHighSuffixOpenAI" = "DeepSeek v4（其他模型按 High）";
"provider.thinkingLevelMaxSuffixOpenAI" = "DeepSeek v4（其他模型按 High）";
"provider.perModelMaxTokens" = "覆盖最大 Token 数";
"provider.temperature" = "温度：%.2f";
"provider.perModelTemperature" = "覆盖温度";
"provider.parametersFooter" = "所有模型的默认值。可在上方「已启用模型」中为单个模型分别覆盖。";
"provider.providerType" = "提供商类型";
"provider.providerType.llm" = "LLM（对话）";
"provider.providerType.image" = "图片生成 (实验性)";
"provider.providerType.video" = "视频生成 (实验性)";
"provider.providerTypeFooter" = "LLM 提供商处理对话补全。视频提供商专用于 Kling、Veo、DashScope 等视频生成 API。";
"provider.apiStyle" = "API 协议";
"provider.apiStyle.openAIResponses" = "OpenAI Responses API";
"provider.apiStyle.openAI" = "OpenAI 兼容";
"provider.apiStyle.anthropic" = "Anthropic";
"provider.apiStyle.googleVeo" = "Google Veo";
"provider.apiStyle.dashScope" = "DashScope (通义万相)";
"provider.apiStyle.kling" = "可灵";
"provider.apiStyle.seedance" = "即梦 (字节跳动)";
"provider.apiStyleFooter" = "指定请求使用的 API 协议。OpenAI 兼容使用 /chat/completions，适用于大多数三方兼容提供商（DeepSeek、OpenRouter、Ollama 等）。OpenAI Responses 使用 /responses，仅应在 OpenAI 或明确支持该协议的提供商上选择。Anthropic 用于 Anthropic 原生 Messages API。";
"provider.modelCapabilities" = "模型能力";
"provider.presets" = "预设";

// MARK: - Skills
"skills.title" = "技能";
"skills.noSkills" = "暂无技能";
"skills.noSkillsDescription" = "创建技能，或让 AI 智能体为你构建。";
"skills.createSkill" = "创建技能";
"skills.importSkill" = "导入技能…";
"skills.importContinue" = "继续";
"skills.importReplace" = "替换";
"skills.importSecurityTitle" = "导入技能？";
"skills.importSecurityBody" = "导入的技能会在代理沙箱中执行 JavaScript，并依据该代理的权限访问文件系统和 Apple 生态 API。请勿导入未确认来源的技能——恶意技能可读写代理能访问到的任何数据。仅在确认来源可信时继续。";
"skills.importFailedTitle" = "导入失败";
"skills.importNotADirectory" = "所选路径不是技能包目录。";
"skills.importWarningsTitle" = "存在警告，仍要导入？";
"skills.importCollisionTitle" = "替换现有技能？";
"skills.importCollisionBody" = "已安装名为 '%@' 的技能。替换将覆盖磁盘上的包及已保存的记录。";
"skills.importCollisionFooter" = "提示：已安装名为 '%@' 的技能，确认后将被替换。";
"skills.importBuiltInRefused" = "'%@' 是内置技能，无法被替换。请改用其他文件夹名后重新导入。";
"skills.importValidationFailed" = "验证发现 %d 个错误：";
"skills.importValidationWarnings" = "验证发现 %d 个警告——请确认后再导入：";
"skills.importedTitle" = "已导入";
"skills.importedBody" = "'%@' 已安装。";
"skills.revealInFiles" = "在「文件」中显示";
"skills.showInFiles" = "在「文件」中打开 Skills 文件夹";
"skills.shareSkill" = "分享技能…";
"skills.validationErrorsTitle" = "校验错误";
"skills.validationWarningsTitle" = "校验警告";
"skills.parameterOptional" = "（可选）";
"skills.editScriptTitle" = "编辑脚本";
"skills.editToolTitle" = "编辑工具";
"skills.customSkills" = "自定义技能";
"skills.builtInSkills" = "内置技能";
"skills.builtIn" = "内置";
"skills.searchSkills" = "搜索技能…";
"skills.deleteSkill" = "删除技能";
"skills.deleteSkillMessage" = "这将永久删除「%@」并从所有智能体中移除。";
"skills.content" = "内容";
"skills.noAgents" = "暂无智能体";
"skills.noAgentsDescription" = "请先创建一个智能体。";
"skills.install" = "安装 %@";
"skills.skillsActive" = "%d 个技能已激活";
"skills.agents" = "个智能体";
"skills.editSkill" = "编辑技能";
"skills.newSkill" = "新建技能";
"skills.info" = "信息";
"skills.skillName" = "技能名称";
"skills.summary" = "摘要（一句话描述）";
"skills.tags" = "标签（逗号分隔）";
"skills.contentMarkdown" = "内容（Markdown）";
"skills.contentFooter" = "编写指令、方法论或知识，安装后将注入智能体的系统提示中。";
"skills.noSkillsInstalled" = "未安装技能";
"skills.installDescription" = "从技能库安装技能，赋予此智能体专业能力。";
"skills.browseLibrary" = "浏览技能库";
"skills.uninstall" = "卸载";
"skills.skillLibrary" = "技能库";
"skills.activeInstalled" = "%d 个激活 / %d 个已安装";
"skills.scriptsCount" = "脚本 (%d)";
"skills.customToolsCount" = "自定义工具 (%d)";
"skills.parameters" = "参数";
"skills.addScript" = "添加脚本";
"skills.addTool" = "添加工具";
"skills.addParameter" = "添加参数";
"skills.scripts" = "脚本";
"skills.customTools" = "自定义工具";
"skills.scriptsFooter" = "安装技能时，JavaScript 脚本会自动注册为代码片段。";
"skills.customToolsFooter" = "自定义工具会成为智能体可调用的函数，由 JavaScript 驱动。";
"skills.scriptName" = "脚本名称";
"skills.descriptionOptional" = "描述（可选）";
"skills.jsCode" = "JavaScript 代码";
"skills.toolName" = "工具名称";
"skills.toolInfo" = "工具信息";
"skills.description" = "描述";
"skills.jsImplementation" = "JavaScript 实现";
"skills.jsImplementationFooter" = "通过 `args.参数名` 访问参数。安装配置可通过 `args.config` 获取。";
"skills.configure" = "配置";
"skills.skillConfiguration" = "技能配置";
"skills.required" = "必填";

// MARK: - Cron Description
"cron.invalidExpression" = "无效的 Cron 表达式";
"cron.everyMinute" = "每分钟";
"cron.atMinute" = "第 %d 分钟";
"cron.atMinutes" = "第 %@ 分钟";
"cron.ofEveryHour" = "每小时";
"cron.ofHour" = "%d 点";
"cron.ofHours" = "%@ 点";
"cron.onDays" = "每月第 %@ 天";
"cron.inMonths" = "%@ 月";
"cron.onWeekdays" = "周 %@";
"cron.sun" = "日";
"cron.mon" = "一";
"cron.tue" = "二";
"cron.wed" = "三";
"cron.thu" = "四";
"cron.fri" = "五";
"cron.sat" = "六";

// MARK: - Cron Executor
"cronExec.completed" = "定时任务已完成";
"cronExec.completedBody" = "%@ 已完成。点击查看会话。";
"cronExec.noProvider" = "[定时任务错误] 未配置 LLM 服务商。";

// MARK: - Chat Errors
"chatError.noProvider" = "未配置 LLM 服务商。请在设置中添加。";
"chatError.noAgent" = "此会话未关联智能体。";
"chatError.whitelistBlocked" = "没有可用模型 — 当前模型不在白名单中。请检查智能体的默认模型与白名单设置。";

// MARK: - Browser
"tabs.browser" = "浏览器";
"browser.title" = "浏览器";
"browser.urlPlaceholder" = "搜索或输入网址";
"browser.agentControlling" = "「%@」正在控制浏览器";
"browser.takeOver" = "接管";
"browser.takeOverTitle" = "接管浏览器";
"browser.takeOverMessage" = "智能体「%@」正在自动化操作浏览器。接管将中断其操作，是否继续？";
"browser.closePage" = "关闭页面";
"browser.closePageTitle" = "关闭当前页面";
"browser.closePageMessage" = "将关闭当前页面并返回空白浏览器。";

// MARK: - Markdown Editor
"markdownEditor.preview" = "预览";
"markdownEditor.edit" = "编辑";

// MARK: - Tool Card Display Names
"toolCard.javascript" = "JavaScript";
"toolCard.readConfig" = "读取配置";
"toolCard.writeConfig" = "写入配置";
"toolCard.saveCode" = "保存代码";
"toolCard.loadCode" = "加载代码";
"toolCard.listCode" = "代码列表";
"toolCard.createAgent" = "创建智能体";
"toolCard.messageAgent" = "发送消息";
"toolCard.collectOutput" = "收集输出";
"toolCard.listAgents" = "智能体列表";
"toolCard.stopAgent" = "停止智能体";
"toolCard.deleteAgent" = "删除智能体";
"toolCard.scheduleJob" = "创建定时任务";
"toolCard.removeJob" = "移除定时任务";
"toolCard.listJobs" = "任务列表";
"toolCard.createSkill" = "创建技能";
"toolCard.deleteSkill" = "删除技能";
"toolCard.installSkill" = "安装技能";
"toolCard.uninstallSkill" = "卸载技能";
"toolCard.listSkills" = "技能列表";
"toolCard.readSkill" = "读取技能";
"toolCard.setModel" = "设置模型";
"toolCard.getModel" = "获取模型";
"toolCard.listModels" = "模型列表";
"toolCard.fileList" = "文件列表";
"toolCard.fileRead" = "读取文件";
"toolCard.fileWrite" = "写入文件";
"toolCard.fileDelete" = "删除文件";
"toolCard.fileInfo" = "文件信息";
"toolCard.attachMedia" = "附加媒体";
"toolCard.browse" = "浏览";
"toolCard.pageInfo" = "页面信息";
"toolCard.click" = "点击";
"toolCard.input" = "输入";
"toolCard.select" = "选择";
"toolCard.extract" = "提取";
"toolCard.browserJS" = "浏览器 JS";
"toolCard.waitElement" = "等待元素";
"toolCard.scroll" = "滚动";
"toolCard.runSnippet" = "运行代码片段";
"toolCard.deleteCode" = "删除代码";
"toolCard.calendarListCalendars" = "日历列表";
"toolCard.calendarCreateEvent" = "创建日程";
"toolCard.calendarSearchEvents" = "查询日程";
"toolCard.calendarUpdateEvent" = "更新日程";
"toolCard.calendarDeleteEvent" = "删除日程";
"toolCard.reminderLists" = "提醒清单列表";
"toolCard.reminderList" = "提醒列表";
"toolCard.reminderCreate" = "创建提醒";
"toolCard.reminderComplete" = "完成提醒";
"toolCard.reminderDelete" = "删除提醒";
"toolCard.contactsSearch" = "搜索联系人";
"toolCard.contactsGetDetail" = "联系人详情";
"toolCard.clipboardRead" = "读取剪贴板";
"toolCard.clipboardWrite" = "写入剪贴板";
"toolCard.notificationSchedule" = "安排通知";
"toolCard.notificationCancel" = "取消通知";
"toolCard.notificationList" = "通知列表";
"toolCard.locationGetCurrent" = "当前位置";
"toolCard.locationGeocode" = "地址转坐标";
"toolCard.locationReverseGeocode" = "坐标转地址";
"toolCard.mapSearchPlaces" = "地点搜索";
"toolCard.mapGetDirections" = "路线规划";
"toolCard.healthReadSteps" = "读取步数";
"toolCard.healthReadHeartRate" = "读取心率";
"toolCard.healthReadSleep" = "读取睡眠";
"toolCard.healthReadBodyMass" = "读取体重";
"toolCard.healthReadBloodPressure" = "读取血压";
"toolCard.healthReadBloodGlucose" = "读取血糖";
"toolCard.healthReadBloodOxygen" = "读取血氧";
"toolCard.healthReadBodyTemperature" = "读取体温";
"toolCard.healthWriteDietaryEnergy" = "写入卡路里";
"toolCard.healthWriteBodyMass" = "写入体重";
"toolCard.healthWriteDietaryWater" = "写入饮水";
"toolCard.healthWriteDietaryCarbohydrates" = "写入碳水";
"toolCard.healthWriteDietaryProtein" = "写入蛋白";
"toolCard.healthWriteDietaryFat" = "写入脂肪";
"toolCard.healthWriteBloodPressure" = "写入血压";
"toolCard.healthWriteBodyFat" = "写入体脂";
"toolCard.healthWriteHeight" = "写入身高";
"toolCard.healthWriteBloodGlucose" = "写入血糖";
"toolCard.healthWriteBloodOxygen" = "写入血氧";
"toolCard.healthWriteBodyTemperature" = "写入体温";
"toolCard.healthWriteHeartRate" = "写入心率";
"toolCard.healthWriteWorkout" = "写入运动";
"toolCard.searchSessions" = "搜索会话";
"toolCard.recallSession" = "回忆会话";
"toolCard.generateImage" = "生成图片";
"toolCard.generateVideo" = "生成视频";
"toolCard.skillScope" = "技能";

// MARK: - Tool Result
"toolResult.stdout" = "标准输出";
"toolResult.stderr" = "错误输出";

// MARK: - Tool Permissions
"toolPermissions.title" = "功能权限";
"toolPermissions.description" = "配置此智能体可以使用哪些工具和能力。读取允许查询数据；写入允许创建、修改或删除数据。对于同时暴露 JavaScript 桥接（如 `apple.*`、`fs.*`）的类别，相同的权限级别也会作用于 `execute_javascript` 调用以及封装这些桥接的内置技能（File Ops、Health Plus）。";
"toolPermissions.browser" = "浏览器";
"toolPermissions.codeExecution" = "代码执行";
"toolPermissions.subAgents" = "子智能体";
"toolPermissions.sessions" = "会话记忆";
"toolPermissions.cron" = "定时任务";
"toolPermissions.skills" = "技能";
"toolPermissions.config" = "配置";
"toolPermissions.model" = "模型";
"toolPermissions.files" = "文件";
"toolPermissions.imageGeneration" = "图片生成";
"toolPermissions.videoGeneration" = "视频生成";
"toolPermissions.appleSection" = "Apple 生态";
"toolPermissions.agentSection" = "智能体能力";
"agentDetail.toolPermissions" = "功能权限";

// MARK: - Agent Files
"agentFiles.title" = "文件管理";
"agentFiles.empty" = "暂无文件";
"agentFiles.emptyDescription" = "智能体创建的文件或您上传的文件将显示在此处。";
"agentFiles.deleteConfirmTitle" = "删除文件";
"agentFiles.deleteConfirmMessage" = "确定要删除「%@」吗？此操作无法撤销。";
"agentFiles.imagePermissionDisabled" = "此智能体的文件访问权限已关闭";
"agentFiles.newFolder" = "新建文件夹";
"agentFiles.folderName" = "文件夹名";
"agentFiles.invalidFolderName" = "无效的文件夹名";

// MARK: - Permission Errors
"permError.calendarDenied" = "[错误] 日历访问被拒绝。请在「设置 > 隐私 > 日历」中启用。";
"permError.calendarDeniedByUser" = "[错误] 用户拒绝了日历访问权限。";
"permError.calendarWriteOnly" = "[错误] 仅授予了写入权限。需要完整访问权限。请在「设置 > 隐私 > 日历」中更新。";
"permError.calendarUnknown" = "[错误] 未知的日历授权状态。";
"permError.remindersDenied" = "[错误] 提醒事项访问被拒绝。请在「设置 > 隐私 > 提醒事项」中启用。";
"permError.remindersDeniedByUser" = "[错误] 用户拒绝了提醒事项访问权限。";
"permError.remindersUnknown" = "[错误] 未知的提醒事项授权状态。";
"permError.contactsDenied" = "[错误] 通讯录访问被拒绝。请在「设置 > 隐私 > 通讯录」中启用。";
"permError.contactsDeniedByUser" = "[错误] 用户拒绝了通讯录访问权限。";
"permError.contactsUnknown" = "[错误] 未知的通讯录授权状态。";
"permError.notificationDenied" = "[错误] 通知权限被拒绝。请在「设置 > 通知」中启用。";
"permError.notificationDeniedByUser" = "[错误] 用户拒绝了通知权限。";
"permError.notificationUnknown" = "[错误] 未知的通知授权状态。";
"permError.locationDenied" = "[错误] 位置访问被拒绝。请在「设置 > 隐私 > 定位服务」中启用。";
"permError.locationDeniedByUser" = "[错误] 用户拒绝了位置访问权限。";
"permError.locationUnknown" = "[错误] 未知的位置授权状态。";
"permError.healthUnavailable" = "[错误] 此设备不支持健康数据。";
"permError.healthFailed" = "[错误] 请求 HealthKit 访问权限失败：%@";
"permError.toolNotPermitted" = "[错误] 工具 '%@'（%@）未获此智能体授权。请在智能体设置中检查工具权限。";

// MARK: - Export
"export.roleUser" = "用户";
"export.roleAssistant" = "助手";
"export.roleTool" = "工具";
"export.toolCall" = "工具调用";

// MARK: - 内置技能内容
// 系统 Skill 的展示名、摘要、工具与参数描述；Markdown 正文见 BuiltInSkills/<Name>.md。

// Deep Research

// File Ops

// Health Plus
