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

type Keys = keyof typeof en

export const dict = {
  "ui.sessionReview.title": "工作階段變更",
  "ui.sessionReview.title.lastTurn": "上一輪變更",
  "ui.sessionReview.diffStyle.unified": "整合",
  "ui.sessionReview.diffStyle.split": "拆分",
  "ui.sessionReview.expandAll": "全部展開",
  "ui.sessionReview.collapseAll": "全部收合",

  "ui.sessionReview.change.added": "已新增",
  "ui.sessionReview.change.removed": "已移除",
  "ui.sessionReview.change.modified": "已修改",
  "ui.lineComment.label.prefix": "評論 ",
  "ui.lineComment.label.suffix": "",
  "ui.lineComment.editorLabel.prefix": "正在評論 ",
  "ui.lineComment.editorLabel.suffix": "",
  "ui.lineComment.placeholder": "新增評論",
  "ui.lineComment.submit": "評論",
  "ui.sessionTurn.steps.show": "顯示步驟",
  "ui.sessionTurn.steps.hide": "隱藏步驟",
  "ui.sessionTurn.summary.response": "回覆",
  "ui.sessionTurn.diff.showMore": "顯示更多變更 ({{count}})",

  "ui.sessionTurn.retry.retrying": "重試中",
  "ui.sessionTurn.retry.inSeconds": "{{seconds}} 秒後",

  "ui.sessionTurn.status.delegating": "正在委派工作",
  "ui.sessionTurn.status.planning": "正在規劃下一步",
  "ui.sessionTurn.status.gatheringContext": "正在收集上下文",
  "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.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.textField.copyToClipboard": "複製到剪貼簿",
  "ui.textField.copyLink": "複製連結",
  "ui.textField.copied": "已複製",

  "ui.imagePreview.alt": "圖片預覽",

  "ui.tool.read": "讀取",
  "ui.tool.loaded": "已載入",
  "ui.tool.list": "清單",
  "ui.tool.glob": "Glob",
  "ui.tool.grep": "Grep",
  "ui.tool.webfetch": "Webfetch",
  "ui.tool.shell": "Shell",
  "ui.tool.patch": "修補",
  "ui.tool.todos": "待辦",
  "ui.tool.todos.read": "讀取待辦",
  "ui.tool.questions": "問題",
  "ui.tool.agent": "{{type}} 代理程式",

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

  "ui.common.add": "新增",
  "ui.common.cancel": "取消",
  "ui.common.confirm": "確認",
  "ui.common.dismiss": "忽略",
  "ui.common.close": "關閉",
  "ui.common.next": "下一步",
  "ui.common.submit": "提交",

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

  "ui.message.expand": "展開訊息",
  "ui.message.collapse": "收合訊息",
  "ui.message.copy": "複製",
  "ui.message.copied": "已複製",
  "ui.message.attachment.alt": "附件",

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

  "ui.question.subtitle.answered": "{{count}} 已回答",
  "ui.question.answer.none": "(無答案)",
  "ui.question.review.notAnswered": "(未回答)",
  "ui.question.multiHint": "(可多選)",
  "ui.question.custom.placeholder": "輸入你的答案...",
} satisfies Partial<Record<Keys, string>>
