export const dict = {
  "desktop.menu.checkForUpdates": "检查更新...",
  "desktop.menu.installCli": "安装 CLI...",
  "desktop.menu.reloadWebview": "重新加载 Webview",
  "desktop.menu.restart": "重启",

  "desktop.dialog.chooseFolder": "选择文件夹",
  "desktop.dialog.chooseFile": "选择文件",
  "desktop.dialog.saveFile": "保存文件",

  "desktop.updater.checkFailed.title": "检查更新失败",
  "desktop.updater.checkFailed.message": "无法检查更新",
  "desktop.updater.none.title": "没有可用更新",
  "desktop.updater.none.message": "你已经在使用最新版本的 OpenCode",
  "desktop.updater.downloadFailed.title": "更新失败",
  "desktop.updater.downloadFailed.message": "无法下载更新",
  "desktop.updater.downloaded.title": "更新已下载",
  "desktop.updater.downloaded.prompt": "已下载 OpenCode {{version}} 版本，是否安装并重启？",
  "desktop.updater.installFailed.title": "更新失败",
  "desktop.updater.installFailed.message": "无法安装更新",

  "desktop.cli.installed.title": "CLI 已安装",
  "desktop.cli.installed.message": "CLI 已安装到 {{path}}\n\n重启终端以使用 'opencode' 命令。",
  "desktop.cli.failed.title": "安装失败",
  "desktop.cli.failed.message": "无法安装 CLI: {{error}}",

  "desktop.menu.app": "OpenCode",
  "desktop.menu.file": "文件",
  "desktop.menu.edit": "编辑",
  "desktop.menu.view": "查看",
  "desktop.menu.help": "帮助",
  "desktop.menu.file.newSession": "新会话",
  "desktop.menu.file.openProject": "打开项目...",
  "desktop.menu.view.toggleSidebar": "切换侧边栏",
  "desktop.menu.view.toggleTerminal": "切换终端",
  "desktop.menu.view.toggleFileTree": "切换文件树",
  "desktop.menu.view.back": "后退",
  "desktop.menu.view.forward": "前进",
  "desktop.menu.view.previousSession": "上一个会话",
  "desktop.menu.view.nextSession": "下一个会话",
  "desktop.menu.help.documentation": "OpenCode 文档",
  "desktop.menu.help.supportForum": "支持论坛",
  "desktop.menu.help.shareFeedback": "分享反馈",
  "desktop.menu.help.reportBug": "报告错误",
  "desktop.cli.error.unsupportedPlatform": "CLI 安装仅在 macOS 和 Linux 上受支持。",
  "desktop.cli.error.sidecarMissing": "OpenCode CLI 二进制文件缺失。请尝试重新安装桌面应用程序。",
  "desktop.cli.error.scriptWriteFailed": "无法准备 CLI 安装脚本。",
  "desktop.cli.error.scriptPermissionFailed": "无法使 CLI 安装脚本可执行。",
  "desktop.cli.error.scriptRunFailed": "无法运行 CLI 安装脚本。",
  "desktop.cli.error.scriptFailed": "CLI 安装程序失败。",
  "desktop.cli.error.installPathUnknown": "无法确定 CLI 的安装位置。",
  "desktop.cli.error.unknown": "未知的安装错误",
  "desktop.loading.status.initial": "稍等片刻...",
  "desktop.loading.status.done": "全部完成",
  "desktop.loading.status.migrating": "正在迁移您的数据库",
  "desktop.loading.status.waiting": "这可能需要几分钟",
  "desktop.loading.progressAria": "数据库迁移进度",
  "desktop.server.local": "本地服务器",
}
