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": "切換 MCP",
  "command.mcp.toggle.description": "切換 MCP",
  "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": "精選模型，包含 Claude、GPT、Gemini 等等",
  "dialog.provider.opencode.tagline": "可靠的優化模型",
  "dialog.provider.opencodeGo.tagline": "適合所有人的低成本訂閱",
  "dialog.provider.anthropic.note": "使用 Claude Pro/Max 或 API 金鑰連線",
  "dialog.provider.openai.note": "使用 ChatGPT Pro/Plus 或 API 金鑰連線",
  "dialog.provider.copilot.note": "使用 Copilot 或 API 金鑰連線",
  "dialog.provider.google.note": "Gemini 模型，提供快速且結構化的回應",
  "dialog.provider.openrouter.note": "從單一提供者存取所有支援的模型",
  "dialog.provider.vercel.note": "透過智慧路由統一存取 AI 模型",

  "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": "MCP",
  "dialog.mcp.description": "已啟用 {{enabled}} / {{total}}",
  "dialog.mcp.empty": "未設定 MCP",

  "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": "透過開啟本地專案開始使用",

  "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.noChanges": "沒有變更",
  "session.review.noVcs": "未偵測到 Git 版本控制系統，無法顯示變更",
  "session.review.noSnapshot": "設定中已停用快照追蹤，因此無法使用工作階段變更",
  "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": "展開 edit 工具區塊",
  "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": "Task",
  "settings.permissions.tool.task.description": "啟動子代理程式",
  "settings.permissions.tool.skill.title": "Skill",
  "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": "Web Fetch",
  "settings.permissions.tool.webfetch.description": "從 URL 取得內容",
  "settings.permissions.tool.websearch.title": "Web Search",
  "settings.permissions.tool.websearch.description": "搜尋網頁",
  "settings.permissions.tool.external_directory.title": "外部目錄",
  "settings.permissions.tool.external_directory.description": "存取專案目錄之外的檔案",
  "settings.permissions.tool.doom_loop.title": "Doom Loop",
  "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": "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": "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>>
