/* 繁體中文 */

// MARK: - Migration
"migration.alertTitle" = "資料庫升級失敗";
"migration.alertMessage" = "資料庫無法遷移至新版本。你可以重置資料庫並重新啟動 App，但所有現有資料（對話、智慧體、設定）將永久遺失。也可以選擇退出 App，不做任何變更。";
"migration.resetAndRestart" = "重置並重啟";
"migration.exitApp" = "退出 App";

// 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
