feat: v0.8.2 安全纵深补全 · 协议保真 · 断链修复 — 图片SSRF/根MEMORY.md保护根治 · Anthropic thinking回传+pause_turn续传 · 2523 用例全量回归 + E2E 扩充
This commit is contained in:
@@ -71,7 +71,26 @@ const zh: Record<string, string> = {
|
||||
'LLM 配置不完整,请检查 Provider、API Key、Base URL 和 Model 是否都已填写',
|
||||
'config.error.workspaceSaveFailed': '工作空间路径保存失败:{{message}}',
|
||||
// ===== 记忆维护(v0.8.1 P1-2) =====
|
||||
'memory.maintain.auditTitle': 'MEMORY.md 记忆整理',
|
||||
// ===== v0.8.2 P2-5 i18n 收口第三期:托盘 / 系统对话框 / 更新 / 工作空间校验 =====
|
||||
'tray.menu.showWindow': '显示窗口',
|
||||
'tray.menu.newSession': '新建会话',
|
||||
'tray.menu.quit': '退出',
|
||||
'tray.menu.status': '状态: {{status}}',
|
||||
'tray.status.idle': '空闲',
|
||||
'tray.status.thinking': '思考中',
|
||||
'tray.status.executing': '执行中',
|
||||
'tray.status.error': '异常',
|
||||
'app.update.disabled': '自动更新未启用(未配置更新源或开发模式)',
|
||||
'app.dialog.selectWorkspace.title': '选择工作空间目录',
|
||||
'app.dialog.startupFailed.title': 'MetonaAI Desktop 启动失败',
|
||||
'app.dialog.startupFailed.body':
|
||||
'初始化过程中发生错误,应用即将退出。\n\n{{message}}\n\n可能原因:工作空间目录不可写、数据库文件损坏。\n可尝试在设置中切换工作空间路径后重新启动。',
|
||||
'workspace.reason.empty': '路径不能为空',
|
||||
'workspace.reason.notExists': '目录不存在,将在切换后自动创建',
|
||||
'workspace.reason.notDirectory': '路径不是目录',
|
||||
'workspace.reason.inaccessible': '无法访问路径',
|
||||
'workspace.reason.inheritFailed': '继承文件失败:{{message}}',
|
||||
'workspace.reason.restartRequired': '工作空间已切换,重启应用后生效',
|
||||
};
|
||||
|
||||
const en: Record<string, string> = {
|
||||
@@ -112,7 +131,26 @@ const en: Record<string, string> = {
|
||||
'config.error.configIncomplete':
|
||||
'LLM config incomplete. Check that Provider, API Key, Base URL and Model are all filled in.',
|
||||
'config.error.workspaceSaveFailed': 'Failed to save workspace path: {{message}}',
|
||||
'memory.maintain.auditTitle': 'MEMORY.md maintenance',
|
||||
// ===== v0.8.2 P2-5: tray / system dialogs / update / workspace validation =====
|
||||
'tray.menu.showWindow': 'Show Window',
|
||||
'tray.menu.newSession': 'New Session',
|
||||
'tray.menu.quit': 'Quit',
|
||||
'tray.menu.status': 'Status: {{status}}',
|
||||
'tray.status.idle': 'Idle',
|
||||
'tray.status.thinking': 'Thinking',
|
||||
'tray.status.executing': 'Executing',
|
||||
'tray.status.error': 'Error',
|
||||
'app.update.disabled': 'Auto-update is not enabled (no feed URL configured, or dev mode)',
|
||||
'app.dialog.selectWorkspace.title': 'Select workspace directory',
|
||||
'app.dialog.startupFailed.title': 'MetonaAI Desktop failed to start',
|
||||
'app.dialog.startupFailed.body':
|
||||
'An error occurred during initialization and the app will exit.\n\n{{message}}\n\nPossible causes: the workspace directory is not writable, or the database file is corrupted.\nTry switching the workspace path in Settings and restart.',
|
||||
'workspace.reason.empty': 'Path must not be empty',
|
||||
'workspace.reason.notExists': 'Directory does not exist — it will be created after switching',
|
||||
'workspace.reason.notDirectory': 'Path is not a directory',
|
||||
'workspace.reason.inaccessible': 'Path is not accessible',
|
||||
'workspace.reason.inheritFailed': 'Failed to inherit files: {{message}}',
|
||||
'workspace.reason.restartRequired': 'Workspace switched — restart the app to apply',
|
||||
};
|
||||
|
||||
const DICTS: Record<MainLocale, Record<string, string>> = { 'zh-CN': zh, 'en-US': en };
|
||||
|
||||
Reference in New Issue
Block a user