import { dict as en } from "./en"

type Keys = keyof typeof en

export const dict = {
  "ui.sessionReview.title": "工作階段變更",
  "ui.sessionReview.title.git": "Git 變更",
  "ui.sessionReview.title.branch": "分支變更",
  "ui.sessionReview.title.lastTurn": "上一輪變更",
  "ui.sessionReview.diffStyle.unified": "統一",
  "ui.sessionReview.diffStyle.split": "並排",
  "ui.sessionReview.openFile": "開啟檔案",
  "ui.sessionReview.selection.line": "第 {{line}} 行",
  "ui.sessionReview.selection.lines": "第 {{start}}-{{end}} 行",
  "ui.sessionReview.expandAll": "全部展開",
  "ui.sessionReview.collapseAll": "全部收合",
  "ui.sessionReview.change.added": "已新增",
  "ui.sessionReview.change.removed": "已移除",
  "ui.sessionReview.change.modified": "已修改",
  "ui.sessionReview.image.loading": "載入中...",
  "ui.sessionReview.image.placeholder": "圖片",
  "ui.sessionReview.largeDiff.title": "差異過大，無法顯示",
  "ui.sessionReview.largeDiff.meta": "限制：{{limit}} 行變更。目前：{{current}} 行變更。",
  "ui.sessionReview.largeDiff.renderAnyway": "仍要顯示",
  "ui.sessionReviewV2.expandMode": "展開或收合差異",
  "ui.sessionReviewV2.filterFiles": "篩選檔案",
  "ui.sessionReviewV2.toggleSidebar": "切換檔案樹",
  "ui.sessionReviewV2.showAllLines": "顯示所有行",
  "ui.sessionReviewV2.hideNonDiffLines": "隱藏無差異的行",
  "ui.sessionReviewV2.unifiedDiff": "統一格式差異",
  "ui.sessionReviewV2.splitDiff": "並排差異",
  "ui.sessionReviewV2.previousFile": "上一個檔案",
  "ui.sessionReviewV2.nextFile": "下一個檔案",
  "ui.sessionReviewV2.diffView": "差異檢視",
  "ui.sessionReviewV2.empty.noGit.title": "沒有追蹤的變更",
  "ui.sessionReviewV2.empty.noGit.description": "追蹤、檢閱及復原此專案中的變更",
  "ui.sessionReviewV2.empty.noGit.action": "建立 Git 儲存庫",
  "ui.sessionReviewV2.empty.noGit.actionLoading": "正在建立 Git 儲存庫...",
  "ui.sessionReviewV2.empty.changes.title": "尚無檔案變更",
  "ui.sessionReviewV2.empty.changes.description": "專案變更會顯示在這裡",
  "ui.fileMedia.kind.image": "圖片",
  "ui.fileMedia.kind.audio": "音訊",
  "ui.fileMedia.state.removed": "{{kind}}已移除",
  "ui.fileMedia.state.loading": "正在載入{{kind}}...",
  "ui.fileMedia.state.error": "載入{{kind}}失敗",
  "ui.fileMedia.state.unavailable": "{{kind}}無法預覽",
  "ui.fileMedia.binary.title": "二進位檔案",
  "ui.fileMedia.binary.description.path": "無法顯示 {{path}}，因為它是二進位檔案。",
  "ui.fileMedia.binary.description.default": "無法顯示此檔案，因為它是二進位檔案。",

  "ui.lineComment.label.prefix": "留言於 ",
  "ui.lineComment.label.suffix": "",
  "ui.lineComment.editorLabel.prefix": "正在留言於 ",
  "ui.lineComment.editorLabel.suffix": "",
  "ui.lineComment.placeholder": "新增留言",
  "ui.lineComment.contextPlaceholder": "新增此變更的相關資訊",
  "ui.lineComment.submit": "留言",
  "ui.lineComment.cancel": "取消",

  "ui.sessionTurn.steps.show": "顯示步驟",
  "ui.sessionTurn.steps.hide": "隱藏步驟",
  "ui.sessionTurn.summary.response": "回覆",
  "ui.sessionTurn.diff.showMore": "顯示更多變更（{{count}}）",
  "ui.sessionTurn.diffs.changed.one": "已變更檔案：{{count}} 個",
  "ui.sessionTurn.diffs.changed.other": "已變更檔案：{{count}} 個",
  "ui.sessionTurn.diffs.showAll": "全部顯示",
  "ui.sessionTurn.diffs.showLess": "顯示較少",
  "ui.sessionTurn.diffs.more": "+{{count}} 個檔案",

  "ui.sessionTurn.retry.retrying": "重試中",
  "ui.sessionTurn.retry.inSeconds": "{{seconds}} 秒後",
  "ui.sessionTurn.retry.attempt": "第 {{attempt}} 次",
  "ui.sessionTurn.retry.attemptLine": "{{line}} - 第 {{attempt}} 次",
  "ui.sessionTurn.retry.geminiHot": "Gemini 目前負載過高",
  "ui.sessionTurn.error.freeUsageExceeded": "免費使用額度已用完",
  "ui.sessionTurn.error.addCredits": "新增點數",

  "dialog.usageExceeded.freeTier.title": "已達免費額度上限",
  "dialog.usageExceeded.freeTier.description": "訂閱 Kilo Go，可靠地使用最佳開源模型，每月 $5 起。", // kilocode_change
  "dialog.usageExceeded.freeTier.actionLabel": "訂閱",
  "dialog.usageExceeded.accountRateLimit.title": "已達 Go 額度上限",
  "dialog.usageExceeded.accountRateLimit.description": "已達使用額度上限。若要立即繼續使用此模型，請啟用可用餘額計費",
  "dialog.usageExceeded.accountRateLimit.actionLabel": "開啟設定",

  "ui.sessionTurn.status.delegating": "正在委派工作",
  "ui.sessionTurn.status.planning": "正在規劃下一步",
  "ui.sessionTurn.status.gatheringContext": "正在探索",
  "ui.sessionTurn.status.gatheredContext": "已探索",
  "ui.sessionTurn.status.searchingCodebase": "正在搜尋程式碼庫",
  "ui.sessionTurn.status.searchingWeb": "正在搜尋網頁",
  "ui.sessionTurn.status.makingEdits": "正在修改",
  "ui.sessionTurn.status.runningCommands": "正在執行命令",
  "ui.sessionTurn.status.thinking": "思考中",
  "ui.sessionTurn.status.thinkingWithTopic": "思考 - {{topic}}",
  "ui.sessionTurn.status.gatheringThoughts": "正在整理思緒",
  "ui.sessionTurn.status.consideringNextSteps": "正在考慮下一步",

  "ui.messagePart.questions.dismissed": "問題已略過",
  "ui.messagePart.compaction": "工作階段已壓縮",
  "ui.messagePart.context.read.one": "{{count}} 次讀取",
  "ui.messagePart.context.read.other": "{{count}} 次讀取",
  "ui.messagePart.context.search.one": "{{count}} 次搜尋",
  "ui.messagePart.context.search.other": "{{count}} 次搜尋",
  "ui.messagePart.context.list.one": "列出 {{count}} 次",
  "ui.messagePart.context.list.other": "列出 {{count}} 次",
  "ui.messagePart.diagnostic.error": "錯誤",
  "ui.messagePart.title.edit": "編輯",
  "ui.messagePart.title.write": "寫入",
  "ui.messagePart.option.typeOwnAnswer": "輸入自己的答案",
  "ui.messagePart.review.title": "檢閱你的答案",

  "ui.list.loading": "載入中",
  "ui.list.empty": "無結果",
  "ui.list.clearFilter": "清除篩選",
  "ui.list.emptyWithFilter.prefix": "沒有關於",
  "ui.list.emptyWithFilter.suffix": "的結果",

  "ui.messageNav.newMessage": "新訊息",

  "ui.promptInput.noMatchingItems": "沒有符合的項目",
  "ui.promptInput.commands": "命令",
  "ui.promptInput.dropFiles": "拖放檔案以附加",
  "ui.promptInput.removeAttachment": "移除附件",
  "ui.promptInput.label": "提示詞",
  "ui.promptInput.placeholder.shell": "輸入 shell 命令...",
  "ui.promptInput.placeholder.normal": "想問什麼都可以， {{slash}} 可使用命令， {{at}} 可加入上下文...",
  "ui.promptInput.add": "新增圖片和檔案",
  "ui.promptInput.attachments": "圖片和檔案",
  "ui.promptInput.context": "上下文",
  "ui.promptInput.shell": "shell 命令",
  "ui.promptInput.chooseAgent": "選擇代理程式",
  "ui.promptInput.chooseModel": "選擇模型",
  "ui.promptInput.chooseVariant": "選擇模型變體",
  "ui.promptInput.send": "傳送",
  "ui.promptInput.stop": "停止",

  "ui.tabs.close": "關閉分頁",

  "ui.textField.copyToClipboard": "複製到剪貼簿",
  "ui.textField.copyLink": "複製連結",
  "ui.textField.copied": "已複製",

  "ui.imagePreview.alt": "圖片預覽",
  "ui.scrollView.ariaLabel": "可捲動內容",

  "ui.tool.read": "讀取",
  "ui.tool.loaded": "已載入",
  "ui.tool.list": "列出",
  "ui.tool.glob": "Glob",
  "ui.tool.grep": "Grep",
  "ui.tool.webfetch": "Webfetch",
  "ui.tool.websearch": "網頁搜尋",
  "ui.tool.websearch.provider": "{{provider}} 網頁搜尋",
  "ui.tool.shell": "Shell",
  "ui.tool.patch": "修補",
  "ui.tool.todos": "待辦",
  "ui.tool.todos.read": "讀取待辦",
  "ui.tool.questions": "問題",
  "ui.tool.questions.numbered": "問題 {{number}}",
  "ui.tool.agent": "{{type}} 代理程式",
  "ui.tool.agent.default": "代理程式",

  "ui.common.file.one": "個檔案",
  "ui.common.file.other": "個檔案",
  "ui.common.question.one": "個問題",
  "ui.common.question.other": "個問題",

  "ui.common.add": "新增",
  "ui.common.clear": "清除",
  "ui.common.file": "檔案",
  "ui.common.back": "返回",
  "ui.common.cancel": "取消",
  "ui.common.confirm": "確認",
  "ui.common.dismiss": "忽略",
  "ui.common.close": "關閉",
  "ui.common.next": "下一步",
  "ui.common.submit": "提交",
  "ui.common.showMore": "顯示更多",

  "ui.permission.deny": "拒絕",
  "ui.permission.allowAlways": "永遠允許",
  "ui.permission.allowOnce": "允許一次",

  "ui.message.expand": "展開訊息",
  "ui.message.collapse": "收合訊息",
  "ui.message.copy": "複製",
  "ui.message.copyMessage": "複製訊息",
  "ui.message.forkMessage": "分支到新工作階段",
  "ui.message.revertMessage": "重設至此點",
  "ui.message.copyResponse": "複製回覆",
  "ui.message.copied": "已複製！",
  "ui.message.interrupted": "已中斷",
  "ui.message.queued": "已加入佇列",
  "ui.message.attachment.alt": "附件",

  "ui.patch.action.deleted": "已刪除",
  "ui.patch.action.created": "已建立",
  "ui.patch.action.moved": "已移動",
  "ui.patch.action.patched": "已套用修補",
  "ui.patch.action.plan": "計畫", // kilocode_change

  "ui.question.subtitle.answered": "已回答 {{count}} 題",
  "ui.question.answer.none": "（無答案）",
  "ui.question.review.notAnswered": "（未回答）",
  "ui.question.multiHint": "可多選",
  "ui.question.singleHint": "選擇一個答案",
  "ui.question.custom.placeholder": "輸入你的答案...",

  "ui.fileSearch.placeholder": "搜尋",
  "ui.fileSearch.previousMatch": "上一個",
  "ui.fileSearch.nextMatch": "下一個",
  "ui.fileSearch.close": "關閉搜尋",
  "ui.tool.task": "任務",
  "ui.tool.skill": "技能",
  "ui.basicTool.called": "呼叫了 `{{tool}}`",
  "ui.toolErrorCard.failed": "失敗",
  "ui.toolErrorCard.copyError": "複製錯誤",
  "ui.message.duration.seconds": "{{count}}秒",
  "ui.message.duration.minutesSeconds": "{{minutes}}分 {{seconds}}秒",
  // kilocode_change start - preserve Kilo UI translations across the upstream dictionary refresh
  "ui.sessionTurn.status.delegatingWaitingPermission": "Subagent waiting for permission",
  "ui.sessionTurn.status.delegatingWaitingQuestion": "Subagent waiting for response",
  "ui.messagePart.mcp.input": "輸入",
  "ui.messagePart.mcp.output": "輸出",
  "ui.mermaid.rendering": "正在渲染 Mermaid 圖表...",
  "ui.mermaid.renderError": "Mermaid 渲染失敗：{{message}}",
  "ui.mermaid.errorDefault": "無法渲染 Mermaid 圖表。",
  "ui.mermaid.errorEmpty": "Mermaid 渲染了一個空圖表。",
  "ui.mermaid.download": "下載",
  "ui.mermaid.copySource": "複製 Mermaid 原始碼",
  "ui.mermaid.copySvg": "複製 SVG",
  "ui.mermaid.copyPng": "複製 PNG",
  "ui.mermaid.downloadSvg": "下載 SVG",
  "ui.mermaid.downloadPng": "下載 PNG",
  "ui.message.deleteQueued": "刪除排隊中的訊息",
  "ui.question.subtitle.dismissed": "{{count}} dismissed",
  "ui.question.answer.dismissed": "Dismissed",
  // kilocode_change end
} satisfies Partial<Record<Keys, string>>
