Go implementation of DeepSeek Harness and self-hosted personal agent.
Go
// Shared with Expo; Android's bundle inputs include this external source tree.
export const extensionChinese: Readonly<Record<string, string>> = {
'Configure API Key': '配置 API Key', 'Update API Key': '更新 API Key', 'Remove API Key': '移除 API Key', 'Configured': '已配置',
'Enter your Gemini API key from Google AI Studio.': '请输入从 Google AI Studio 获取的 Gemini API Key。',
'Enter a valid Gemini API key without spaces or line breaks.': '请输入有效的 Gemini API Key,不要包含空格或换行。',
'Select the API Key authorization method.': '请选择 API Key 授权方式。',
'Google rate limited the request. Wait and try again.': 'Google 对请求进行了限流,请稍后重试。',
'Google denied access. Check your Gemini project, API key permissions and regional availability.': 'Google 拒绝了访问,请检查 Gemini 项目、API Key 权限和地区可用性。',
'Google rejected the API key. Check it in Google AI Studio and try again.': 'Google 拒绝了此 API Key,请到 Google AI Studio 核对后重试。',
'Could not reach the Gemini API. Check the Host network and try again.': '无法连接 Gemini API,请检查 Host 网络后重试。',
'Gemini API key verification failed. Check your Google project and try again.': 'Gemini API Key 验证失败,请检查 Google 项目后重试。',
'Gemini API CLI returned an unexpected model-list response. Reinstall the plugin and try again.': 'Gemini API CLI 返回的模型列表格式异常,请重新安装插件后重试。',
'Gemini API CLI is not ready. Reinstall the plugin to prepare the official CLI.': 'Gemini API CLI 尚未就绪,请重新安装插件以准备官方 CLI。',
'Could not read the Gemini API CLI configuration. Repair config.yaml and try again.': '无法读取 Gemini API CLI 配置,请修复 config.yaml 后重试。',
'Could not save the Gemini API CLI configuration. Check the Host filesystem and try again.': '无法保存 Gemini API CLI 配置,请检查 Host 文件系统后重试。',
'Plugin changes continue while you use other features.': '插件操作会继续进行,你可以使用其他功能。',
'Workspace menu': '工作区菜单', 'Close menu': '收起菜单',
'Credential saved': '凭证已保存', 'Not configured': '尚未配置', 'The credential has been saved.': '凭证已保存。',
'View last result': '查看上次结果', 'Connect in browser': '在浏览器中连接', 'Connection needs attention': '连接需要处理',
'Authorize access on the service website, then return here.': '请在服务商网站上授权访问,完成后返回这里。',
'Closing this panel keeps the authorization running. You can return to it from this plugin.': '收起面板不会取消授权,可以从此插件重新进入。',
'Could not load service connections. Refresh to try again.': '无法读取服务连接,请刷新后重试。',
'Could not complete service authorization. Refresh to check the current state.': '未能完成服务授权,请刷新查看当前状态。',
'Available version': '\u53ef\u7528\u7248\u672c', 'Enter a valid number.': '\u8bf7\u8f93\u5165\u6709\u6548\u7684\u6570\u5b57\u3002',
'Select an option': '请选择',
'This plugin has no simple configuration fields. Use its connection options below, or review advanced configuration.': '此插件没有简单配置项。请使用连接与授权入口,或查看高级配置。',
'Add another configuration when you need separate accounts for this plugin.': '需要为插件连接不同账号时,可以添加另一份配置实例。',
'Maintainer': '维护者',
'Advanced configuration': '高级配置',
'Advanced': '高级选项',
'Update this plugin to the reviewed release?': '更新至当前审核发布的版本?',
'Update plugin': '更新插件',
'Plugin installed. Configure its instance before enabling it.': '插件已安装,请先配置实例,再启用。',
'View installed plugin': '查看已安装插件',
'Reviewed business plugins will appear here. Your built-in agent is ready to use.': '经过审核的业务插件将在这里提供。内置助手已可直接使用。',
'More capabilities are on the way': '更多能力,即将到来',
'Browse plugin market': '浏览插件市场',
'Plugin market': '插件市场',
'Extend your agent with plugins reviewed for this project.': '通过本项目审核的插件扩展助手能力。',
'Refresh': '刷新', 'Close': '关闭', 'Done': '完成', 'Continue': '继续',
'Accounts and authorization': '账号与授权', 'Connect accounts using the authorization methods provided by your plugins.': '通过插件提供的授权方式连接外部账号。',
'No account authorization methods are available.': '当前没有可用的账号授权方式。', 'Authorization method': '授权方式', 'Authorized': '已授权', 'Not authorized': '未授权', 'Authorize again': '重新授权',
'Authorization in progress': '授权进行中', 'Authorization complete': '授权完成', 'Authorization cancelled': '授权已取消', 'Authorization failed': '授权失败',
'Continue in browser': '在浏览器中继续', 'Waiting for authorization to finish…': '等待授权完成…', 'The account is ready to use.': '账号已就绪,可以开始使用。', 'Not now': '暂不回答',
'Could not load account authorizations. Refresh to try again.': '无法加载账号授权,请刷新后重试。',
'Authorization is unavailable. Close this panel and start again if the Host restarted.': '本次授权暂不可用。如果 Host 已重启,请关闭面板并重新发起。',
'Could not start authorization. Refresh the account state and try again.': '无法发起授权,请刷新账号状态后重试。',
'Could not submit this answer. Check the current question before trying again.': '无法提交回答,请确认当前问题后重试。',
'Could not cancel authorization. Refresh to check the current state.': '无法取消授权,请刷新以确认当前状态。',
'Some MCP configuration could not be applied. Review the server settings.': '部分 MCP 配置未能应用,请检查对应服务的设置。',
'Discover plugins': '发现插件', 'Browse an index, choose a version, then check the package before installing.': '浏览索引、选择版本,再检查包的信息并确认安装。',
'Plugin index URL': '插件索引地址', 'Plugin index': '插件索引', 'Add index': '添加索引', 'Remove index': '移除索引',
'Search plugins': '搜索插件', 'Search': '搜索', 'Loading plugin index…': '正在读取插件索引…', 'Review package': '查看并检查包',
'No indexes configured. Add a reviewed index URL to browse packages.': '尚未配置索引。添加经过审核的索引地址后即可浏览插件。',
'No matching plugins.': '没有找到匹配的插件。', 'Could not load plugin index.': '无法读取插件索引。',
'An index listing is not a compatibility review. Package checks and your approval are still required.': '收录在索引中不代表已通过兼容性审核。安装前仍需检查包并由你确认。',
'Previous': '上一页', 'Next': '下一页', 'Registry': '仓库地址',
'Confirm change': '确认修改', 'Confirm': '确认',
'Version': '版本', 'Operation in progress': '操作正在执行', 'Wait for the current operation to finish.': '请等待当前操作完成。', 'Could not open the authorization page.': '无法打开授权页面。',
'Remove': '移除',
'Module entry': '模块入口', 'Use the package export or a module path documented by the plugin author.': '使用插件作者提供的包导出名或模块路径。',
'Plugins': '插件', 'MCP': 'MCP', 'Active': '已启用', 'Running': '运行中', 'Connected': '已连接', 'Starting': '启动中', 'Connecting': '连接中', 'Needs setup': '待配置', 'Needs credentials': '缺少凭证', 'Authorization needed': '需要授权', 'Failed': '失败', 'Unavailable': '不可用', 'Stopped': '已停止', 'Disabled': '已停用', 'Stopping': '停止中', 'Disconnected': '未连接',
'Install backend capabilities and manage their running instances.': '安装后端扩展能力,管理各个插件实例。',
'Connect tools and data sources to your agent.': '为助手连接工具与数据服务。',
'Refresh extensions': '刷新扩展状态', 'Install plugin': '安装插件', 'Add server': '添加服务', 'Reinstall plugin': '重新安装插件', 'Update available': '可更新', 'More options': '更多选项', 'Plugin details': '插件详情', 'All plugins': '全部插件', 'Capabilities': '能力', 'Getting started': '开始使用', 'Enable plugin': '启用插件', 'Disable plugin': '停用插件', 'Plugin status': '插件状态', 'Plugin and dependencies installed. Enable it to use its capabilities.': '插件及依赖已安装,启用即可使用。', 'Plugin runtime': '插件运行环境', 'Restart': '重启',
'Runtime restart finished. Review the state below.': '重启请求已完成,请查看下方运行状态。',
'Could not load extensions. Try again.': '无法读取扩展配置,请重试。',
'Could not complete this operation. Refresh the actual state before trying again.': '操作未能完成,请刷新实际状态后重试。',
'Settings were saved, but the Host could not apply them. Refresh to check the actual state.': '配置已保存,但 Host 未能应用。请刷新以查看实际状态。',
'Configuration saved. Review the runtime state below.': '配置已保存,请查看下方实际运行状态。',
'Start your Host before managing extensions.': '请先启动 Host,再管理扩展。',
'Host status is unavailable. Saved configuration is shown below.': '暂时无法读取 Host 状态,下方显示已保存的配置。',
'No plugins installed': '尚未安装插件', 'Your built-in agent works without plugins. Add packages when you need more capabilities.': '内置助手可直接使用,需要更多能力时再添加插件。',
'Bundle enabled': '组合已启用', 'Installed': '已安装', 'Source': '来源', 'License': '许可证', 'Required services': '所需服务', 'Enable bundle': '启用组合', 'Disable bundle': '停用组合', 'Change source or version': '修改来源或版本', 'Add instance': '添加实例', 'Uninstall': '卸载',
'Uninstall this package? Its instance data will stay on disk.': '卸载此插件包?实例的业务数据会保留在磁盘上。',
'Missing credentials': '缺少凭证', 'Missing dependencies': '缺少依赖', 'Configure': '配置', 'Enable instance': '启用实例', 'Disable instance': '停用实例',
'Composition and advanced settings': '组合与高级配置', 'Manage bundles, instance patches, approved package builds and index sources.': '管理组合、实例补丁、允许执行构建的依赖包及索引来源。', 'Edit composition': '编辑组合', 'Composition (JSON)': '组合配置(JSON)', 'Save composition': '保存组合',
'Enter bundles, patch, approvedBuilds and indexSources as JSON arrays.': 'bundles、patch、approvedBuilds 和 indexSources 必须为 JSON 数组。',
'Change package source': '修改插件包来源', 'Package name': '插件包名', 'Source type': '来源类型', 'Host directory': 'Host 内目录', 'Archive URL or Host path': '归档地址或 Host 内路径', 'Version or tag (optional)': '版本或标签(可选)', 'Source URL or absolute Host path': '来源地址或 Host 内绝对路径',
'This directory must exist inside the Host. A path on your phone or computer is not a Host path.': '该目录必须存在于 Host 内。手机或电脑上的路径不等于 Host 内的路径。',
'Private source authentication': '私有来源认证', 'Registry URL (optional)': 'Registry 地址(可选)', 'Credential reference (optional)': '凭证引用名(可选)', 'Username (optional)': '用户名(可选)', 'Pinned source': '固定来源', 'Enable bundle after installation': '安装完成后启用组合',
'Install packages you trust. Plugins run code inside your Host.': '请安装可信任的插件包。插件会在 Host 内执行代码。',
'Check package': '检查插件包', 'Checking…': '检查中…', 'Applying plugin changes…': '正在应用插件变更…', 'Installing': '安装中', 'Installation failed': '安装失败', 'Installing…': '安装中…', 'Confirm installation': '确认安装', 'Package checked. Review its details before installing.': '检查已完成,请核对插件包信息后安装。', 'Package installed. Review its instances below.': '插件包已安装,请查看下方实例状态。',
'Instance configuration': '实例配置', 'Instance ID': '实例 ID', 'This instance ID is already in use.': '该实例 ID 已被使用。', 'Configuration override (JSON)': '配置覆盖项(JSON)',
'Only overrides are shown. Bundle defaults remain in the package. Use credential references for secrets.': '这里只显示覆盖项,组合默认值仍由插件包提供。私密值请使用凭证引用。',
'Save configuration': '保存配置', 'Could not save configuration.': '无法保存配置。', 'Enter a JSON object.': '请输入 JSON 对象。',
'Credentials': '凭证', 'Values stay private. Reference them in configuration as ${credential:name}.': '凭证值不会回显。在配置中通过 ${credential:name} 引用。', 'Saved': '已保存', 'Reference name': '引用名称', 'Secret value': '凭证值', 'Save credential': '保存凭证',
'Remove this credential? Extensions using it may need setup again.': '删除此凭证?使用该凭证的扩展可能需要重新配置。',
'No MCP servers yet': '尚未添加 MCP 服务', 'Add an HTTP service or a process that runs inside your Host.': '可以连接 HTTP 服务,或启动在 Host 内运行的进程。', 'Provided by {name}': '由 {name} 提供', 'Host process': 'Host 内进程', 'HTTP connection': 'HTTP 连接', 'Connection': '连接', 'Tools': '工具', 'Protocol version': '协议版本', 'Resources': '资源', 'Available': '可用', 'Probe result': '探测结果', '{count} tools': '{count} 个工具',
'Continue in your browser to authorize this connection.': '请在浏览器中继续,完成此连接的授权。', 'Continue authorization': '继续授权', 'Cancel authorization': '取消授权', 'Open plugin settings': '打开插件配置', 'Edit configuration': '编辑配置', 'Test connection': '测试连接', 'Connection probe finished.': '连接探测已完成。', 'Reconnect': '重新连接', 'Authorize': '授权', 'Authorization request prepared.': '授权请求已准备好。', 'Disconnect authorization': '断开授权',
'Disconnect this authorization? Saved server configuration will be kept.': '断开此授权?已保存的服务配置会保留。', 'Remove this MCP server?': '移除此 MCP 服务?',
'Add MCP server': '添加 MCP 服务', 'Edit MCP server': '编辑 MCP 服务', 'Server name': '服务名称', 'Use letters, digits, underscores or hyphens.': '使用字母、数字、下划线或连字符。', 'Transport': '连接方式', 'Host process (stdio)': 'Host 内进程(stdio)', 'Server URL': '服务地址', 'Executable': '可执行程序', 'Arguments (JSON array)': '参数(JSON 数组)',
'This command runs inside the Host, not on your computer or phone.': '此命令在 Host 内运行,不会在你的电脑或手机上执行。', 'Enable this server': '启用此服务', 'Advanced options': '高级选项', 'Tool loading': '工具加载方式', 'Load on connection': '连接时加载', 'Load on demand': '按需加载', 'Working directory': '工作目录', 'Environment (JSON object)': '环境变量(JSON 对象)', 'Headers (JSON object)': '请求头(JSON 对象)',
'Use credential references for API keys. Do not paste keys into configuration.': 'API 密钥请使用凭证引用,不要将密钥直接粘贴到配置中。', 'Use OAuth': '使用 OAuth', 'OAuth client ID (optional)': 'OAuth 客户端 ID(可选)', 'Client secret reference (optional)': '客户端密钥引用(可选)', 'Scopes (one per line)': '授权范围(每行一个)',
'Leave the client ID blank when the provider supports dynamic registration.': '如果服务商支持动态注册,可将客户端 ID 留空。', 'Save server': '保存服务', 'Back to server': '返回服务详情', 'This server name is already in use.': '该服务名已被使用。',
'Use string values for environment variables and headers.': '环境变量和请求头的值必须是字符串。', 'Replace redacted values with credential references before saving.': '请先将已隐藏的值替换为凭证引用,再保存。', 'Enter arguments as a JSON array of strings.': '参数必须是由字符串组成的 JSON 数组。', 'Enter valid JSON in the advanced fields.': '请在高级字段中输入有效的 JSON。',
'OAuth requires HTTPS or localhost HTTP. Open the Controller through one of these addresses.': 'OAuth 需要 HTTPS 或 localhost HTTP 地址,请通过其中一种地址打开 Controller。',
'Instances': '实例', 'Installed packages': '已安装插件包',
'Ready': '就绪', 'Pending': '等待加载', 'Configuration (JSON)': '配置(JSON)', 'Configuration schema': '配置格式说明', 'Registry username (optional)': '仓库用户名(可选)',
'Use credential references in configuration. Complete service authorization below.': '配置中请使用凭证引用,并在服务授权区域完成授权。',
'Uninstall this package? Its credentials and workspace files will stay on disk.': '卸载此插件包?凭证和工作区文件将保留在磁盘中。',
'Remove this instance? Credentials and workspace files are retained.': '移除此实例?凭证和工作区文件将保留。',
'Inspect package': '检查插件包',
"Connection setup": "连接步骤",
"Connect X account": "连接 X 账号",
"Connect Google account": "连接 Google 账号",
"Disconnect account": "退出账号授权",
"Authorization is ready.": "授权已就绪。",
"Could not disconnect this account. Refresh to check the current state.": "无法退出账号授权,请刷新检查当前状态。",
"Choose the Google Workspace permissions to request.": "选择本次请求的 Google Workspace 权限。",
"Read and write": "读写",
"Read Gmail, Drive, Calendar, Docs, Sheets and Slides.": "读取 Gmail、Drive、日历、文档、表格与幻灯片。",
"Also edit documents, manage files and calendars, and modify Gmail. No Admin permissions.": "还可编辑文档、管理文件与日历、修改 Gmail,不申请管理员权限。",
"Sign in to X in your browser. After approval, copy the complete redirect URL, even if the local page cannot open.": "在浏览器中登录 X 并同意授权,然后复制完整回跳地址,即使本地页面打不开。",
"Sign in to Google in your browser. After consent, copy the complete localhost redirect URL from the address bar, even if that page cannot open.": "在浏览器中登录 Google 并同意授权,然后从地址栏复制完整 localhost 回跳地址,即使该页面打不开。",
"Paste the complete X redirect URL from your browser address bar.": "粘贴浏览器地址栏中的完整 X 回跳地址。",
"First open the authorization link above and approve access in your browser. Then paste the complete X redirect URL from the address bar.": "先打开上方授权链接,在浏览器中同意授权。完成后,再粘贴地址栏中的完整 X 回跳地址。",
"Paste the complete Google redirect URL from your browser address bar.": "粘贴浏览器地址栏中的完整 Google 回跳地址。",
"First open the authorization link above and approve access in your browser. Then paste the complete Google redirect URL from the address bar.": "先打开上方授权链接,在浏览器中同意授权。完成后,再粘贴地址栏中的完整 Google 回跳地址。",
"The authorization process ended. Start again.": "授权进程已结束,请重新开始。",
"Video guide": "视频指引",
"Play video guide": "播放视频指引",
"Could not load this video. Try again.": "无法加载视频,请重试。",
"Create your X Developer App and enable OAuth 2.0. Register http://localhost:8080/callback as its callback URL. API usage is billed to your developer account.": "创建自己的 X 开发者应用并启用 OAuth 2.0,登记回调地址 http://localhost:8080/callback。API 调用由你的开发者账户计费。",
"Enter your X app Client ID.": "填写你的 X 应用 Client ID。",
'Native App (no Client Secret)': 'Native App(无需 Client Secret)',
'Web App / confidential client': 'Web App/机密客户端',
'Enter your confidential X app Client Secret.': '填写你的 X 机密客户端 Client Secret。',
'X Client Secret is required for a confidential client.': '机密客户端必须填写 Client Secret。',
'This saved X app uses a Client Secret. Select the confidential-client authorization method.': '已保存的 X 应用使用 Client Secret,请选择机密客户端授权方式。',
'Sign in to X in your browser. After approval, immediately copy the complete redirect URL here, even if the local page cannot open. X authorization codes expire after 30 seconds.': '在浏览器中登录 X 并授权后,请立即将完整回跳地址复制到这里,即使本地页面打不开。X 授权码只有 30 秒有效。',
'Could not verify the imported Google authorization. Check the export and Host network. Your existing account has not been changed.': '无法验证导入的 Google 授权,请检查导出数据和 Host 网络。原有账号未被修改。',
'Select a JSON configuration file.': '选择 JSON 配置文件。',
'Choose JSON file': '选择 JSON 文件',
'Choose the client JSON downloaded from your provider. It will be parsed and submitted automatically.': '选择从服务商下载的客户端 JSON 文件,系统会自动解析并提交配置。',
'Select a valid JSON configuration file.': '请选择有效的 JSON 配置文件。',
'The configuration file must be 16 KB or smaller.': '配置文件不能超过 16 KB。',
'Could not read this configuration file.': '无法读取此配置文件。',
'Paste your Google Desktop OAuth client JSON downloaded from Google Cloud.': '粘贴你从 Google Cloud 下载的 Desktop OAuth 客户端 JSON。',
'Could not read the saved Google Desktop application configuration. Restore its client_secret.json and try again.': '无法读取已保存的 Google Desktop 应用配置,请恢复其 client_secret.json 后重试。',
'Enter a valid Google Desktop OAuth client JSON.': '请填写有效的 Google Desktop OAuth 客户端 JSON。',
'Use a Google OAuth client of type Desktop app, with an installed object.': '请使用包含 installed 对象的桌面应用(Desktop app)OAuth 客户端配置。',
'Unsupported Google authorization endpoint.': '不支持该 Google 授权端点。',
'Unsupported Google token endpoint.': '不支持该 Google 令牌端点。',
'The provider rejected the application credentials (invalid_client). Check the app Client ID and Client Secret.': '服务商拒绝了应用凭证(invalid_client),请核对应用的 Client ID 和 Client Secret。',
'The provider does not allow this application to use this authorization flow (unauthorized_client). Check the app type and OAuth settings.': '服务商不允许此应用使用该授权流程(unauthorized_client),请核对应用类型和 OAuth 设置。',
'The provider rejected the authorization code (invalid_grant). Start again and use the new redirect URL once.': '服务商拒绝了授权码(invalid_grant)。请重新开始,并且只使用一次新的回跳地址。',
'The provider rejected the authorization request (invalid_request). Check the app callback URL and use a new redirect URL from this attempt.': '服务商拒绝了授权请求(invalid_request)。请核对应用回调地址,并使用本次新生成的回跳地址。',
'The provider rejected the requested permissions (invalid_scope). Check the app permissions.': '服务商拒绝了请求的权限(invalid_scope),请核对应用权限。',
'The provider denied account access (access_denied). Check the permissions on the authorization page.': '服务商拒绝账号访问(access_denied),请检查授权页面上的权限。',
'The provider rejected the callback URL (redirect_uri_mismatch). Check the callback registered for this app.': '服务商拒绝了回调地址(redirect_uri_mismatch),请核对应用中登记的回调地址。',
'The provider could not exchange the authorization code. Check the application settings and start a new authorization attempt.': '服务商未能完成授权码交换,请核对应用设置后重新发起授权。',
'Could not reach the authorization provider. Check the Host network and try again.': '无法连接授权服务商,请检查 Host 网络后重试。',
}