fix(webui): streamline the connection screen

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-14 11:22:47 +08:00
1 parent 08b130cdd1
commit 15976ac559
14 files changed
+308 -127

No files matched your search

+6 -3
View File
@@ -12,12 +12,15 @@
"auth": {
"title": "Connect to nanobot",
"label": "WebUI password",
"help": "Find this password at channels.websocket.tokenIssueSecret in the nanobot config, usually ~/.nanobot/config.json. If that value is empty, use channels.websocket.token.",
"helpTitle": "Where can I find the password?",
"helpConfig": "On the device running nanobot, open the config file, usually at:",
"helpSecret": "Copy the value of this field as your password:",
"helpFallback": "If that value is empty, use <code>channels.websocket.token</code>.",
"showPassword": "Show password",
"hidePassword": "Hide password",
"submit": "Connect",
"required": "Enter the WebUI password.",
"invalid": "That WebUI password wasn't accepted. Copy it from the nanobot config and try again."
"required": "Enter password",
"invalid": "Incorrect password"
},
"account": {
"section": "Account",
+6 -3
View File
@@ -12,12 +12,15 @@
"auth": {
"title": "Conectar con nanobot",
"label": "Contraseña de WebUI",
"help": "Busca esta contraseña en channels.websocket.tokenIssueSecret dentro de la configuración de nanobot, normalmente ~/.nanobot/config.json. Si ese valor está vacío, usa channels.websocket.token.",
"helpTitle": "¿Dónde encuentro la contraseña?",
"helpConfig": "En el dispositivo que ejecuta nanobot, abre el archivo de configuración, normalmente ubicado en:",
"helpSecret": "Copia el valor de este campo como contraseña:",
"helpFallback": "Si ese valor está vacío, usa <code>channels.websocket.token</code>.",
"showPassword": "Mostrar contraseña",
"hidePassword": "Ocultar contraseña",
"submit": "Conectar",
"required": "Introduce la contraseña de WebUI.",
"invalid": "No se aceptó esa contraseña de WebUI. Cópiala de la configuración de nanobot e inténtalo de nuevo."
"required": "Introduce la contraseña",
"invalid": "Contraseña incorrecta"
},
"account": {
"section": "Cuenta",
+6 -3
View File
@@ -12,12 +12,15 @@
"auth": {
"title": "Se connecter à nanobot",
"label": "Mot de passe de la WebUI",
"help": "Ce mot de passe se trouve dans channels.websocket.tokenIssueSecret dans la configuration de nanobot, généralement ~/.nanobot/config.json. Si cette valeur est vide, utilisez channels.websocket.token.",
"helpTitle": "Où trouver le mot de passe ?",
"helpConfig": "Sur l’appareil qui exécute nanobot, ouvrez le fichier de configuration, généralement situé ici :",
"helpSecret": "Copiez la valeur de ce champ comme mot de passe :",
"helpFallback": "Si cette valeur est vide, utilisez <code>channels.websocket.token</code>.",
"showPassword": "Afficher le mot de passe",
"hidePassword": "Masquer le mot de passe",
"submit": "Se connecter",
"required": "Saisissez le mot de passe de la WebUI.",
"invalid": "Ce mot de passe de la WebUI n’a pas été accepté. Copiez-le depuis la configuration de nanobot et réessayez."
"required": "Saisissez le mot de passe",
"invalid": "Mot de passe incorrect"
},
"account": {
"section": "Compte",
+6 -3
View File
@@ -12,12 +12,15 @@
"auth": {
"title": "Hubungkan ke nanobot",
"label": "Kata sandi WebUI",
"help": "Temukan kata sandi ini di channels.websocket.tokenIssueSecret dalam konfigurasi nanobot, biasanya ~/.nanobot/config.json. Jika nilainya kosong, gunakan channels.websocket.token.",
"helpTitle": "Di mana saya bisa menemukan kata sandi?",
"helpConfig": "Pada perangkat yang menjalankan nanobot, buka file konfigurasi, biasanya di:",
"helpSecret": "Salin nilai kolom ini sebagai kata sandi:",
"helpFallback": "Jika nilainya kosong, gunakan <code>channels.websocket.token</code>.",
"showPassword": "Tampilkan kata sandi",
"hidePassword": "Sembunyikan kata sandi",
"submit": "Hubungkan",
"required": "Masukkan kata sandi WebUI.",
"invalid": "Kata sandi WebUI tersebut tidak diterima. Salin dari konfigurasi nanobot lalu coba lagi."
"required": "Masukkan kata sandi",
"invalid": "Kata sandi salah"
},
"account": {
"section": "Akun",
+6 -3
View File
@@ -12,12 +12,15 @@
"auth": {
"title": "nanobot に接続",
"label": "WebUI パスワード",
"help": "このパスワードは nanobot の設定内の channels.websocket.tokenIssueSecret にあります。通常は ~/.nanobot/config.json です。この値が空の場合は channels.websocket.token を使用してください。",
"helpTitle": "パスワードはどこにありますか?",
"helpConfig": "nanobot を実行しているデバイスで設定ファイルを開きます。通常は次の場所にあります:",
"helpSecret": "このフィールドの値をパスワードとしてコピーします:",
"helpFallback": "値が空の場合は <code>channels.websocket.token</code> を使用してください。",
"showPassword": "パスワードを表示",
"hidePassword": "パスワードを隠す",
"submit": "接続",
"required": "WebUI パスワードを入力してください。",
"invalid": "その WebUI パスワードは受け付けられませんでした。nanobot の設定からコピーして、もう一度お試しください。"
"required": "パスワードを入力",
"invalid": "パスワードが違います"
},
"account": {
"section": "アカウント",
+6 -3
View File
@@ -12,12 +12,15 @@
"auth": {
"title": "nanobot에 연결",
"label": "WebUI 비밀번호",
"help": "이 비밀번호는 nanobot 설정의 channels.websocket.tokenIssueSecret에 있으며, 일반적으로 ~/.nanobot/config.json에 저장됩니다. 이 값이 비어 있으면 channels.websocket.token을 사용하세요.",
"helpTitle": "비밀번호는 어디에서 찾나요?",
"helpConfig": "nanobot을 실행 중인 기기에서 설정 파일을 여세요. 일반적으로 다음 위치에 있습니다:",
"helpSecret": "이 필드의 값을 비밀번호로 복사하세요:",
"helpFallback": "값이 비어 있으면 <code>channels.websocket.token</code>을 사용하세요.",
"showPassword": "비밀번호 표시",
"hidePassword": "비밀번호 숨기기",
"submit": "연결",
"required": "WebUI 비밀번호를 입력하세요.",
"invalid": "해당 WebUI 비밀번호가 허용되지 않았습니다. nanobot 설정에서 복사한 후 다시 시도하세요."
"required": "비밀번호를 입력하세요",
"invalid": "비밀번호를 확인하세요"
},
"account": {
"section": "계정",
+6 -3
View File
@@ -12,12 +12,15 @@
"auth": {
"title": "Conectar ao nanobot",
"label": "Senha da WebUI",
"help": "Encontre esta senha em channels.websocket.tokenIssueSecret na configuração do nanobot, normalmente em ~/.nanobot/config.json. Se esse valor estiver vazio, use channels.websocket.token.",
"helpTitle": "Onde encontro a senha?",
"helpConfig": "No dispositivo que executa o nanobot, abra o arquivo de configuração, geralmente em:",
"helpSecret": "Copie o valor deste campo como senha:",
"helpFallback": "Se esse valor estiver vazio, use <code>channels.websocket.token</code>.",
"showPassword": "Mostrar senha",
"hidePassword": "Ocultar senha",
"submit": "Conectar",
"required": "Digite a senha da WebUI.",
"invalid": "Essa senha da WebUI não foi aceita. Copie-a da configuração do nanobot e tente novamente."
"required": "Digite a senha",
"invalid": "Senha incorreta"
},
"account": {
"section": "Conta",
+6 -3
View File
@@ -12,12 +12,15 @@
"auth": {
"title": "Kết nối với nanobot",
"label": "Mật khẩu WebUI",
"help": "Tìm mật khẩu này tại channels.websocket.tokenIssueSecret trong cấu hình nanobot, thường là ~/.nanobot/config.json. Nếu giá trị này trống, hãy dùng channels.websocket.token.",
"helpTitle": "Tìm mật khẩu ở đâu?",
"helpConfig": "Trên thiết bị đang chạy nanobot, mở tệp cấu hình, thường nằm tại:",
"helpSecret": "Sao chép giá trị của trường này làm mật khẩu:",
"helpFallback": "Nếu giá trị này trống, hãy dùng <code>channels.websocket.token</code>.",
"showPassword": "Hiện mật khẩu",
"hidePassword": "Ẩn mật khẩu",
"submit": "Kết nối",
"required": "Nhập mật khẩu WebUI.",
"invalid": "Mật khẩu WebUI đó không được chấp nhận. Hãy sao chép từ cấu hình nanobot rồi thử lại."
"required": "Nhập mật khẩu",
"invalid": "Mật khẩu không đúng"
},
"account": {
"section": "Tài khoản",
+6 -3
View File
@@ -12,12 +12,15 @@
"auth": {
"title": "连接到 nanobot",
"label": "WebUI 密码",
"help": "请在 nanobot 配置中的 channels.websocket.tokenIssueSecret 查找此密码,配置文件通常位于 ~/.nanobot/config.json。若该值为空,请使用 channels.websocket.token。",
"helpTitle": "在哪里找到密码?",
"helpConfig": "在运行 nanobot 的设备上打开配置文件,通常位于:",
"helpSecret": "复制此字段的值作为密码:",
"helpFallback": "若该值为空,请使用 <code>channels.websocket.token</code>。",
"showPassword": "显示密码",
"hidePassword": "隐藏密码",
"submit": "连接",
"required": "请输入 WebUI 密码。",
"invalid": "该 WebUI 密码未通过验证。请从 nanobot 配置中复制密码后重试。"
"required": "请输入密码",
"invalid": "密码不正确,请重试"
},
"account": {
"section": "账户",
+6 -3
View File
@@ -12,12 +12,15 @@
"auth": {
"title": "連線到 nanobot",
"label": "WebUI 密碼",
"help": "請在 nanobot 設定中的 channels.websocket.tokenIssueSecret 尋找此密碼,設定檔通常位於 ~/.nanobot/config.json。若該值為空,請使用 channels.websocket.token。",
"helpTitle": "在哪裡找到密碼?",
"helpConfig": "在執行 nanobot 的裝置上開啟設定檔,通常位於:",
"helpSecret": "複製此欄位的值作為密碼:",
"helpFallback": "若該值為空,請使用 <code>channels.websocket.token</code>。",
"showPassword": "顯示密碼",
"hidePassword": "隱藏密碼",
"submit": "連線",
"required": "請輸入 WebUI 密碼。",
"invalid": "該 WebUI 密碼未通過驗證。請從 nanobot 設定中複製密碼後再試一次。"
"required": "請輸入密碼",
"invalid": "密碼不正確,請重試"
},
"account": {
"section": "帳戶",