fix(webui): make headless login self-explanatory (#5735)

* fix(webui): guide headless login

* fix(webui): correct SSH handoff and password fallback
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-13 05:01:13 +08:00
1 parent 7cede64f07
commit f8c1f2ede0
15 files changed
+265 -86

No files matched your search

+6 -4
View File
@@ -7,15 +7,17 @@
},
"error": {
"title": "无法连接到 nanobot",
"gatewayHint": "请确认网关已启动(`nanobot gateway`),并且当前页面与网关运行在同一台机器上。"
"gatewayHint": "请确认网关已启动(`nanobot gateway`),并且当前浏览器可以访问它的 WebUI 地址。"
},
"auth": {
"label": "密码",
"title": "连接到 nanobot",
"label": "WebUI 密码",
"help": "请在 nanobot 配置中的 channels.websocket.tokenIssueSecret 查找此密码,配置文件通常位于 ~/.nanobot/config.json。若该值为空,请使用 channels.websocket.token。",
"showPassword": "显示密码",
"hidePassword": "隐藏密码",
"submit": "连接",
"required": "请输入密码。",
"invalid": "密码错误,请重试。"
"required": "请输入 WebUI 密码。",
"invalid": "该 WebUI 密码未通过验证。请从 nanobot 配置中复制密码后重试。"
},
"account": {
"section": "账户",