Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(i18n): add Chinese translations for settings, notifications, and memory tree

Steven Enamakel1ee319369c9d
diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.ts
index dee1cea384..61f1e350a8 100644
--- a/app/src/lib/i18n/zh-CN.ts
+++ b/app/src/lib/i18n/zh-CN.ts
@@ -6919,6 +6919,173 @@ const messages: TranslationMap = {
'mcp.custom.form.save': '保存',
'mcp.custom.form.add': '添加服务器',
'mcp.custom.form.saving': '正在保存…',
+ 'settings.mcpServer.tools.listSubagents': '列出可用的子智能体',
+ 'settings.mcpServer.tools.runSubagent': '使用提示词运行子智能体',
+ 'settings.mcpServer.tools.memorySearch': '通过语义查询搜索记忆',
+ 'settings.mcpServer.tools.memoryRecall': '按 ID 检索特定记忆',
+ 'settings.mcpServer.tools.treeReadChunk': '读取记忆树的一个片段',
+ 'settings.mcpServer.tools.treeBrowse': '浏览记忆树结构',
+ 'settings.mcpServer.tools.treeTopEntities': '获取记忆树中的热门实体',
+ 'settings.mcpServer.tools.treeListSources': '列出记忆树的来源',
+ 'settings.notifications.category.messages.title': '消息',
+ 'settings.notifications.category.messages.desc':
+ '来自内嵌 webview 账户(Slack、WhatsApp 等)的新消息。',
+ 'settings.notifications.category.agents.title': '智能体活动',
+ 'settings.notifications.category.agents.desc': '智能体任务完成情况和长时间运行的响应。',
+ 'settings.notifications.category.skills.title': '技能',
+ 'settings.notifications.category.skills.desc': '技能同步事件和 OAuth 状态变更。',
+ 'settings.notifications.category.system.title': '系统',
+ 'settings.notifications.category.system.desc': '连接问题、后台进程错误、更新。',
+ 'settings.notifications.category.meetings.title': '会议',
+ 'settings.notifications.category.meetings.desc': '由心跳检测到的即将到来的会议和日历事件。',
+ 'settings.notifications.category.reminders.title': '提醒',
+ 'settings.notifications.category.reminders.desc': '即将到来的提醒和 cron 任务安排的工作。',
+ 'settings.notifications.category.important.title': '重要事件',
+ 'settings.notifications.category.important.desc': '来自已连接来源的紧急或时效性事件。',
+ 'settings.notifications.categoryToggleAria': '开启或关闭 {name} 通知',
+ 'settings.cron.jobs.runFinishedAt': '{status},于 {time}',
+ 'settings.cron.jobs.scheduleAt': '于 {time}',
+ 'settings.gateway.binaryRequired': '请填写该机器上 openhuman-core 的路径。',
+ 'settings.gateway.portInvalid': 'SSH 端口必须是数字。',
+ 'devOptions.gateway': '位置',
+ 'devOptions.provisionedCore': '由本应用启动的内核',
+ 'devOptions.gatewayId': '位置',
+ // S9 i18n audit fixes (hardcoded English in files that already hold useT()).
+ 'settings.ai.picker.title': '选择提供方和模型',
+ 'settings.ai.picker.subtitle': '在已配置的提供方和可用模型中搜索。',
+ 'settings.ai.picker.useThisModel': '使用此模型',
+ 'settings.ai.picker.searchPlaceholder': '搜索提供方和模型',
+ 'settings.ai.picker.providersLabel': '提供方',
+ 'settings.ai.picker.modelIdPlaceholder': '输入模型 ID',
+ 'settings.ai.picker.claudeCodeHint': '使用 Claude Code 模型别名或模型 ID。',
+ 'settings.ai.loops.memoryTreeWorkers.name': '记忆树工作进程',
+ 'settings.ai.loops.cadence.queue': '队列',
+ 'settings.ai.loops.memoryTreeWorkers.work': '提取片段、封存分支、生成每日摘要并对主题进行路由。',
+ 'settings.ai.loops.memoryTreeWorkers.risk':
+ '{workers} 个工作进程每 {seconds} 秒轮询一次;仅当队列中有提取/封存/摘要/主题任务时才会调用大模型。',
+ 'settings.ai.loops.reflectionRebuild.name': '反思重建',
+ 'settings.ai.loops.cadence.thirtyMin': '30 分钟',
+ 'settings.ai.loops.reflectionRebuild.work': '在记忆活动发生后刷新反思状态。',
+ 'settings.ai.loops.reflectionRebuild.risk':
+ '每周唤醒 {count} 次;仅当重建需要反思时大模型才会工作。',
+ 'settings.ai.loops.composioSync.name': 'Composio 同步',
+ 'settings.ai.loops.cadence.twentyMin': '20 分钟',
+ 'settings.ai.loops.composioSync.route': '集成 API',
+ 'settings.ai.loops.composioSync.work': '当提供方需要同步时轮询已连接的工具。',
+ 'settings.ai.loops.composioSync.risk': '每周唤醒 {count} 次;扫描 {active} 个活跃连接。',
+ 'settings.ai.openaiOauthCompleteError': 'ChatGPT 登录未完成。请检查重定向 URL 后重试。',
+ 'settings.ai.openaiOauthCallbackRequired': '登录后,请粘贴浏览器中的重定向 URL。',
+ 'settings.ai.openaiOauthDisconnectError': '无法断开 ChatGPT 连接,请重试。',
+ 'memorySources.codingSessions.importAll': '导入所有会话',
+ 'memorySources.codingSessions.draining': '正在导入…第 {passes} 轮',
+ 'memorySources.codingSessions.stop': '停止',
+ 'memorySources.codingSessions.progress': '已导入 {processed} 个会话 · {observations} 条观察',
+ 'memorySources.codingSessions.remaining': '约剩 {remaining} 个',
+ 'memorySources.codingSessions.stopped': '导入已暂停',
+ 'memorySources.codingSessions.stoppedMessage':
+ '已导入 {processed} 个会话。再次运行导入以继续剩余的 {remaining} 个。',
+ 'memorySources.codingSessions.stillRunning': '导入仍在进行中',
+ 'memorySources.codingSessions.stillRunningMessage':
+ '目前已导入的会话数:{processed}。导入未在限定时间内完成,但仍在后台运行;请稍后再查看,不要重新开始。',
+ 'sync.pipeline.vectorsPending': '等待向量的片段:{count} 个。语义搜索很快会覆盖它们。',
+ 'chat.sources.usedCount': '使用了 {n} 个来源',
+ // Gateways: cores this app provisions and runs elsewhere.
+ 'settings.gateway.title': '在别处运行内核',
+ 'settings.gateway.description':
+ '内核可以在容器中运行,也可以通过 SSH 在另一台机器上运行,或者在另一台机器的容器中运行。OpenHuman 会启动它、连接它,并在你切换到别处时把它关闭。',
+ 'settings.gateway.add': '添加一个位置',
+ 'settings.gateway.save': '保存位置',
+ 'settings.gateway.remove': '移除',
+ 'settings.gateway.use': '使用这个',
+ 'settings.gateway.inUse': '使用中',
+ 'settings.gateway.activating': '正在连接…',
+ 'settings.gateway.activatingStep': '正在连接:{step}',
+ 'settings.gateway.connected': '已连接到 {endpoint}',
+ 'settings.gateway.failed': '无法连接:{reason}',
+ 'settings.developerMenu.eventLog.workspaceScopeActive': '当前工作区',
+ 'settings.developerMenu.eventLog.workspaceScopeAll': '所有工作区',
+ 'settings.developerMenu.eventLog.waitingHint':
+ '当智能体、工具和系统开始工作时,事件会显示在这里。目前还没有任何事件。',
+ 'settings.developerMenu.eventLog.notConnectedHint': '重新连接到核心以恢复事件流。',
+ 'settings.appearance.showChatMascot': '在消息框上显示 Tiny',
+ 'settings.appearance.showChatMascotDesc':
+ '吉祥物会站在输入框上。隐藏后,聊天将只保留文字,直到你重新开启。',
+ 'settings.mascot.customGifUpload': '上传图片',
+ 'settings.mascot.customGifInvalidType':
+ '不支持的文件类型。请上传 PNG、GIF、JPEG、WebP 或 BMP 图片。',
+ 'settings.mascot.customGifTooLarge': '图片太大。请上传不超过 1.5 MB 的文件。',
+ 'settings.mascot.customGifReadError': '无法读取该图片。请尝试其他文件。',
+ 'walletBalances.colNetwork': '网络',
+ 'walletBalances.colAddress': '地址',
+ 'walletBalances.colBalance': '余额',
+ 'walletBalances.colActions': '操作',
+ 'settings.agents.editor.modelManaged': '托管模型',
+ 'keyring.settings.mode.localEncryptedFile': '加密文件',
+ 'keyring.settings.mode.localPlaintextFile': '未加密文件',
+ 'memoryTree.status.statusBudgetExhausted': '已暂停:嵌入额度已用尽',
+ 'composer.humanMode': '助手模式',
+ 'userErrors.action.openConnections': '打开连接',
+ 'userErrors.integrationDegraded.title': '连接显示的状态已过期',
+ 'userErrors.integrationDegraded.body':
+ '某个已连接的集成正在返回错误,因此应用中显示的连接状态可能不是最新的。',
+ 'userErrors.action.openEmbeddingsSettings': '设置嵌入',
+ 'userErrors.localModelUnavailable.title': '本地模型不可用',
+ 'userErrors.localModelUnavailable.body':
+ '无法在配置的端点连接 Ollama,或所需模型未安装在该端点。请启动 Ollama 并在该端点拉取模型,或将此工作切换到云端提供商。',
+ 'memorySources.repair.title': '要修复较早的记忆吗?',
+ 'memorySources.repair.message':
+ '最多 {scanned} 个已同步的文档在记忆树摄取修复之前保存,因此不会显示在记忆图谱中。摄取它们会消耗嵌入额度。已在记忆树中的文档会被跳过。',
+ 'memorySources.repair.confirm': '修复',
+ 'memorySources.repair.cancel': '暂不',
+ 'memorySources.repair.nothing': '无需修复。没有等待摄取的已同步文档。',
+ 'memorySources.repair.success':
+ '已摄取 {ingested} 个到记忆树({already} 个已存在,{skipped} 个已跳过)。',
+ 'memorySources.repair.morePending': '还有剩余。请再次点击“修复较早的记忆”。',
+ 'memorySources.repair.failed': '无法修复较早的记忆。',
+ 'welcome.gatewaySessionErrorFallback':
+ '目前无法完成登录。会话存储未及时响应(即使重试后也是如此)。请重新启动 OpenHuman 并重试。',
+ 'composio.colApp': '应用',
+ 'composio.colStatus': '状态',
+ 'composio.colAccounts': '账户',
+ 'conversations.composer.context.title': '上下文窗口',
+ 'conversations.composer.context.input': '输入',
+ 'conversations.composer.context.cached': '缓存输入',
+ 'conversations.composer.context.output': '输出',
+ 'conversations.composer.context.cost': '费用',
+ 'conversations.composer.command.clear': '清空对话',
+ 'conversations.composer.command.goal': '设置或修改会话目标',
+ 'conversations.subagent.awaitingTitle': '等待你的回答',
+ 'conversations.subagent.answerPlaceholder': '输入你的回答',
+ 'conversations.subagent.answerSend': '发送回答',
+ 'conversations.subagent.answerSent': '回答已发送',
+ 'flows.canvas.description': '逐步构建此自动化流程,然后保存并运行。',
+ 'settings.ai.providers.groupCloud': '云端',
+ 'brain.refreshError': '无法刷新你的大脑,显示的是上次加载的数据。',
+ 'common.working': '处理中…',
+ 'common.noResults': '没有结果',
+ 'common.filter': '筛选',
+ 'skills.explorer.colSkill': '技能',
+ 'skills.explorer.colDescription': '描述',
+ 'skills.explorer.colProvider': '来源',
+ 'skills.explorer.colAction': '操作',
+ 'sync.status.partial': '已获取,但记忆摄取失败',
+ 'notices.title': '通知',
+ 'settings.clearAppDataIrreversible': '此操作无法撤销。',
+ 'settings.clearAppDataAction': '清除数据',
+ 'chat.conversationsHeading': '对话',
+ 'chat.newWindowPrompt': '今天我能帮您做什么?',
+ 'skills.explorer.sourceFilterAria': '按来源筛选',
+ 'memoryTree.status.storedItemsTile': '已存储条目',
+ 'memoryTree.status.retryFailed': '重试失败的任务',
+ 'memoryTree.status.retryFailedBusy': '正在重试...',
+ 'memoryTree.status.retryFailedDone': '失败的任务已重新排队',
+ 'memoryTree.status.retryFailedCount': '已有 {count} 个任务重新排队等待运行。',
+ 'memoryTree.status.retryFailedError': '无法将失败的任务重新排队',
+ 'settings.search.engineTavilyLabel': 'Tavily',
+ 'settings.search.engineTavilyDesc':
+ '由 Tavily 提供支持的网页、新闻和财经搜索。需要你自己的 Tavily API 密钥。新增搜索和网页提取工具。',
+ 'settings.search.tavilyKeyLabel': 'Tavily API 密钥',
+ 'settings.search.placeholderTavily': 'tvly-...',
};
export default messages;