wip(app): i18n prompt input

This commit is contained in:
Adam
2026-01-20 07:53:46 -06:00
parent 7138bd021c
commit 835fea6bb1
4 changed files with 158 additions and 93 deletions

View File

@@ -114,6 +114,52 @@ export const dict = {
"prompt.mode.shell": "Shell",
"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.slash.badge.custom": "自定义",
"prompt.context.active": "当前",
"prompt.context.includeActiveFile": "包含当前文件",
"prompt.action.attachFile": "附加文件",
"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": "发送提示失败",
"dialog.mcp.title": "MCPs",
"dialog.mcp.description": "已启用 {{enabled}} / {{total}}",
"dialog.mcp.empty": "未配置 MCPs",