feat(webui): connect to existing remote nanobot instances (NAN-157)
This commit is contained in:
1 parent
6ecb74aea9
commit
11889c018e
34 files changed
+4074
-14
No files matched your search
@@ -1,4 +1,106 @@
|
||||
{
|
||||
"remote": {
|
||||
"localShort": "本地",
|
||||
"disconnectTitle": "断开与 {{name}} 的连接?",
|
||||
"disconnectDescription": "将关闭此服务器页面及共享的 SSH 连接,可能丢失未保存的内容,并影响其他正在使用此连接的标签页。服务器上的 nanobot 会继续运行。",
|
||||
"hostBar": "当前连接",
|
||||
"switchHost": "切换主机",
|
||||
"manageConnections": "管理连接…",
|
||||
"ready": "已就绪",
|
||||
"preparing": "正在连接 {{name}}…",
|
||||
"cancelSwitch": "取消切换",
|
||||
"localEnvironment": "本地 · {{name}}",
|
||||
"sshHosts": "来自 SSH 配置",
|
||||
"sshHostsHint": "选择已有主机,用户名、密钥和端口会沿用 SSH 配置。点击连接前不会访问服务器。",
|
||||
"refreshHosts": "刷新 SSH 主机",
|
||||
"searchHosts": "搜索 SSH 主机",
|
||||
"useHost": "使用 {{host}}",
|
||||
"loadingHosts": "正在读取 SSH 配置…",
|
||||
"noHosts": "没有找到已命名的主机,也可以在下面手动输入 SSH 地址。",
|
||||
"noMatchingHosts": "没有匹配的主机。",
|
||||
"partialHosts": "部分配置未能列出,你仍可手动输入主机别名或地址。",
|
||||
"otherConfig": "使用其他 SSH 配置文件",
|
||||
"configToRead": "要读取的 SSH 配置文件",
|
||||
"readConfig": "读取主机",
|
||||
"discoveryError": "无法读取 SSH 主机,请重试或手动输入地址。",
|
||||
"portPlaceholder": "沿用 SSH 配置(通常为 22)",
|
||||
"loading": "正在读取连接…",
|
||||
"retry": "重试",
|
||||
"unavailable": "请从本地运行的 nanobot 打开此页面,才能通过 SSH 连接服务器。",
|
||||
"back": "返回",
|
||||
"disconnect": "断开连接",
|
||||
"verifyTitle": "验证服务器身份",
|
||||
"verifyDescription": "第一次连接前,请与服务器控制台或管理员核对下面的 SSH 指纹。",
|
||||
"verifyHint": "指纹一致再继续。只保存这台服务器的公钥,不修改系统 SSH 配置。",
|
||||
"verifyConnect": "指纹一致,继续连接",
|
||||
"title": "远程连接",
|
||||
"description": "连接服务器上的 nanobot,聊天和设置保留在服务器。",
|
||||
"local": "本地 nanobot",
|
||||
"current": "正在使用",
|
||||
"remote": "远程",
|
||||
"returnLocal": "切回本地 nanobot",
|
||||
"add": "连接远程 nanobot…",
|
||||
"addTitle": "连接远程 nanobot",
|
||||
"addDescription": "连接服务器上已经运行的 nanobot。",
|
||||
"host": "SSH 地址",
|
||||
"name": "名称(可选)",
|
||||
"namePlaceholder": "团队服务器",
|
||||
"keyHint": "使用系统 SSH 密钥。模型 Key 和会话留在服务器上。",
|
||||
"advanced": "高级",
|
||||
"sshPort": "SSH 端口",
|
||||
"ssh_config": "SSH 配置文件(可选)",
|
||||
"identity_file": "私钥路径(可选)",
|
||||
"config_path": "服务器上的 nanobot 配置路径",
|
||||
"runtime_user": "nanobot 运行账号(可选)",
|
||||
"saveConnect": "保存并连接",
|
||||
"connecting": "正在连接…",
|
||||
"opening": "正在打开服务器…",
|
||||
"frameTitle": "{{name}} 上的 nanobot",
|
||||
"offline": "与服务器的连接已断开",
|
||||
"noFallback": "当前仍在使用远程 nanobot,不会将操作转到本地 nanobot。",
|
||||
"reconnect": "重新连接",
|
||||
"manage": "管理 {{name}}",
|
||||
"edit": "编辑连接",
|
||||
"forget": "忘记服务器",
|
||||
"forgetTitle": "忘记 {{name}}?",
|
||||
"forgetDescription": "只移除本机保存的连接。服务器上的 nanobot、密钥和会话都不会被删除。",
|
||||
"errors": {
|
||||
"view_limit": "已保留 3 个服务器界面。请在管理连接中断开其中一个,再打开新服务器。",
|
||||
"view_load_failed": "服务器界面加载较慢,请重试。当前界面保持不变。",
|
||||
"same_instance": "这是你当前正在使用的 nanobot,无需再次连接。",
|
||||
"ssh_config_unreadable": "无法读取此 SSH 配置,请检查文件路径、权限和格式。",
|
||||
"local_port_in_use": "这个连接的本机端口正被其他程序占用。请关闭占用程序后重试,或忘记并重新添加连接。",
|
||||
"host_key_scan_failed": "暂时无法获取服务器指纹。如果使用跳板机,请通过已有 SSH 配置验证身份。",
|
||||
"unknown": "连接未成功,请检查服务器后重试。",
|
||||
"directory_unavailable": "暂时无法读取已保存的服务器,请重试。",
|
||||
"ssh_unavailable": "本机需要安装 OpenSSH 客户端才能连接。",
|
||||
"ssh_auth_failed": "SSH 登录失败。请检查用户名和密钥;加密的密钥需要先在系统 SSH agent 中解锁。",
|
||||
"ssh_unreachable": "无法连接服务器的 SSH,请检查地址、端口和网络。",
|
||||
"host_key_unknown": "本机还没有验证过这台服务器。请先与服务器管理员核对 SSH 指纹后再连接。",
|
||||
"host_key_changed": "服务器的 SSH 身份发生了变化,已阻止连接。请先与管理员确认,不要跳过这个警告。",
|
||||
"local_file_not_found": "本机找不到指定的 SSH 配置文件或私钥。",
|
||||
"runtime_user_denied": "SSH 已登录,但不能免密切换到这个运行账号,请与服务器管理员确认。",
|
||||
"python_unavailable": "服务器需要 python3 来读取已有的 nanobot 配置。",
|
||||
"config_not_found": "找不到 nanobot 配置,请在「高级」中填写它在服务器上的路径。",
|
||||
"config_permission": "SSH 账号无权读取 nanobot 配置,请在「高级」中填写 nanobot 的运行账号。",
|
||||
"config_invalid": "无法读取服务器上的 nanobot 配置。",
|
||||
"webui_disabled": "服务器的 WebUI 尚未启用,请先在服务器上开启。",
|
||||
"webui_auth_required": "服务器需要在配置中设置 WebUI 登录密钥。这里不需要模型 Key。",
|
||||
"public_ws_unsupported": "这台服务器设置了公网 WebSocket 地址。首版支持通过 SSH 连接回环地址上的 WebUI。",
|
||||
"remote_auth_failed": "服务器拒绝了 WebUI 登录凭据,请检查它实际运行的配置。",
|
||||
"incompatible_gateway": "该地址不是兼容的 nanobot gateway,请检查配置或更新服务器版本。",
|
||||
"webui_unavailable": "Gateway 在运行,但没有安装 WebUI。",
|
||||
"remote_unreachable": "SSH 已连接,但 nanobot WebUI 没有响应,请确认它正在运行。",
|
||||
"profile_store_invalid": "无法读取已保存的连接,原文件未被覆盖。",
|
||||
"invalid_profile": "请检查服务器地址、端口和高级选项。",
|
||||
"profile_not_found": "这个连接已不存在,请刷新列表。",
|
||||
"profile_limit": "最多可以保存 20 台服务器。",
|
||||
"connection_limit": "请先断开一台服务器,再建立新连接。",
|
||||
"disconnect_before_edit": "请先断开这个服务器,再编辑连接信息。",
|
||||
"local_io_error": "无法保存或打开连接,请检查本机文件权限。",
|
||||
"invalid_remote_url": "连接返回了异常地址,已阻止打开。"
|
||||
}
|
||||
},
|
||||
"previewTabs": {
|
||||
"title": "预览",
|
||||
"closeTab": "关闭 {{name}}",
|
||||
|
||||
Reference in new issue
Block a user