A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
// Interface copy follows the DSH language. Keys are the English text; `zh` maps them.
// Copy is looked up at render time and every slot outlet re-renders on a language
// switch, so nothing caches a translated string.
export const NAMESPACE = 'ds-bot'
const ZH = {
// Shared
'Main Bot': '主 Bot',
Working: '进行中',
'Waiting for your answer': '等你回答',
'Waiting for {names}': '等 {names} 交回',
'Unread activity': '有未读',
'Not read yet': '未读',
Search: '搜索',
'New chat': '新对话',
'Back to chat': '返回对话',
'New…': '新建',
'Collapse sidebar': '收起侧边栏',
'Expand sidebar': '展开侧边栏',
'Resize sidebar': '调整侧边栏宽度',
'Animation': '动画',
'Bot animation': 'Bot 动画',
'Quiet': '安静',
'Normal': '正常',
'Lively': '活泼',
Settings: '设置',
Usage: '用量',
Account: '账户',
Cancel: '取消',
Delete: '删除',
Duplicate: '复制一份',
Hidden: '已隐藏',
Admin: '管理员',
Add: '添加',
Close: '关闭',
Collapse: '收起',
Copy: '复制',
Copied: '已复制',
Content: '内容',
'Referenced {labels}': '引用了 {labels}',
', ': '、',
You: '你',
you: '你',
Bot: 'Bot',
'a Bot': '一个 Bot',
'a group chat': '一个群聊',
' and ': '、',
and: '和',
'{count} members': '{count} 位成员',
'Loading…': '加载中…',
'Edit Bot': '编辑 Bot',
'Make Main Bot': '设为主 Bot',
'Remove Main Bot role': '取消主 Bot',
'Bot settings': 'Bot 设置',
'Create group chat': '新建群聊',
'Delete group': '删除群聊',
"Open {name}'s chat": '打开 {name} 的对话',
'New Bot': '新 Bot',
'New Bots': '新 Bot',
'Default model': '默认模型',
// Sidebar and account menu
'Bot list': 'Bot 列表',
'Setting up your Main Bot…': '正在设置你的主 Bot…',
'The Bot team could not start. The engine’s startup output — its console, or the app’s startup error box — has the cause.': 'Bot 团队启动失败。原因在引擎的启动输出里——它的控制台,或应用的启动错误框。',
'The Bot team could not start. {error}. The engine’s startup output — its console, or the app’s startup error box — has the cause.': 'Bot 团队启动失败。{error}。原因在引擎的启动输出里——它的控制台,或应用的启动错误框。',
'Automation tasks': '自动化任务',
Connectors: '连接器',
'Search connectors': '搜索连接器',
'No connectors': '暂无连接器',
IM: 'IM',
'via {platform}': '来自 {platform}',
'Your IM bots': '我的 IM 机器人',
'Add an IM bot': '添加 IM 机器人',
'Choose a platform': '选择平台',
'Waiting for approval': '等你允许',
'Wants to talk through {bot}': '想通过 {bot} 对话',
'{count} waiting for approval': '{count} 个等你允许',
'{count} added': '已添加 {count} 个',
'Talks to {bot}': '对话对象 {bot}',
'Open {site}': '打开 {site}',
Accounts: '账号',
Group: '群',
'Direct message': '私聊',
Enabled: '启用',
'Send the IM bot a message to connect your account': '给 IM 机器人发一条消息,即可连接你的账号',
'Remove IM bot': '移除 IM 机器人',
'Remove this IM bot? Its accounts and chats are removed too.': '确认移除这个 IM 机器人?它的账号和聊天也会一起移除。',
'Scan with WeChat': '用微信扫码',
'Getting a code…': '正在获取二维码…',
'Get a new code': '换一个二维码',
WeChat: '微信',
'Feishu / Lark': '飞书 / Lark',
Feishu: '飞书',
Edition: '版本',
DingTalk: '钉钉',
WeCom: '企业微信',
'In Telegram, open @BotFather and send /newbot.': '在 Telegram 里打开 @BotFather,发送 /newbot。',
'Give the bot a name and a username.': '给机器人起名字和用户名。',
'Paste the token that BotFather sends.': '把 BotFather 发来的 token 粘贴到下面。',
'Choose the Bot that answers.': '选好由哪个 Bot 回复。',
'Scan the code with WeChat on your phone and confirm.': '用手机微信扫码并确认。',
'Create a custom app in the developer console and add the bot capability.': '在开发者后台创建企业自建应用,添加「机器人」能力。',
'Grant the permissions to read and send messages.': '开通读取和发送消息的权限。',
'Paste the App ID and App Secret from Credentials, then connect.': '从「凭证与基础信息」复制 App ID 和 App Secret 粘贴到下面,点连接。',
'Under Events & callbacks, receive events through a long connection, add the receive message event, and publish a version.': '在「事件与回调」里选择长连接接收事件,添加「接收消息」事件,然后发布版本。',
'Create an app in the developer console and add a robot.': '在开发者后台创建应用,添加机器人。',
'Set the robot to receive messages in Stream mode, then publish it.': '消息接收模式选 Stream 模式,然后发布。',
'Paste the Client ID and Client Secret.': '把 Client ID 和 Client Secret 粘贴到下面。',
'In WeCom, create an intelligent robot in API mode with a long connection.': '在企业微信里创建智能机器人,选 API 模式、长连接。',
'Paste the Bot ID and Secret.': '把 Bot ID 和 Secret 粘贴到下面。',
'Create a bot on the QQ Open Platform.': '在 QQ 开放平台创建机器人。',
'Paste the App ID and App Secret from the development settings.': '从开发设置里复制 App ID 和 App Secret 粘贴到下面。',
'Until the bot is published, add your QQ account to its sandbox.': '机器人上线前,先把你的 QQ 号加进沙箱。',
'Create an application in the Developer Portal and open Bot.': '在 Developer Portal 创建应用,打开 Bot 页。',
'Turn on Message Content Intent, then reset and copy the token.': '打开 Message Content Intent,再重置并复制 token。',
'Invite the bot to your server with the bot scope.': '用 bot 权限范围把机器人邀请进你的服务器。',
'Create an app and turn on Socket Mode.': '创建应用,打开 Socket Mode。',
'Make an app-level token with connections:write.': '生成带 connections:write 的 App-Level Token。',
'Add the scopes app_mentions:read, chat:write, im:history and files:read, and subscribe to app_mention and message.im.': '添加 app_mentions:read、chat:write、im:history、files:read 权限,订阅 app_mention 和 message.im 事件。',
'Install the app to the workspace and paste both tokens.': '把应用安装到工作区,粘贴两个 token。',
'Talks to': '对话对象',
'Bound to': '绑定到',
'Not bound': '未绑定',
Direct: '私聊',
Chats: '聊天',
Deny: '拒绝',
Enable: '启用',
Disable: '停用',
'Remove?': '确认移除?',
'Not connected': '未连接',
Disabled: '已停用',
Capabilities: '能力',
'Shared capabilities': '共享能力',
'Add capability': '添加能力',
'No capabilities saved': '还没有保存能力',
Type: '类型',
Description: '说明',
'MCP server': 'MCP 服务',
Skill: '技能',
Pack: '能力包',
Connection: '连接方式',
'Local command': '本地命令',
'HTTP server': 'HTTP 服务',
Command: '命令',
'Arguments (one per line)': '参数(每行一个)',
'Environment (JSON)': '环境变量(JSON)',
'{"API_KEY": "$DSH_SECRET_MY_KEY"}': '{"API_KEY": "$DSH_SECRET_MY_KEY"}',
URL: 'URL',
'Headers (JSON)': '请求头(JSON)',
'Skill instructions': '技能说明',
'New skill': '新技能',
'Awaiting approval': '等待批准',
Added: '新增',
Modified: '已修改',
'Show all {count} lines': '展开全部 {count} 行',
'Skill update': '技能更新',
'AGENTS.md update': 'AGENTS.md 更新',
Approve: '批准',
Decline: '拒绝',
Approved: '已批准',
Declined: '已拒绝',
'Save changes': '保存更改',
Edit: '编辑',
'Click again to delete.': '再点一次删除。',
Ready: '就绪',
'Needs approval': '需要批准',
'No items': '没有项目',
'Save an MCP server or skill first.': '请先保存 MCP 服务或技能。',
Environment: '环境变量',
Headers: '请求头',
'{label} must be valid JSON.': '{label}必须是有效的 JSON。',
'{label} must be a JSON object.': '{label}必须是 JSON 对象。',
'Repositories, issues, and pull requests': '仓库、issue 和 PR',
'Connecting…': '正在连接…',
'Pairing QR code': '配对二维码',
'Scanned — confirm on the phone': '已扫码,请在手机上确认',
'Code expired': '二维码已过期',
'Could not connect: {error}': '连接失败:{error}',
'Bot mode could not be set up here: {error}': '这里无法启用 Bot 模式:{error}',
'Connected as {account}': '已连接:{account}',
Connected: '已连接',
Disconnect: '断开',
Connect: '连接',
'GitHub token': 'GitHub token',
'Create a token on GitHub': '去 GitHub 生成 token',
'Use a token instead': '改用 token',
'Could not reach GitHub': '连不上 GitHub',
'GitHub did not accept this token': 'GitHub 不接受这个 token',
'GitHub did not say who this token belongs to': 'GitHub 没有返回这个 token 的账号',
'Paste a token first': '请先粘贴 token',
'GitHub addresses must start with https://': 'GitHub 地址必须以 https:// 开头',
'This DSH cannot load connectors': '这个 DSH 不能加载连接器',
'No such connector': '没有这个连接器',
'Classic Agent mode': '经典 Agent 模式',
'Switch': '切换',
'{model} is not available anymore. Pick another model for me.': '{model} 已经不可用了。给我换一个模型吧。',
"Hi, I'm {name}. I don't have a model yet. How do you want to set one up?": '你好,我是 {name}。我还没有可用的模型。你想怎么配置?',
"Hi, I'm {name}. Pick a model for me first. You can change it later in my details.": '你好,我是 {name}。先给我选一个模型吧,以后可以在我的详情里换。',
"Hi, I'm {name}. I need a {provider} API key before I can start.": '你好,我是 {name}。开始之前,我需要一个 {provider} API key。',
'{provider} API key': '{provider} API key',
'Enter the API key': '请填入 API key',
'Paste only the key, not a NAME=value line': '只粘贴 key 本身,不要带「名字=」',
'Paste the key without quotes': '粘贴时不要带引号',
'An API key has no spaces or special characters': 'API key 里不能有空格或特殊字符',
'Another provider': '其他服务商',
// Models page
'This DSH cannot set up model providers.': '这个 DSH 不能设置模型服务商。',
'This DSH cannot set up model providers': '这个 DSH 不能设置模型服务商',
'Model providers · {count}': '模型服务商 · {count}',
'Add a provider': '添加服务商',
'Needs an API key': '需要 API key',
'Key set': '已设置 key',
'Key set outside DS Bot': 'key 在 DS Bot 之外设置',
'No models': '没有模型',
'{count} models': '{count} 个模型',
// Local agents page
'Local agents': '本地 Agent',
'This DSH cannot register local agent routes.': '这个 DSH 不能注册本地 Agent 路由。',
'Detected agents': '已检测到的 Agent',
Refresh: '刷新',
'No agent CLIs found': '没有找到 Agent CLI',
'Scan again for agent CLIs.': '重新扫描 Agent CLI。',
'Custom agents': '自定义 Agent',
'ACP-compatible agents, added by command.': '按命令添加的 ACP 兼容 Agent。',
'Add agent': '添加 Agent',
'Copies the sign-in command': '复制登录命令',
'Sign in': '登录',
Found: '已找到',
'Not found': '未找到',
Arguments: '参数',
Agent: 'Agent',
Sessions: '会话',
'Open this earlier session': '打开这个较早的会话',
'Session {number}': '会话 {number}',
'Current session': '当前会话',
'Current': '当前',
'This key comes from outside DS Bot, such as an environment variable, and cannot be changed here.': '这个 key 来自 DS Bot 之外(例如环境变量),这里改不了。',
'and {count} more': '还有 {count} 个',
'Remove {name}? Bots on its models need another model.': '删除 {name}?用它的模型的 Bot 要换一个模型。',
'Remove provider': '删除服务商',
'Replace the API key': '更换 API key',
'API key': 'API key',
'Remove key': '删除 key',
'Saved.': '已保存。',
'Kind of provider': '服务商类型',
'Known provider': '常用服务商',
'Custom API': '自定义接口',
Provider: '服务商',
'Choose a provider': '选择服务商',
'Provider ID': '服务商 ID',
'Provider ID, e.g. my-gateway': '服务商 ID,例如 my-gateway',
'Name (optional)': '名称(可选)',
Endpoint: '接口地址',
Protocol: '协议',
'Asking…': '获取中…',
'Fetch models': '获取模型列表',
'The endpoint lists no models. Enter their ids below.': '这个接口没有列出模型,请在下面填写模型 ID。',
'Model ids': '模型 ID',
'Model ids, separated by commas': '模型 ID,用逗号分隔',
'Enter the endpoint as an http or https address': '接口地址要以 http 或 https 开头',
'Every model needs an id': '每个模型都要有 ID',
'A provider id is lowercase letters, digits and dashes, starting with a letter': '服务商 ID 只能用小写字母、数字和短横线,并以字母开头',
'Add at least one model': '至少添加一个模型',
'Two models have the same id': '有两个模型的 ID 相同',
'Mode': '模式',
'Sign in to DeepSeek': '登录 DeepSeek 账号',
'Enter a DeepSeek API key': '填入 DeepSeek API key',
'Open settings to set up a custom model': '打开设置配置自定义模型',
'Create a key on the DeepSeek platform ↗': '去 DeepSeek 开放平台创建 Key ↗',
'The API is billed by usage; the account needs a balance first.': 'API 按用量计费,账户里要先有余额。',
'Models and API keys': '模型和 API Key',
// A failed turn in a Bot's chat
"{name}'s model has no API key yet.": '{name} 用的模型还没有 API Key。',
'This API key is not in the right format.': '这个 API Key 的格式不对。',
'{provider} did not accept the current API key.': '{provider} 不接受现在的 API Key。',
'{provider} did not accept the current API key ({status}).': '{provider} 不接受现在的 API Key({status})。',
'{provider} is out of balance or quota.': '{provider} 的余额或额度不够了。',
'{provider} is out of balance or quota ({status}).': '{provider} 的余额或额度不够了({status})。',
'The DeepSeek account balance is too low.': 'DeepSeek 账号余额不足。',
'The DeepSeek account sign-in has expired.': 'DeepSeek 账号的登录失效了。',
'Could not reach the model service.': '连不上模型服务。',
'Too many requests. Wait a moment, then try again.': '请求太频繁,稍等一会儿再试。',
'The model service failed.': '模型服务出错了。',
'DeepSeek Harness stopped before this turn finished.': '这一轮还没完成,DeepSeek Harness 就停下了。',
'This turn failed.': '这一轮运行失败了。',
'The model service': '模型服务',
'DeepSeek account': 'DeepSeek 账号',
'This Bot': '这个 Bot',
'Enter API key': '填入 API Key',
'Enter the key again': '重新填 Key',
'Sign in with a DeepSeek account': '用 DeepSeek 账号登录',
'Use a DeepSeek account instead': '改用账号登录',
'Use the DeepSeek account': '改用 DeepSeek 账号',
'Sign in again': '重新登录',
'Pick another model': '换个模型',
'Top up ↗': '去充值 ↗',
Retry: '重试',
'Retrying…': '正在重试…',
'Technical details': '技术详情',
Code: '代码',
'HTTP status': 'HTTP 状态码',
'Request ID': '请求 ID',
'Provider message': '原文',
'DS Bot': 'DS Bot',
// Header
'Message {name}': '给 {name} 发消息',
Message: '发消息',
'Press Enter to steer queued messages': '按 Enter 插话发送排队的消息',
'Couldn’t steer the queued messages. Try again.': '插话发送失败,请重试。',
'{n} queued messages': '{n} 条排队消息',
'Sending…': '发送中…',
'Queued image': '排队消息图片',
'Queued file {name}': '排队文件 {name}',
'Edit queued message': '编辑排队消息',
'Contains non-text content, so editing is not supported yet': '包含非文本内容,暂不支持编辑',
'Save queued message': '保存排队消息',
'Cancel editing': '取消编辑',
'Delete queued message': '删除排队消息',
'Steer queued message': '插话发送',
'Only while a turn is running': '仅运行中可插话发送',
'Couldn’t edit the queued message — it may have started already.': '编辑失败:这条消息可能已经开始发送。',
'Couldn’t delete the queued message — it may have started already.': '删除失败:这条消息可能已经开始发送。',
'Couldn’t steer the queued message. Try again.': '插话发送失败,请重试。',
'View conversation details': '查看对话详情',
'1 new message': '1 条新消息',
'{count} new messages': '{count} 条新消息',
'New messages': '新消息',
'Dismiss new messages': '关闭新消息提示',
New: '新',
// New chat
'Create new Bot': '新建 Bot',
'Create new Bot “{name}”': '新建 Bot「{name}」',
'Add to group chat': '加入群聊',
'Message Bot': '给 Bot 发消息',
'To:': '发给:',
'Remove {name}': '移除 {name}',
Recipient: '收件人',
Recipients: '收件人',
'Search Bots…': '搜索 Bot…',
'Start a chat with…': '和谁聊…',
'Close new chat': '关闭新对话',
'No Bots match': '没有匹配的 Bot',
'Type a name to create a Bot': '输入名字来新建 Bot',
'Send message': '发送',
// Details drawer
Details: '详情',
Browser: '浏览器',
'Browser access': '浏览器权限',
'Bots browse, click and fill in forms freely. Posting, uploading, downloading and deleting ask you first unless you allow them here. Payments are always yours: the Bot hands the page to you.': 'Bot 可以自由浏览、点击和填写表单。发布、上传、下载和删除会先征求你的同意,除非你在这里预先允许。付款始终由你自己完成:Bot 会把页面交给你。',
'Allowed actions': '已允许的操作',
'Nothing allowed yet.': '还没有允许的操作。',
'All sites': '所有网站',
'All four': '全部四项',
Permanent: '永久',
'Until {time}': '截至 {time}',
Expired: '已过期',
'Remove grant': '移除授权',
'Allow an action': '允许操作',
Site: '网站',
Actions: '操作',
Post: '发布',
Duration: '时限',
'1 hour': '1 小时',
Today: '今天',
'example.com — leave empty for all sites': 'example.com — 留空表示所有网站',
About: '简介',
'Show less': '收起',
'Show more': '展开',
'Admin leads': '管理员主持',
'Plain messages go to the admin, who calls others with @Name.': '普通消息先给管理员,由管理员用 @名字 点名其他成员。',
Everyone: '所有人',
'Every member answers in turn, admin first.': '每位成员轮流回答,管理员先说。',
'Members · {count}': '成员 · {count}',
'Leave the group without an admin': '让群聊不设管理员',
Unset: '取消',
'Make admin': '设为管理员',
'Remove {name} from the group': '把 {name} 移出群聊',
'Remove from group': '移出群聊',
'Add member': '添加成员',
'{name} leads this group: it can call members with @Name, change the group, and post here.': '{name} 主持这个群:可以用 @名字 点名成员、修改群设置、在群里发言。',
'No admin yet. An admin can call members with @Name, change the group, and post here.': '还没有管理员。管理员可以用 @名字 点名成员、修改群设置、在群里发言。',
'Who answers': '谁来回答',
'Choose an admin first': '先选一个管理员',
'@mentions always pick who answers.': '@提及总是指定由谁回答。',
Notice: '群公告',
'Shared instructions every member reads before speaking…': '每位成员发言前都会读到的共同说明…',
'Group notice': '群公告',
'Back to details': '返回详情',
'Close details': '关闭详情',
'Copied conversation': '已复制对话',
'Share conversation': '分享对话',
'Copy conversation as Markdown': '把对话复制为 Markdown',
'This conversation is not part of your Bot team.': '这个对话不属于你的 Bot 团队。',
'Admin {name}': '管理员 {name}',
'No admin': '无管理员',
'Bot name': 'Bot 名字',
'Group name': '群名',
'Name after members': '按成员命名',
'Rename {name}': '重命名 {name}',
Rename: '重命名',
'Add instructions in Bot settings': '在 Bot 设置里添加说明',
'No scheduled tasks yet. To add one, tell the Bot in its chat what to do and when.': '还没有定时任务。要添加,在对话里告诉 Bot 做什么、什么时候做。',
'The browser is in DSH Desktop and the DS Bot app.': '浏览器在 DSH 桌面版和 DS Bot 应用里。',
'New tab': '新标签页',
'Close tab': '关闭标签页',
'Open {title}': '打开 {title}',
'Conversation details': '对话详情',
'Panel tabs': '面板标签页',
'Close panel': '关闭面板',
// Cookie imports
'Import cookies': '导入 cookie',
'From a file…': '从文件导入…',
'cookies.txt, JSON, storageState': 'cookies.txt、JSON、storageState',
'Copy of its cookies': '复制它的 cookie',
'No browsers found': '没有找到浏览器',
'The Bot controls this browser': 'Bot 正在控制此浏览器',
'The Bot is waiting for you': 'Bot 正在等待你',
'waits for the computer': '等你停手',
'You control this browser': '你正在控制此浏览器',
'The Bot handed this browser to you: {reason}': 'Bot 已将此浏览器交给你:{reason}',
'Take over': '接管',
'Give back': '交还',
'Sign-in needed': '需要登录',
'Payment needed': '需要付款',
'Verification needed': '需要验证',
'Help needed in the browser': '需要你在浏览器里帮忙',
Skipped: '已跳过',
Returned: '已交还',
"I'm done": '我完成了',
'{name} is running': '{name} 正在运行',
'It must close for a moment so its cookies can be copied. It will reopen with your tabs.': '需要先把它关掉一下才能复制 cookie,之后会自动重新打开并恢复你的标签页。',
'Close {name} and import': '关闭 {name} 并导入',
'Closing…': '正在关闭…',
'Import {count} cookies': '导入 {count} 个 cookie',
'the browser was restarted': '浏览器已重新打开',
'{count} skipped': '跳过 {count} 个',
'{count} session': '{count} 个会话',
'{count} adjusted': '调整了 {count} 个',
'Cookies without an expiry stay until the app closes.': '没有过期时间的 cookie 会保留到应用关闭。',
'Some sites also keep sign-in outside cookies; you may need to sign in again there.': '有些网站还把登录信息存在 cookie 之外,这些网站可能要重新登录。',
'Importing…': '正在导入…',
'Import': '导入',
'Imported {count} cookies': '已导入 {count} 个 cookie',
'No cookies were stored': '没有 cookie 被写入',
'Reload the page': '刷新页面',
'Import failed': '导入失败',
'That file is too large to be a cookie export.': '这个文件太大了,不像是 cookie 导出文件。',
'That file could not be read.': '这个文件读不了。',
'This browser encrypts its cookies so only it can read them. Export them to a file first, then import that file.': '这个浏览器把 cookie 加密了,只有它自己能读。先把 cookie 导出成文件,再导入那个文件。',
'{count}': '{count} 个',
// Bot settings
'Choose a PNG, JPEG, WebP, or GIF image': '请选择 PNG、JPEG、WebP 或 GIF 图片',
'Choose an image smaller than 25 MB': '请选择小于 25 MB 的图片',
'That image is too large': '图片太大了',
Model: '模型',
'Avatar editor': '形象编辑',
'Avatar source': '形象来源',
Upload: '上传',
'Reset character to default': '恢复默认形象',
Reset: '恢复默认',
'Character shape': '形状',
'Character color': '颜色',
'Drag, drop, or paste an image': '拖入或粘贴一张图片',
Replace: '替换',
'Browse files': '选择文件',
'Remove photo': '移除照片',
'Edit Bot avatar': '编辑 Bot 形象',
Name: '名字',
Instructions: '说明',
'What this Bot is responsible for…': '这个 Bot 负责什么…',
'Pick the model this Bot runs on.': '选择这个 Bot 使用的模型。',
'This model is not available now. Pick another one.': '这个模型现在不可用,请换一个。',
'Every message of this Bot runs on it.': '这个 Bot 的每条消息都用它。',
'Applies from the next message.': '从下一条消息开始生效。',
Profile: '资料',
Label: '标签',
'Optional. Shown under the name.': '可选,显示在名字下方。',
'Research, admin…': '研究、行政…',
'What this Bot does': '这个 Bot 做什么',
"Its job on the team. Part of the Bot's system prompt.": '它在团队里的分工,会写进 Bot 的系统提示词。',
'A copy with the same job and model, and fresh memory.': '复制分工和模型,记忆从零开始。',
'Delete {name}?': '删除 {name}?',
'Delete Bot': '删除 Bot',
'Click again to delete. Its chats are archived.': '再点一次删除,它的对话会归档。',
'Removes the Bot from the team.': '把这个 Bot 从团队里移除。',
'Pick a model and {name} can start.': '选好模型,{name} 就能开始工作。',
'Permissions': '权限',
'Read only': '仅可查看',
'Workspace': '工作区内修改',
'Full access': '完全权限',
'Same for every member': '全员统一',
"Replaces each member's own permissions in this group.": '在这个群里代替各成员自己的权限。',
'The only Main Bot. To hand the role to another Bot, use Main Bot on the Bots page.': '这是唯一的主 Bot。要把主 Bot 交给别的 Bot,请到「Bot」页的主 Bot 里换。',
Change: '更换',
'Can create and change Bots, and runs every group chat.': '可以创建和修改 Bot,并管理所有群聊。',
Sidebar: '侧栏',
'Kept above the other chats.': '排在其他对话上面。',
'Search still finds it.': '仍然可以搜索到。',
Manage: '管理',
// Avatar library
Library: '头像库',
'Import photos': '导入照片',
'Importing photos…': '正在导入照片…',
'No photos in the library yet.': '头像库还是空的。',
'Use this photo': '用这张照片',
'Remove photo from the library': '从头像库移除这张照片',
'1 photo imported': '已导入 1 张照片',
'{count} photos imported': '已导入 {count} 张照片',
'1 photo was already in the library': '有 1 张照片已经在头像库里',
'{count} photos were already in the library': '有 {count} 张照片已经在头像库里',
'{name}: {reason}': '{name}:{reason}',
photo: '照片',
'Show more photos': '显示更多照片',
'Showing {shown} of {total} photos': '显示 {shown} / {total} 张照片',
// Group chat settings
'Leave it empty to name the group after its members.': '留空就按成员命名。',
'Every member reads it before speaking in this group.': '每位成员在这个群里发言前都会读到。',
'Add a Bot first: a group chat needs at least two.': '请先添加一个 Bot:群聊至少要两个。',
'Click again to delete. Its history is archived.': '再点一次删除,聊天记录会归档。',
'Removes the group chat. Its members stay on the team.': '删除这个群聊,成员仍留在团队里。',
'Add a notice in group settings': '在群设置里添加群公告',
// Create Bot
'Create Bot': '创建 Bot',
'Back to new chat': '返回新对话',
Look: '形象',
Shuffle: '随机',
'Replace photo': '更换照片',
'Upload photo': '上传照片',
'A Bot named {name} already exists': '已经有叫 {name} 的 Bot 了',
'The Bot runs on this model. You can change it later in its details.': 'Bot 会使用这个模型。以后可以在详情里修改。',
'Pick a model here, or the Bot asks for one in its chat.': '在这里选一个模型,或者之后由 Bot 在聊天里问你。',
"Add a provider and a model in DeepSeek Harness first, or pick one in the Bot's chat later.": '请先在 DeepSeek Harness 里添加服务商和模型,或者稍后在 Bot 的对话里选择。',
'Creating…': '创建中…',
Create: '创建',
// Model menu
Default: '默认',
'Thinking level': '思考强度',
'Model: {model}': '模型:{model}',
none: '无',
'Choose a model': '选择模型',
'{provider} · not available': '{provider} · 不可用',
'Model for {name}': '{name} 的模型',
'No models are set up in DeepSeek Harness yet.': 'DeepSeek Harness 里还没有设置模型。',
'Models and providers…': '模型和服务商…',
Models: '模型',
'Harness default': 'Harness 默认',
Saving: '保存中',
'Manage models': '管理模型',
// Shapes
Whale: '鲸鱼', Star: '星星', Moon: '月亮', Wave: '声波', Squircle: '圆角方', Bull: '牛角', Blossom: '花朵',
Gumdrop: '软糖', Peanut: '花生', Bubbles: '泡泡', Saucer: '飞碟', Sprout: '嫩芽', Bunny: '兔子',
Kitty: '小猫', Beacon: '灯塔', Plus: '加号', Magnet: '磁铁', Acorn: '橡果', Pebbles: '石子', Cushion: '靠垫',
Ring: '圆环', Gem: '宝石',
// Colors
Black: '黑', Brown: '棕', Red: '红', Orange: '橙', Yellow: '黄', Green: '绿', Cyan: '青', Blue: '蓝',
Violet: '紫', Magenta: '品红', Gray: '灰', Aurora: '极光', Deepseek: 'DeepSeek 蓝', Charcoal: '炭黑',
Graphite: '石墨', Rose: '玫瑰', Sky: '天蓝', Tangerine: '橘', Cobalt: '钴蓝',
// Themes
DeepSeek: 'DeepSeek', Mono: '黑白', Paper: '纸张', Moonlight: '月光',
// Settings dialog
General: '通用',
Bots: 'Bot',
'Group chats': '群聊',
Secrets: '密钥',
Appearance: '外观',
Theme: '主题',
'Colors for the whole team, on every device.': '整个团队的配色,所有设备同步。',
Accent: '强调色',
'Unread marks, badges, and the brand mark.': '未读标记、徽标和品牌标志。',
'Theme accent': '主题强调色',
'Custom accent': '自定义强调色',
'Message layout': '消息布局',
Bubble: '气泡',
Flat: '平铺',
'Bubble width': '气泡宽度',
'Text width': '正文宽度',
'Show thinking': '显示思考过程',
'Enter sends message': '回车发送消息',
'Bots · {count}': 'Bot · {count}',
'First in the sidebar. Pick another Bot to hand it the role; {name} then stops being a Main Bot.': '排在侧栏最上面。选另一个 Bot 就会把主 Bot 交给它,{name} 随之不再是主 Bot。',
'Choose a Bot…': '选择一个 Bot…',
'Also a Main Bot.': '也是主 Bot。',
'Move to first': '移到最前',
'Add a Main Bot': '添加主 Bot',
'Main Bots can create and change Bots, and run every group chat.': '主 Bot 可以创建和修改 Bot,并管理所有群聊。',
'Group chats · {count}': '群聊 · {count}',
'No group chats yet.': '还没有群聊。',
'A group chat lets several Bots work on one thing with you.': '在群聊里,几个 Bot 和你一起做一件事。',
'Back to group chats': '返回群聊列表',
'DS Bot settings': 'DS Bot 设置',
'Settings pages': '设置页面',
'Models, providers, and the rest of DeepSeek Harness': '模型、服务商和 DeepSeek Harness 的其他设置',
'Harness settings': 'Harness 设置',
'Open Harness settings': '打开 Harness 设置',
'Back to Bots': '返回 Bot 列表',
'Close settings': '关闭设置',
// Context menu
Unpin: '取消置顶',
Pin: '置顶',
Pinned: '已置顶',
'Mark as Unread': '标为未读',
'Rename Bot': '重命名 Bot',
'Group settings': '群设置',
'Rename group': '重命名群聊',
'Copy conversation ID': '复制对话 ID',
'Hide from sidebar': '从侧栏隐藏',
'{name} actions': '{name} 的操作',
// The DSH Agent's own row and Session list. "DSH Agent" is a product name and
// stays in English.
'Add DSH Agent': '添加 DSH Agent',
'Remove DSH Agent': '移除 DSH Agent',
'New session': '新会话',
Archive: '归档',
'Session actions': '会话操作',
'Plain dsh session': '原生 dsh 会话',
'just now': '刚刚',
'{n} min': '{n} 分钟',
'{n} h': '{n} 小时',
'{n} d': '{n} 天',
// Plugin updates
'DS Bot {version} is available': 'DS Bot {version} 可以更新',
'Updating DS Bot…': '正在更新 DS Bot…',
'DS Bot {version} is installed. Restart DSH to use it.': 'DS Bot {version} 已安装,重启 DSH 后生效',
'DS Bot {version} is installed.': 'DS Bot {version} 已安装。',
'DS Bot update': 'DS Bot 更新',
'DS Bot {version}': 'DS Bot {version}',
'Update installed': '更新已安装',
'Restart DSH to start using DS Bot {version}.': '重启 DSH 后开始使用 DS Bot {version}。',
'You have {version}.': '当前版本 {version}。',
'The update did not finish: {reason}': '更新没有完成:{reason}',
"What's new": '更新说明',
'Updating…': '正在更新…',
'DSH {version} is available': 'DSH {version} 可以更新',
'Updating DSH…': '正在更新 DSH…',
'DSH update': 'DSH 更新',
'DSH {version}': 'DSH {version}',
'Restart DSH to start using DSH {version}.': '重启 DSH 后开始使用 DSH {version}。',
'Update DS Bot {version} first.': '先更新 DS Bot {version}。',
'Open updates': '打开更新',
// Command palette
Messages: '消息',
Commands: '命令',
'Search Bots, chats and messages': '搜索 Bot、对话和消息',
'Clear search': '清除搜索',
Results: '结果',
'No results': '没有结果',
'Try a Bot name or words from a message': '试试 Bot 名字或消息里的词',
// Bot exchange
'Bot exchange': 'Bot 间对话',
'Bot exchange transcript': 'Bot 间对话记录',
'No messages yet': '还没有消息',
'Close Chat': '关闭',
'Show all · {count} characters': '显示全部 · {count} 字',
'Showing the first {count} characters': '只显示前 {count} 字',
'Only the start of this message is kept here': '这里只保留了这条消息的开头',
// Time and usage
'Today {time}': '今天 {time}',
'Yesterday {time}': '昨天 {time}',
'Ran for {duration}': '本次用时 {duration}',
'{tokens} tok · Cache hit {hit}%': '{tokens} tok · 缓存命中 {hit}%',
'1 turn': '1 轮',
'{count} turns': '{count} 轮',
'{speed} tok/s': '{speed} tok/s',
'Cache hit {hit}%': '缓存命中 {hit}%',
'Context {percent}%': '上下文 {percent}%',
'{used} of {total} tokens of context in use': '上下文已用 {used} / {total} tokens',
// Transcript
Footnotes: '脚注',
'Remove reaction {emoji}': '移除表情 {emoji}',
'Add reaction': '添加表情',
Reply: '回复',
'More message actions': '更多操作',
More: '更多',
Reactions: '表情',
'Message actions': '消息操作',
Download: '下载',
'Thought it through': '思考过程',
'Earlier messages': '更早的消息',
'Loading earlier messages…': '正在加载更早的消息…',
'Couldn’t load earlier messages · Retry': '更早的消息没加载出来 · 重试',
'Load earlier': '加载更早的消息',
'1 image': '1 张图片',
'{count} images': '{count} 张图片',
'Replies from': '群聊回复:',
'Reply from': '收到回复:',
'Message from': '收到消息:',
'Stopped by': '叫停者:',
'{count} messages with': '{count} 条消息,来自',
'Routine started': '例行任务开始',
Update: '更新',
'Thinking about it': '想一想',
'Weighing the options': '权衡一下',
'Working out a plan': '理一下思路',
'Sorting out the details': '梳理细节',
'On it': '在做了',
'Busy with it': '正在处理',
'Moving ahead': '推进中',
'Taking care of it': '处理中',
'Making headway': '有进展了',
'Moving to a fresh conversation': '整理记忆,换到新对话',
'Switching working folder': '正在切换工作文件夹',
'Searching online': '上网搜索',
'Reading a page': '阅读网页',
'Running shell commands': '运行命令',
'Opening a file': '打开文件',
'Looking through files': '查找文件',
'Writing changes': '写入修改',
'Working on an image': '处理图片',
'Creating a group': '创建群聊',
'Updating the group': '更新群聊',
'Deleting the group': '删除群聊',
'Posting in the group': '在群里发言',
'Checking the keys': '查看密钥',
'Asking {name}': '询问 {name}',
'Asking another Bot': '询问其他 Bot',
'Stopping {name}': '叫停 {name}',
'Stopping another Bot': '叫停其他 Bot',
'Creating {name}': '创建 {name}',
'Updating {name}': '更新 {name}',
'Checking the team': '查看团队',
'Reading {name}': '阅读 {name}',
'Looking back through the chat': '翻看聊天记录',
'{name} looked up its own chat': '{name} 查看了自己的对话',
'{name} looked up its own chat for “{text}”': '{name} 在自己的对话里查找「{text}」',
'{name} is typing…': '{name} 正在输入…',
"{name} didn't answer in time": '{name} 没有及时回应',
'{name} did not answer or call anyone; call a member with @Name': '{name} 没有回答,也没有叫谁;用 @名字 叫一个成员来回答',
'The group replies could not be shown': '群里的回复显示不出来',
'Paused after {count} Bot relays. Waiting: {names}': 'Bot 之间已接力 {count} 次,先停下了。还在等:{names}',
'{names} went back and forth {count} times without progress and paused. Write here to go on': '{names} 来回 {count} 次没有进展,先停下了。你发言后继续',
'{name} paused for your approval': '{name} 停下来等你批准',
'{name} started on it': '{name} 开始做了',
"You stopped {name}'s work": '你停下了 {name} 的工作',
'{name} finished its work': '{name} 做完了',
'{name} was cut off by a restart and picked its work back up': '{name} 的工作被重启打断,已经接着做',
'{name} was cut off by a restart again and stopped': '{name} 的工作又被重启打断,已停下',
'Picked up its work after a restart': '重启后接着做之前的工作',
'Profile updated': '资料已更新',
'Asked to make the tool call it wrote as text': '工具调用被写成了文字,已让它重新调用',
'Went on after the failed turn': '上一轮失败后,已让它接着做',
'A Bot': '一个 Bot',
'{name} is waiting for your approval': '{name} 等你批准',
'{first} and {second} are waiting for your approval': '{first}、{second} 等你批准',
'{first}, {second} and {count} more are waiting for your approval': '{first}、{second} 等 {total} 个等你批准',
'Waiting for your approval': '等你批准',
'in its own chat': '在自己的对话里',
'Stop all work in this group': '停止本群的所有工作',
'Stop all': '全部停止',
// Group goals
Goal: '目标',
'Set a goal': '设定目标',
'This group has no admin': '这个群没有管理员',
'What should this group achieve?': '这个群要达成什么?',
Start: '开始',
Resume: '继续',
'Stop the goal?': '确认终止?',
'Aligning the goal with you': '正在和你对齐目标',
'{admin} asks what is still open, then writes the goal with its checks and stages.': '{admin} 会先问清还没定的地方,再写出带验收方法和阶段的目标。',
Objective: '目标',
'Done when': '验收方法',
Rules: '约束',
'Final check': '总验收',
'Waiting for you': '等你处理',
'Goal reached': '已达成',
'Stages': '阶段',
'Stage {n}: {title}': '第 {n} 阶段:{title}',
'Paused · {title}': '已暂停 · {title}',
'Waiting for you · {title}': '等你 · {title}',
'Checking · {title}': '验收中 · {title}',
'Sent back by {admin}: {feedback}': '{admin} 打回重做:{feedback}',
'Sent back {n} times by {admin}. Last time: {feedback}': '{admin} 已打回 {n} 次,最近一次:{feedback}',
'Done when: {text}': '完成标准:{text}',
'Evidence: {text}': '通过的依据:{text}',
'Back to current stage': '回到当前阶段',
'Goal and checks': '目标与验收',
Summary: '总结',
Evidence: '证据',
'Stop current work too': '同时停止当前工作',
'Setting a goal': '正在设定目标',
'Goal set: {title} · {count} stages': '已设定目标:{title} · {count} 个阶段',
'Stage {n} passed · now stage {m}: {next}': '阶段 {n} 已通过 · 进入阶段 {m}:{next}',
'All {count} stages passed': '{count} 个阶段全部通过',
'Stage {n} sent back for rework': '阶段 {n} 已打回返工',
'Goal updated': '目标已更新',
'Goal paused': '目标已暂停',
'Goal resumed': '目标已继续',
'Goal reached: {title}': '目标已达成:{title}',
'Goal stopped': '目标已终止',
Reject: '拒绝',
'Allow once': '允许一次',
"Couldn't message {name}": '没能给 {name} 发消息',
Messaged: '已发消息给',
"Couldn't stop {name}": '没能叫停 {name}',
Stopped: '已终止',
Created: '已创建',
Updated: '已更新',
'Created group': '已创建群聊',
"Couldn't create the group": '没能创建群聊',
'Updated group': '已更新群聊',
"Couldn't update the group": '没能更新群聊',
'Deleted group': '已删除群聊',
"Couldn't delete the group": '没能删除群聊',
'Posted in': '已发到',
"Couldn't post in the group": '没能在群里发言',
Read: '已读取',
// Questions
'Your own answer': '你自己的回答',
'Type your own answer': '输入你自己的回答',
Selected: '已选',
Skip: '跳过',
Submit: '提交',
'Choose all that apply': '可多选',
'Dismiss question': '关闭问题',
Dismiss: '关闭',
Dismissed: '已关闭',
'Answered by message': '已用消息回答',
'Your answer': '你的回答',
// Views
View: '视图',
Confirm: '确认',
Progress: '进度',
'Dismiss view': '关闭视图',
Sources: '来源',
Chart: '图表',
'Chart {n}': '图表 {n}',
Series: '系列',
'Chart options': '图表选项',
'View as table': '以表格查看',
'View as chart': '以图表查看',
'Copy data': '复制数据',
'Download image': '下载图片',
'This view tried to open a page and was stopped.': '这个视图想打开一个网页,已被拦下。',
'Send to Bot': '发给 Bot',
// Secrets
'All Bots': '所有 Bot',
'No Bot': '没有 Bot',
'Paste or type the key': '粘贴或输入密钥',
'Only {name}': '只给 {name}',
'Who may use it': '谁可以用',
'Cancel the request': '取消请求',
'This page is not on HTTPS: the key crosses the network unencrypted.': '这个页面不是 HTTPS:密钥会以明文经过网络。',
'Let {bot} use {name}?': '允许 {bot} 使用 {name}?',
'{name} needs a key': '{name} 需要一个密钥',
'Saved for {scope}': '已保存,可用范围:{scope}',
'Value of {name}': '{name} 的值',
"{bot} never sees the value. It reaches {bot}'s shell as ": '{bot} 永远看不到这个值。它会作为下面的环境变量进入 {bot} 的 shell:',
' At least {count} characters.': ' 至少 {count} 个字符。',
'At least {count} characters.': '至少 {count} 个字符。',
'Replace value': '替换值',
'Saving…': '保存中…',
Save: '保存',
'Allowing…': '允许中…',
Allow: '允许',
'{bot} asked for {name}': '{bot} 请求了 {name}',
'Allowed {bot} to use {name}': '已允许 {bot} 使用 {name}',
'Saved {name}': '已保存 {name}',
Canceled: '已取消',
Done: '完成',
'{bot} is using {name}': '{bot} 正在使用 {name}',
'{bot} could not ask for a key: this window can only view the team': '{bot} 没能要密钥:这个窗口只能查看团队',
'a saved key': '一个已保存的密钥',
'Chosen Bots': '指定的 Bot',
'Who may use {name}': '谁可以用 {name}',
'Save access': '保存权限',
'Replace the value': '替换值',
'New value of {name}': '{name} 的新值',
'Replaced. Bots get the new value from their next command.': '已替换。Bot 从下一条命令开始拿到新值。',
'a deleted Bot': '一个已删除的 Bot',
'Asked by {name}': '由 {name} 请求',
'added {time}': '添加于 {time}',
'last used {time}': '上次使用 {time}',
'not used yet': '还没用过',
'Delete {name}? Bots lose it at once.': '删除 {name}?Bot 会立刻失去它。',
Keep: '保留',
'Key name': '密钥名',
'NAME, e.g. GITHUB_TOKEN': '名字,例如 GITHUB_TOKEN',
'What it is for': '用途',
Value: '值',
'New keys are for all Bots; narrow it down afterwards.': '新密钥默认所有 Bot 可用,之后可以收窄。',
'Save key': '保存密钥',
'Keys your Bots asked for. Bots never see the values: they use them as ': '你的 Bot 请求过的密钥。Bot 永远看不到值:它们在 shell 里通过 ',
' in their shell, and every value is replaced by ': ' 使用,而且发给模型之前,每个值都会被替换成 ',
' before anything goes to a model.': '。',
'Secrets · {count}': '密钥 · {count}',
'No keys yet. When a Bot needs one, it shows a card in its chat.': '还没有密钥。Bot 需要时,会在对话里弹出一张卡片。',
'Add a key': '添加密钥',
// Memory
Memory: '记忆',
'Nothing saved yet': '还没有保存内容',
'1 entry': '1 条',
'{count} entries': '{count} 条',
"Manage {name}'s memory": '管理 {name} 的记忆',
"{name}'s memory": '{name} 的记忆',
'Memory summary': '记忆摘要',
'All entries': '全部记忆',
'Change history': '更改记录',
'No changes yet': '还没有更改',
'Load more': '加载更多',
Undo: '撤销',
Undone: '已撤销',
'Undo this change': '撤销这条更改',
'Click again to undo': '再点一次撤销',
'Memory options': '记忆选项',
'Close memory': '关闭记忆',
'Back to the summary': '返回摘要',
'Regenerate summary': '重新生成摘要',
'Updated {time}': '更新于 {time}',
'Updated just now': '刚刚更新',
'Writing the summary…': '正在生成摘要…',
'The summary is out of date: {reason}': '摘要不是最新的:{reason}',
'The summary could not be written: {reason}': '摘要没能生成:{reason}',
'{name} has not saved anything yet': '{name} 还没有记住任何内容',
'Bots keep lasting preferences, decisions, and what you ask them to remember. Tell {name} below, or in its chat.': 'Bot 会记住长期的偏好、做过的决定,以及你让它记住的事。可以在下面告诉 {name},也可以在对话里说。',
'Nothing is saved for this group yet': '这个群还没有记住任何内容',
'A group keeps the decisions, rules, and facts its work needs, for its members to read here. Tell it below, or in the group.': '群会记住工作需要的决定、规则和事实,只有群成员在这个群里会读。可以在下面告诉它,也可以在群里说。',
'Team memory': '团队记忆',
'Every Bot reads it': '所有 Bot 都会读',
'Group memory': '群记忆',
'Only its members read it': '只有群成员会读',
'MEMORY.md, which every conversation reads': 'MEMORY.md,每次对话都会读',
'{used} of {limit} characters': '{used} / {limit} 字符',
'by you': '由你添加',
'by {name}': '由 {name} 添加',
'Remove from memory': '从记忆中删除',
'Click again to remove': '再点一次删除',
Remove: '删除',
'Ask or update': '询问或更新',
"Ask about or update {name}'s memory": '询问或更新 {name} 的记忆',
Send: '发送',
'Added: {text}': '已添加:{text}',
'Added to team memory: {text}': '已加入团队记忆:{text}',
'Updated: {text}': '已更新:{text}',
'Removed: {text}': '已删除:{text}',
'Removed from team memory: {text}': '已从团队记忆删除:{text}',
'Not changed: {text} ({reason})': '没有改动:{text}({reason})',
'Saving to memory': '正在记下',
'Updating memory': '正在更新记忆',
'Checking memory': '正在查看记忆',
'Memory updated': '记忆已更新',
'Already saved': '已经保存过了',
"Couldn't save to memory": '没能保存到记忆',
"Couldn't remove from memory": '没能从记忆里删除',
'Memory not changed': '记忆没有变化',
'Write something to save': '请写下要保存的内容',
'No saved entry matched': '没有匹配的记忆条目',
'The memory refused this change': '记忆没有接受这次改动',
'The memory could not be changed': '记忆没能改动',
'Team memory updated': '团队记忆已更新',
"Updated {name}'s memory": '已更新 {name} 的记忆',
"Memory updated. Open {name}'s memory": '记忆已更新,打开 {name} 的记忆',
// Browser
'Close browser': '关闭浏览器',
'Open browser': '打开浏览器',
"{name}'s browser": '{name} 的浏览器',
'Resize panel': '调整面板宽度',
'{name} read this page': '{name} 读了这个页面',
"{name}'s browser. {name} can read the page shown here.": '{name} 的浏览器。{name} 能读取这里显示的页面。',
Back: '后退',
Forward: '前进',
Stop: '停止',
Reload: '刷新',
Address: '地址',
'Search or enter address': '搜索或输入网址',
'This page didn’t load': '页面没有加载出来',
'Try again': '重试',
'Open a page here and {name} can read it with you. Logins and cookies stay with {name}; other Bots never see them.': '在这里打开网页,{name} 就能和你一起读。登录状态和 cookie 只属于 {name},其他 Bot 看不到。',
'Only http and https addresses open here.': '这里只能打开 http 和 https 地址。',
'The page crashed.': '页面崩溃了。',
'The browser blocked the new window.': '浏览器拦截了新窗口。',
'Open the issue': '打开问题页面',
'Cloud metadata addresses do not open here.': '这里不能打开云元数据地址。',
// Voice
'Dictation is not available in this browser': '这个浏览器不支持听写',
'Microphone access is blocked': '麦克风权限被阻止了',
"Couldn't hear that": '没听清',
"Couldn't start dictation": '无法开始听写',
'Stop dictation': '停止听写',
Dictate: '听写',
'Start voice chat': '开始语音对话',
'Voice chat': '语音对话',
Listening: '在听',
Thinking: '思考中',
'Thinking…': '思考中…',
Speaking: '在说',
Paused: '已暂停',
'Voice chat is not available in this browser': '这个浏览器不支持语音对话',
'Voice chat with {name}': '和 {name} 语音对话',
'Resume listening': '继续听',
Pause: '暂停',
'End voice chat': '结束语音对话',
'Recognizing…': '识别中…',
'Voice input needs its speech model': '语音输入还没有语音模型',
'Set up voice input': '设置语音输入',
'Preparing voice input…': '正在准备语音输入…',
'Downloading the speech model… {pct}%': '正在下载语音模型… {pct}%',
"Couldn't prepare voice input": '语音输入准备失败',
'That was too long to recognize': '这段太长了,识别不了',
// Usage page
'24 hours': '24 小时',
'7 days': '7 天',
'30 days': '30 天',
'12 weeks': '12 周',
'12 months': '12 个月',
'Per hour': '按小时',
'Per day': '按天',
'Per week': '按周',
'Per month': '按月',
Output: '输出',
Input: '输入',
'Cache hit': '缓存命中',
'Deleted Bot': '已删除的 Bot',
Deleted: '已删除',
'Deleted group chat': '已删除的群聊',
'Group chat': '群聊',
'Own chat': '单聊',
'Side chat': '侧边对话',
'New browser tab': '新建浏览器页',
Terminal: '终端',
Files: '文件树',
'Close side chat': '关闭侧边对话',
'Delete side chat': '删除侧边对话',
'Ask without interrupting': '不打断当前工作,顺便问一句',
'Ask about the work so far': '问问目前做到哪了',
'Answering…': '正在回答…',
Cancelled: '已取消',
'Answered from progress so far; nothing was run': '基于目前已有进展的回答,没有执行任何操作',
'Could not answer.': '没能答上。',
'Cancel this side question': '取消这次旁路提问',
Conversations: '对话',
'Compaction and handoff': '压缩与交接',
'Image reading': '识图',
Titles: '标题',
Other: '其他',
'Last {range}': '最近 {range}',
tokens: 'Token',
'Compared with the {range} before': '与再往前 {range} 相比',
'{share}% of all usage in the last {range}': '占最近 {range}全部用量的 {share}%',
Calls: '调用次数',
'Cache hit rate': '缓存命中率',
'Tokens over time': 'Token 走势',
'{count} tokens': '{count} Token',
'{tokens} tokens · {calls} calls': '{tokens} Token · {calls} 次调用',
'Active on 1 day in the last year': '近一年有 1 天在用',
'Active on {count} days in the last year': '近一年有 {count} 天在用',
Light: '少',
Heavy: '多',
'Unknown model': '未知模型',
'More Bots': '其余 Bot',
'More models': '其余模型',
'Reading your chats…': '正在读取聊天记录…',
'No usage yet.': '还没有用量。',
'Token usage shows up here after a model is called.': '调用模型之后,这里会显示 Token 用量。',
'Nothing in this range.': '这段时间没有用量。',
'Who used it': '谁在用',
'What for': '用途',
Activity: '活跃度',
'Time range': '时间范围',
'All usage': '全部用量',
'Group usage by': '用量分组',
'By Bot': '按 Bot',
'By model': '按模型',
'Still reading older chats; totals may grow.': '还在读取较早的聊天记录,数字可能还会变大。',
Custom: '自定义',
'Custom range': '自定义时间范围',
'This month': '本月',
'Last month': '上个月',
'This year': '今年',
'Previous month': '往前一个月',
'Next month': '往后一个月',
'Pick the first day': '选择开始日期',
'Pick the last day': '选择结束日期',
'1 day': '1 天',
'{count} days': '{count} 天',
'Compared with the day before': '与前一天相比',
'Compared with the {count} days before': '与再往前 {count} 天相比',
'{share}% of all usage from {span}': '占 {span} 全部用量的 {share}%',
// About
'About DS Bot': '关于 DS Bot',
'Version {version}': '版本 {version}',
'Star DS Bot on GitHub': '在 GitHub 上给 DS Bot 点 Star',
'{count} stars': '{count} 个 Star',
'If DS Bot helps you, a star on GitHub helps more people find it.': '如果 DS Bot 对你有用,欢迎在 GitHub 上点个 Star,让更多人看到它。',
Updates: '更新',
'Check for updates': '检查更新',
'Checking…': '正在检查…',
'Up to date': '已是最新版本',
'Checked {time}': '检查于 {time}',
'Could not check for updates.': '没能检查更新。',
'Update checks are off.': '已关闭更新检查。',
'Checking for updates…': '正在检查更新…',
'Downloading {version}…': '正在下载 {version}…',
'{version} is ready; it installs when you restart': '{version} 已下载好,重启后安装',
'Restart to update': '重启更新',
'{version} is available': '{version} 已发布',
'Installed from a local folder; update it there.': '从本地文件夹安装,请在那里更新。',
'Updates are not offered for this install.': '这种安装方式不提供更新。',
'Updates come with the DS Bot app.': '随 DS Bot 应用一起更新。',
Links: '链接',
'Source code': '源代码',
'Release notes': '发布说明',
Open: '打开',
// Feedback and errors
Feedback: '反馈',
'Report a problem': '报告问题',
'What happened?': '发生了什么?',
'What you did, what you expected, and what happened instead. It goes into the issue.': '你做了什么、期望什么、实际发生了什么。会写进 issue。',
'For example: I asked Writer in the group chat and it showed an error.': '例如:我在群聊里问 Writer,它显示出错了。',
Diagnostics: '诊断信息',
'Versions, system, models, and the latest errors. Saved keys, tokens, and your home folder are hidden.': '版本、系统、模型和最近的错误。已保存的密钥、令牌和你的用户目录都已隐藏。',
Show: '查看',
Hide: '收起',
'GitHub issue': 'GitHub issue',
'Opens a new issue in the DS Bot repository with all of this filled in. Nothing is sent until you submit it there.': '在 DS Bot 仓库新建一个 issue,并填好以上内容。你在 GitHub 上提交之前,什么都不会发出。',
'Report on GitHub': '在 GitHub 上报告',
'Copied the diagnostics.': '已复制诊断信息。',
'Could not copy. Select the text below and copy it.': '无法复制。请选中下面的文字手动复制。',
'Opened a new GitHub issue with the diagnostics filled in. Check it before you submit.': '已打开新的 GitHub issue,诊断信息已填好。提交前请检查一遍。',
'Opened a new GitHub issue. The diagnostics are long, so they are on the clipboard: paste them into the issue.': '已打开新的 GitHub issue。诊断信息太长,已复制到剪贴板,请粘贴到 issue 里。',
'Opened a new GitHub issue. Copy the diagnostics below into it.': '已打开新的 GitHub issue。请把下面的诊断信息复制进去。',
'Downloaded the log. Keys, tokens, and your home folder are hidden in it.': '已下载日志。里面的密钥、令牌和用户目录都已隐藏。',
'Cleared the error log.': '已清空错误日志。',
'Recent errors': '最近的错误',
'Recent errors · {count}': '最近的错误 · {count}',
'No errors recorded.': '没有错误记录。',
'Failed model calls and DS Bot problems show here, newest first.': '模型调用失败和 DS Bot 的问题会显示在这里,最新的在前。',
'Model call': '模型调用',
'This window': '这个窗口',
'Error log': '错误日志',
'Kept on this computer across restarts, up to about 1 MB.': '保存在这台电脑上,重启后仍在,最多约 1 MB。',
Clear: '清空',
'Settings → Feedback has the details.': '详情见 设置 → 反馈。',
'Could not reach DSH. Check that it is still running.': '连不上 DSH,请确认它还在运行。',
'{name} stopped: {reason}. Switch its model or ask it to go on.': '{name} 停下了:{reason}。换个模型,或让它继续。',
'Unknown error': '未知错误',
'The model has no API key': '模型还没有 API Key',
'The API key is not in the right format': 'API Key 格式不对',
'The DeepSeek account needs a sign-in': 'DeepSeek 账号需要登录',
'The DeepSeek account is signed out': 'DeepSeek 账号已退出登录',
'The DeepSeek account sign-in has expired': 'DeepSeek 账号的登录失效了',
'The API key was rejected': 'API 密钥无效',
'The account is out of quota': '账户额度已用尽',
'Too many requests to the model': '模型请求太频繁',
'The conversation is too long for the model': '对话太长,超出模型上限',
'The model service refused the request': '模型服务拒绝了请求',
'The model service failed': '模型服务出错',
'The model took too long to answer': '模型响应超时',
'Could not reach the model service': '连不上模型服务',
'Its group conversation could not open': '它的群聊会话打不开',
'Its group conversation could not open, so it starts a new one next time': '它的群聊会话打不开,下次会换一个新的',
// The composer's +
'Add files': '添加文件',
'Reference a chat': '引用对话',
'Chat with {name}': '与 {name} 的对话',
'Scheduled task': '定时任务',
'Send to': '发给',
'Scheduled task: {text}': '定时任务:{text}',
// New group chats
'Choose the group admin': '选择群管理员',
'Group admin': '群管理员',
'Who to chat with…': '想和谁聊…',
'Add at least one more Bot': '再至少添加一个 Bot',
Members: '成员',
// Connectors and scheduled tasks
'Scheduled tasks': '定时任务',
'Every day': '每天',
'Every {count} days': '每 {count} 天',
'Every hour': '每小时',
'Every {count} hours': '每 {count} 小时',
'Every {count} minutes': '每 {count} 分钟',
'Once, {time}': '一次,{time}',
'Every day at {time}': '每天 {time}',
'Every {days} at {time}': '每{days} {time}',
'Every weekday at {time}': '每个工作日 {time}',
'Every weekend at {time}': '每个周末 {time}',
'On the schedule {expression}': '按计划 {expression}',
'Custom schedule': '自定义计划',
'Next: {time}': '下次 {time}',
'Overdue: {time}': '已逾期 {time}',
Finished: '已结束',
'Scheduled tasks · {count}': '定时任务 · {count}',
'Show all': '显示全部',
'in {name}': '在 {name}',
'Click again to delete': '再点一次删除',
'Delete task': '删除任务',
Once: '一次',
'Every week': '每周',
Repeat: '重复',
minutes: '分钟',
hours: '小时',
days: '天',
'Morning briefing': '早间简报',
'What to do': '要做什么',
'Sum up what changed since yesterday and what needs me today.': '总结一下昨天以来的变化,以及今天需要我处理的事。',
When: '什么时候',
'Date and time': '日期和时间',
Days: '星期',
Time: '时间',
Every: '每',
'How many': '数量',
Unit: '单位',
'Create task': '创建任务',
'Turn on Automation tasks in DSH': '在 DSH 里打开「自动化任务」',
'Switch on Automation tasks on the Plugins page in Harness settings.': '在 Harness 设置的插件页启用「自动化任务」。',
'New task': '新建任务',
'No scheduled tasks yet.': '还没有定时任务。',
'No scheduled tasks yet. Add one': '还没有定时任务,去添加',
'Automation tasks are off in DSH': 'DSH 的「自动化任务」没有打开',
'No such Bot': '没有这个 Bot',
'No such Bot or group chat': '没有这个 Bot 或群聊',
'Give the task a name': '给任务起个名字',
'Say what the Bot should do': '写下 Bot 要做什么',
'Pick a date and time': '选一个日期和时间',
'Pick a time in the future': '选一个将来的时间',
'Pick a time of day': '选一个时间',
'Pick at least one day': '至少选一天',
'Repeat every 1 minute to 7 days': '重复间隔要在 1 分钟到 7 天之间',
'Pick when it runs': '选择什么时候运行',
'No such task': '没有这个任务',
'Working folder': '工作文件夹',
'Working folder: {folder}': '工作文件夹:{folder}',
Folder: '文件夹',
Folders: '文件夹',
Privacy: '隐私',
Private: '隐私',
'Other Bots cannot read its folder, memory or chats, and you approve what it shares with them.': '其他 Bot 不能读取它的文件夹、记忆或对话;它分享给其他 Bot 的内容需要你批准。',
'A Main Bot cannot be private.': '主 Bot 不能设为隐私 Bot。',
'Leave its group chats before making it private.': '先退出所有群聊,才能设为隐私 Bot。',
'Choose a working folder of its own first.': '先选择一个独立的工作文件夹。',
'A private Bot cannot be a Main Bot.': '隐私 Bot 不能设为主 Bot。',
'Closed after deletion · {count}': '删除后仍受保护 · {count}',
'Remove protection': '解除保护',
'Click again to remove. Other Bots can then read its folder, memory and chats.': '再点一次解除。其他 Bot 之后可以读取它的文件夹、记忆和对话。',
'Nothing kept closed for this Bot': '这个 Bot 没有保留的保护',
'Team workspace': '总工作区',
'Team workspace: {folder}': '总工作区:{folder}',
'Where Bots without a folder of their own work.': '没有单独设置文件夹的 Bot 在这里工作。',
Locations: '位置',
'Data location': '数据位置',
'Change…': '更改…',
"Each Bot's own folder": '各 Bot 自己的文件夹',
'Choose a folder…': '选择文件夹…',
'Browse folders…': '浏览文件夹…',
'Enter a path…': '输入路径…',
'Folder path': '文件夹路径',
'Full path of a folder': '文件夹的完整路径',
'Use this folder': '使用这个文件夹',
'Up one level': '上一级',
'No folders inside.': '里面没有文件夹。',
'Some folders are not shown.': '还有一些文件夹没有显示。',
'Waiting for sign-in…': '等待登录…',
'This service needs an app client ID': '该服务需要应用 Client ID',
'Open the sign-in page': '打开登录页',
'Paste the address you land on': '粘贴跳转后的地址',
'Or paste the address you land on': '或粘贴跳转后的地址',
'Finish sign-in': '完成登录',
'Open {host}': '打开 {host}',
'Client ID': 'Client ID',
'Client secret (optional)': 'Client secret(可选)',
'Continue': '继续',
'{name} key': '{name} 密钥',
'{name} token': '{name} 令牌',
'Get a key': '获取密钥',
'Read-only': '只读',
'{count} tools': '{count} 个工具',
'Mailbox': '邮箱',
'Email address': '邮箱地址',
'App password / authorization code': '应用密码 / 授权码',
'Catalog': '目录',
'App password': '应用专用密码',
'Authorization code': '授权码',
'Password or app password': '密码或授权码',
'Official help': '官方帮助',
'Finish signing in in your browser.': '在浏览器里完成登录。',
'Open again': '重新打开',
'Did not come back here?': '登录后没有回到这里?',
'Paste the code on {host} and authorize.': '在 {host} 粘贴这个码并授权。',
'Add another': '再添加一个',
'QQ, 163, 126, Gmail, iCloud, and other IMAP mail': 'QQ、163、126、Gmail、iCloud 等 IMAP 邮箱',
'Other MCP server': '其他 MCP 服务器',
'An address, a command, or one from Claude Desktop, Cursor, or VS Code': '填地址或命令,或从 Claude Desktop、Cursor、VS Code 导入',
'Kind of server': '服务器类型',
'Nothing matches': '没有匹配的连接器',
Recommended: '推荐',
'See all': '查看全部',
'{count} connected': '已连接 {count} 个',
'{count} accounts': '{count} 个账户',
Category: '分类',
'Could not reach the mail server. Check the server address.': '连不上邮件服务器,请检查服务器地址。',
'Sign in at mail.qq.com, click your avatar at the top right, and open Settings → Account and Security → Security Settings.': '在 mail.qq.com 登录,点右上角头像,进入 设置 → 账号与安全 → 安全设置。',
'Turn on the POP3/IMAP/SMTP service, then click Generate authorization code and verify yourself.': '开启 POP3/IMAP/SMTP 服务,再点「生成授权码」,按提示验证身份。',
'Paste the 16-letter code below. Changing your QQ password cancels it.': '把 16 位授权码粘贴到下面。改了 QQ 密码后授权码会失效。',
'Sign in at {host} and open Settings → POP3/SMTP/IMAP.': '在 {host} 登录,进入 设置 → POP3/SMTP/IMAP。',
'Turn on IMAP/SMTP and send the text message it asks for.': '开启 IMAP/SMTP 服务,按提示发短信验证。',
'Paste the 16-character code below. It is shown only once.': '把 16 位授权码粘贴到下面。授权码只显示一次。',
'Turn on 2-Step Verification for your Google Account.': '先给 Google 账号开启两步验证。',
'Open App passwords, create one, and paste the 16-character password below.': '打开「应用专用密码」,新建一个,把 16 位密码粘贴到下面。',
'Work and school accounts cannot use app passwords.': '工作和学校账号不能用应用专用密码。',
'Your Apple Account needs two-factor authentication.': 'Apple 账户要先开启双重认证。',
'Sign in at account.apple.com and open Sign-In and Security → App-Specific Passwords.': '在 account.apple.com 登录,进入「登录与安全」→「App 专用密码」。',
'Generate a password and paste it below.': '生成一个密码,粘贴到下面。',
'The mail service refused the login (Unsafe Login). Enable IMAP/SMTP in the mailbox settings and use its authorization code, not the account password.': '邮箱服务拒绝了登录(Unsafe Login)。请在邮箱设置里开启 IMAP/SMTP 服务,并用授权码登录,不要用邮箱密码。',
'The password was refused. Use the mailbox app password or authorization code, not the account password.': '密码不对。请用邮箱的授权码或应用专用密码,不要用邮箱登录密码。',
'Enter the authorization code or app password': '请填写授权码或应用专用密码',
'Pages, databases, and wiki content': '页面、数据库和 Wiki 内容',
'Issues, projects, and cycles': 'Issue、项目和迭代',
'Jira issues and Confluence pages': 'Jira 工单和 Confluence 页面',
'Errors, traces, and releases': '错误、调用链和发布',
'Payments, invoices, and customers': '支付、发票和客户',
'Orders, payments, and invoices': '订单、支付和发票',
'Payments, orders, and catalog': '支付、订单和商品目录',
'Workers, DNS, and account resources': 'Workers、DNS 和账户资源',
'Projects, deployments, and logs': '项目、部署和日志',
'Databases, tables, and project settings': '数据库、数据表和项目设置',
'Postgres databases and branches': 'Postgres 数据库和分支',
'Design files, components, and comments': '设计文件、组件和评论',
'Designs, folders, and exports': '设计稿、文件夹和导出',
'Conversations, contacts, and articles': '会话、联系人和文章',
'Boards, items, and workflows': '看板、条目和工作流',
'Sites, pages, and CMS content': '站点、页面和 CMS 内容',
'Sites, pages, and site content': '站点、页面和站点内容',
'Sites, deploys, and forms': '站点、部署和表单',
'Bases, tables, and records': 'Bases、表和记录',
'Files and folders': '文件和文件夹',
'Zaps and app actions': 'Zap 和应用操作',
'Tasks, lists, and docs': '任务、清单和文档',
'Tasks and projects': '任务和项目',
'Boards and whiteboard items': '白板和白板条目',
'CRM records, lists, and notes': 'CRM 记录、列表和备注',
'Collections, requests, and workspaces': '集合、请求和工作区',
'Tasks, projects, and workspaces': '任务、项目和工作区',
'Files, folders, and metadata': '文件、文件夹和元数据',
'Contacts, deals, and tickets': '联系人、交易和工单',
'Channels and messages': '频道和消息',
'Models, datasets, and Spaces': '模型、数据集和 Space',
'Web search for agents': '面向 Agent 的网络搜索',
'Documentation for public code repositories': '公开代码仓库的文档',
'Library documentation and code examples': '库文档和代码示例',
'Microsoft product documentation': '微软产品文档',
'Cloudflare product documentation': 'Cloudflare 产品文档',
'Maps, places, and routes in China': '中国地图、地点和路线',
'Read and send email over IMAP and SMTP': '通过 IMAP 和 SMTP 收发邮件',
'IMAP host': 'IMAP 服务器',
'SMTP host': 'SMTP 服务器',
'Sign in with Google': '使用 Google 登录',
'Add account': '添加账户',
'Add an account': '添加账户',
'No mail accounts yet': '还没有邮箱账户',
'Verifying…': '正在验证…',
'Open the Google sign-in page': '打开 Google 登录页',
'Add an address': '添加地址',
'Add a command': '添加命令',
'Import from other apps': '从其他应用导入',
'Server address': '服务器地址',
'Command, e.g. npx -y some-mcp': '命令,例如 npx -y some-mcp',
'Scanning…': '扫描中…',
'No MCP servers found in Claude Desktop, Cursor, or VS Code settings.': '未在 Claude Desktop、Cursor 或 VS Code 设置中找到 MCP 服务器。',
'Import {count}': '导入 {count} 个',
'All': '全部',
'Developer': '开发',
'Docs & files': '文档与文件',
'Work': '工作',
'Design': '设计',
'Data': '数据',
'Commerce': '商务',
'No connectors connected': '未连接任何连接器',
'{bot} needs {name}': '{bot} 需要 {name}',
'{bot} wants to send an email': '{bot} 想发送一封邮件',
'Mail': '邮件',
'Subject': '主题',
'Write a message…': '写邮件正文…',
'Discard': '丢弃',
'Discarded': '已丢弃',
'Allow recipient': '允许收件人',
'Allow this Bot to send directly': '允许此 Bot 直接发送',
'Manage rules': '管理规则',
'Sending rules': '发信规则',
'From': '发件人',
'To': '收件人',
'Cc': '抄送',
'Bcc': '密送',
'Attachments: {names}': '附件:{names}',
'Sent': '已发送',
'Failed': '失败',
}
// Host errors stay English, since Bots read them too; they are translated where the
// interface shows them. Static ones go through ZH, these carry names or numbers.
const HOST_ERRORS = [
[/^Could not reach the mail server at (.+)\. Check the server address\.$/, '连不上邮件服务器 $1,请检查服务器地址。'],
[/^Model (.+) is not available\. Available: (.*)$/, '模型 $1 不可用。可用的:$2'],
[/^The API key for (.+) is set outside DS Bot and cannot be changed here$/, '$1 的 API key 是在 DS Bot 之外设置的,这里改不了'],
[/^(.+) takes no API key here$/, '$1 不能在这里填 API key'],
[/^(.+) is already set up$/, '$1 已经设置过了'],
[/^DSH offers no provider (.+)$/, 'DSH 没有服务商 $1'],
[/^DSH already offers (.+); add it from its list$/, 'DSH 已经提供 $1,请在常用服务商里添加'],
[/^The protocol must be one of (.+)$/, '协议只能是 $1'],
[/^(.+) is not set up$/, '$1 还没有设置'],
[/^(.+) comes with this setup and cannot be removed$/, '$1 是这个配置自带的,不能删除'],
[/^A Bot named (.+) already exists$/, '已经有叫 $1 的 Bot 了'],
[/^Name (.*) is not available$/, '名字 $1 不可用'],
[/^"(.+)" calls everyone in a group, so it cannot be a Bot name$/, '「$1」在群里表示所有人,不能用作 Bot 名字'],
[/^"(.+)" stands for the user in a chat, so it cannot be a Bot name$/, '「$1」在对话里表示用户本人,不能用作 Bot 名字'],
[/^Another group chat is already called "(.+)"$/, '已经有叫「$1」的群聊了'],
[/^A group chat holds at most (\d+) Bots$/, '一个群聊最多 $1 个 Bot'],
[/^Reply mode must be one of (.+)$/, '回复模式只能是 $1'],
[/^Only the user, a Main Bot, or the admin of "(.+)" can change it$/, '只有你、主 Bot 或「$1」的管理员可以修改'],
[/^A key must have at least (\d+) characters$/, '密钥至少 $1 个字符'],
[/^A key can have at most (\d+) characters$/, '密钥最多 $1 个字符'],
[/^(.+) is not saved yet$/, '$1 还没有保存'],
[/^The Bot team in (.+) is open in another dsh \((.+)\)\. This window shows the team but cannot change it; close the other one and reload\.$/, '$1 里的 Bot 团队已在另一个 dsh 中打开($2)。这个窗口只能查看,不能修改;关掉另一个后刷新。'],
[/^HTTP (\d+)$/, '请求失败(HTTP $1)'],
[/^GitHub answered (\d+)$/, 'GitHub 返回了 $1'],
[/^Keep the name under (\d+) characters$/, '名字不能超过 $1 个字'],
[/^Give the full path of the folder, not (.+)$/, '请填写文件夹的完整路径,而不是 $1'],
[/^The avatar library holds at most (\d+) photos\.$/, '头像库最多放 $1 张照片'],
[/^The avatar must be a PNG, JPEG, WebP, or GIF image\. Use a square image; 256x256 is recommended\.$/, '头像必须是 PNG、JPEG、WebP 或 GIF 图片。建议用正方形图片,256x256。'],
[/^The avatar image is too large: .+$/, '头像图片太大了'],
[/^There is no folder at (.+)$/, '找不到文件夹 $1'],
[/^(.+) is a file, not a folder$/, '$1 是文件,不是文件夹'],
[/^(.+) holds DeepSeek Harness data, so Bots cannot work there$/, '$1 里有 DeepSeek Harness 的数据,Bot 不能在这里工作'],
[/^(.+) needs a folder of its own to be private$/, '$1 需要有自己的工作文件夹,才能设为隐私 Bot'],
[/^(.+) is a Main Bot, so it cannot be private$/, '$1 是主 Bot,不能设为隐私 Bot'],
[/^(.+) is in a group chat, where every member reads what is said\. Remove it from its groups first$/, '$1 还在群聊里,群成员都能看到群里的内容。请先把它移出群聊'],
[/^(.+) is private, so it cannot be a Main Bot$/, '$1 是隐私 Bot,不能设为主 Bot'],
[/^(.+) is private, so it cannot be copied$/, '$1 是隐私 Bot,不能复制'],
[/^(.+) is a private Bot and cannot be in a group chat: what is said in a group is read by every member$/, '$1 是隐私 Bot,不能加入群聊:群成员都能看到群里的内容'],
[/^(.+) is in or around the team workspace, so (.+) cannot be private there\. Give it a folder of its own$/, '$1 与总工作区重叠,$2 不能在这里设为隐私 Bot。请给它一个独立文件夹'],
[/^(.+) is in or around the folder of (.+), so (.+) cannot be private there\. Give it a folder of its own$/, '$1 与「$2」的文件夹重叠,$3 不能在这里设为隐私 Bot。请给它一个独立文件夹'],
[/^(.+) is in or around the folder of (.+), a private Bot, so (.+) cannot work there$/, '$1 在隐私 Bot「$2」的文件夹内或外层,$3 不能在这里工作'],
[/^(.+) is in or around the folder of (.+), a private Bot, so a group cannot work there$/, '$1 在隐私 Bot「$2」的文件夹内或外层,群聊不能在这里工作'],
[/^(.+) is in or around the folder of (.+), a private Bot, so it cannot be the team workspace$/, '$1 在隐私 Bot「$2」的文件夹内或外层,不能作为总工作区'],
// Memory changes the memory panel asked for; the whole message is matched.
[/^This looks like a key, token, or password[\s\S]*$/, '看起来像密钥、令牌或密码,记忆不会保存这类内容'],
[/^An entry holds at most (\d+) characters; this one has (\d+)\.[\s\S]*$/, '一条记忆最多 $1 个字符,这条有 $2 个'],
[/^[\s\S]*'s MEMORY\.md would have (\d+) of its (\d+) characters\.[\s\S]*$/, '主记忆会超过 $2 个字符的上限,请先删掉一些'],
[/^The topic \[\[(.+?)\]\] in [\s\S]* would have (\d+) of its (\d+) characters\.[\s\S]*$/, '主题 $1 会超过 $3 个字符的上限'],
[/^[\s\S]* already has (\d+) topics, the most it holds\.[\s\S]*$/, '主题已经有 $1 个,不能再加新主题'],
[/^There is no entry (.+)\.$/, '没有第 $1 条'],
[/^No entry in [\s\S]* matches "([\s\S]*)"\.[\s\S]*$/, '找不到「$1」这条记忆'],
[/^"([\s\S]*)" matches (\d+) entries in [\s\S]*$/, '「$1」对应了 $2 条记忆,请说得更具体'],
[/^Memory cannot change now: [\s\S]*$/, '现在不能修改记忆:另一个 dsh 正在使用这个 Bot 团队'],
]
const HOST_ZH = {
'Request failed': '请求失败',
'Permissions are not available in this DeepSeek Harness': '这个 DeepSeek Harness 不支持权限设置',
'Avatar images must be PNG, JPEG, WebP, or GIF': '头像图片必须是 PNG、JPEG、WebP 或 GIF',
'Avatar image is too large': '头像图片太大了',
'A Bot needs a name': 'Bot 需要一个名字',
'A Bot name cannot contain @, ` or a line break': 'Bot 名字里不能有 @、` 或换行',
'Unknown Bot': '找不到这个 Bot',
'Unknown conversation': '找不到这个对话',
'A group chat needs at least two Bots': '群聊至少要两个 Bot',
'The admin must be a member of the group': '管理员必须是群成员',
'Unknown group chat': '找不到这个群聊',
'No Bot is left in this group chat': '这个群聊里已经没有 Bot 了',
'That group chat has been deleted': '这个群聊已经删除了',
'Hand the admin role to another member instead of leaving the group without one': '请把管理员交给其他成员,不要让群聊没有管理员',
'Hand the admin role to another member before leaving the group': '离开群聊前,请先把管理员交给其他成员',
'The team needs at least one Main Bot': '团队至少要有一个主 Bot',
'Only a Main Bot can be replaced': '只能替换主 Bot',
'A Main Bot cannot be deleted; remove its Main Bot role first': '主 Bot 不能删除,请先取消它的主 Bot 身份',
'Unknown theme': '未知主题',
'Accent must be a #rrggbb color': '强调色必须是 #rrggbb 格式',
'Type the key first': '请先输入密钥',
'Choose every Bot or a list of Bots': '请选择所有 Bot 或指定的 Bot',
'This request is gone': '这个请求已经不存在了',
'This request was already answered': '这个请求已经处理过了',
'A name uses capitals, digits, and underscores, and starts with a letter': '名字只能用大写字母、数字和下划线,并以字母开头',
'No such key': '没有这个密钥',
'Type a question or a change first': '请先输入问题或要改的内容',
'No model is available. Add one in Settings > Models.': '没有可用的模型,请先在 设置 → 模型 里添加。',
'Memory is turned off on this host': '这台主机关闭了记忆功能',
'The model wrote nothing': '模型没有输出内容',
'Write the entry to save.': '请写下要保存的内容。',
'This DeepSeek Harness has no folder chooser': '这个 DeepSeek Harness 没有文件夹选择窗口',
'This DeepSeek Harness cannot list folders': '这个 DeepSeek Harness 不能列出文件夹',
"Side chat is only available in a Bot's private chat.": '侧边对话只在 Bot 的私聊里可用。',
'Write a question.': '写上问题。',
'Write a question after /side.': '在 /side 后面写上问题。',
'/side does not take attachments.': '/side 不能带附件。',
'Wait for the answer, or cancel it.': '等它答完,或者先取消。',
'This side chat is no longer here.': '这个侧边对话已经不在了。',
'This side question is no longer here.': '这个侧边提问已经不在了。',
'This Bot has not called a model yet. Send a normal message first.': '这个 Bot 还没有调用过模型,请先正常发一条消息。',
'DS Bot restarted before this answer finished.': 'DS Bot 在回答完成前重启了。',
'The model called a tool again after being told not to, so this aside was not answered.': '模型在被要求不要调用工具之后又调用了工具,所以这次没有回答。',
'The model wrote nothing.': '模型没有写任何内容。',
'Nothing to ask': '没有要问的内容',
'Nothing to open': '没有要打开的内容',
'Nothing to cancel': '没有要取消的内容',
'Nothing to close': '没有要关闭的内容',
'DS Bot is still loading this chat.': 'DS Bot 还在加载这个对话。',
// Computer use
'Computer use': '电脑操控',
'Computer': '电脑',
'Control': '操控',
'Let Bots use the computer': '允许 Bot 使用电脑',
'Using the computer': '在用电脑',
'Off': '关',
'View only': '只看',
'Background': '后台操作',
'Foreground': '可以动前台',
'In the foreground': '前台',
'Computer use level': '电脑操控等级',
'Computer provider': '提供方',
'Loading the provider…': '正在加载提供方…',
'Could not load the provider': '提供方加载失败',
'The provider package is not installed': '提供方包未安装',
'Another computer-use provider is running': '另一个电脑操控提供方正在运行',
'Computer use is not available on this platform': '此平台不支持电脑操控',
'Accessibility': '辅助功能',
'Screen Recording': '屏幕录制',
'Allowed': '已允许',
'Not allowed': '未允许',
'Grant': '去授权',
'Revoke': '撤销',
'Off in Settings → Computer use': '已在设置中关闭',
'Idle': '空闲',
'Operating': '在操作',
'You have the computer': '你在操作',
'Latest screenshot': '最新截图',
'Let it continue': '让它继续',
'Take over the computer': '我来操作',
'Hand back': '交还',
'Recent steps': '最近的操作',
'failed': '失败',
'Allow {name} to use {app}?': '允许 {name} 使用 {app} 吗?',
'This time': '这一次',
'Always': '一直允许',
'Needs your confirmation': '需要你确认',
'Help needed on the computer': '需要你在电脑上帮忙',
'You control the computer': '你在操控电脑',
'Stop {name}': '停止 {name}',
'{name} · foreground': '{name} · 前台',
'{name} waits for the computer': '{name} 等你停手',
}
Object.assign(ZH, HOST_ZH)
const fill = (text, params) => (params
? text.replace(/\{(\w+)\}/g, (match, name) => (name in params ? String(params[name]) : match))
: text)
let service = null
let bound = null
// `locale` is the DSH locale service; without one, copy stays English.
export function installLocale(locale) {
if (!locale || typeof locale.register !== 'function' || typeof locale.bind !== 'function') return () => {}
service = locale
bound = locale.bind(NAMESPACE)
const off = locale.register(NAMESPACE, 'zh', ZH)
return () => {
if (service === locale) { service = null; bound = null }
if (typeof off === 'function') off()
}
}
export function t(key, params) {
return bound ? bound(key, params) : fill(key, params)
}
// A message from the host, in the interface language.
export function hostText(message) {
if (!language().startsWith('zh')) return message
if (Object.hasOwn(ZH, message)) return t(message)
for (const [pattern, template] of HOST_ERRORS) {
if (pattern.test(message)) return message.replace(pattern, template)
}
return message
}
// The active DSH language tag, for dates and times.
export function language() {
const active = service?.getLocale?.().active
return typeof active === 'string' ? active : 'en'
}
export const dateLocale = () => (language().startsWith('zh') ? 'zh-CN' : 'en-US')
// Translations for the tests: the Chinese dictionary itself.
export const DICTIONARY = { zh: ZH }