From c7f1d263e80002bdda70c427200b689a3c112a35 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Tue, 2 Sep 2025 22:44:41 -0500 Subject: [PATCH] Translation update --- public/locales/en/translation.json | 58 ++++++++++++++++++++++++++++-- public/locales/zh/translation.json | 58 ++++++++++++++++++++++++++++-- 2 files changed, 110 insertions(+), 6 deletions(-) diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 7c22f8c8..ecc0c3f4 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -37,6 +37,10 @@ "updateAvailable": "Update Available", "noReleases": "No Releases", "updatesAndReleases": "Updates & Releases", + "newVersionAvailable": "A new version ({{version}}) is available.", + "failedToFetchUpdateInfo": "Failed to fetch update information", + "preRelease": "Pre-release", + "noReleasesFound": "No releases found.", "yourBackupCodes": "Your Backup Codes", "sendResetCode": "Send Reset Code", "verifyCode": "Verify Code", @@ -93,7 +97,16 @@ "help": "Help", "about": "About", "language": "Language", - "autoDetect": "Auto-detect" + "autoDetect": "Auto-detect", + "changeAccountPassword": "Change your account password", + "enterSixDigitCode": "Enter the 6-digit code from the docker container logs for user:", + "enterNewPassword": "Enter your new password for user:", + "passwordsDoNotMatch": "Passwords do not match", + "passwordMinLength": "Password must be at least 6 characters long", + "passwordResetSuccess": "Password reset successfully! You can now log in with your new password.", + "failedToInitiatePasswordReset": "Failed to initiate password reset", + "failedToVerifyResetCode": "Failed to verify reset code", + "failedToCompletePasswordReset": "Failed to complete password reset" }, "nav": { "home": "Home", @@ -151,7 +164,23 @@ "adding": "Adding...", "currentAdmins": "Current Admins", "adminBadge": "Admin", - "removeAdminButton": "Remove Admin" + "removeAdminButton": "Remove Admin", + "general": "General", + "userRegistration": "User Registration", + "allowNewAccountRegistration": "Allow new account registration", + "missingRequiredFields": "Missing required fields: {{fields}}", + "oidcConfigurationUpdated": "OIDC configuration updated successfully!", + "failedToUpdateOidcConfig": "Failed to update OIDC configuration", + "enterUsernameToMakeAdmin": "Enter username to make admin", + "userIsNowAdmin": "User {{username}} is now an admin", + "failedToMakeUserAdmin": "Failed to make user admin", + "removeAdminStatus": "Remove admin status from {{username}}?", + "adminStatusRemoved": "Admin status removed from {{username}}", + "failedToRemoveAdminStatus": "Failed to remove admin status", + "deleteUser": "Delete user {{username}}? This cannot be undone.", + "userDeletedSuccessfully": "User {{username}} deleted successfully", + "failedToDeleteUser": "Failed to delete user", + "overrideUserInfoUrl": "Override User Info URL (not required)" }, "hosts": { "title": "Host Manager", @@ -269,7 +298,30 @@ "gatewayPorts": "GatewayPorts yes (bind remote ports)", "allowTcpForwarding": "AllowTcpForwarding yes (port forwarding)", "permitRootLogin": "PermitRootLogin yes (if using root)", - "editSshConfig": "Edit /etc/ssh/sshd_config and restart SSH: sudo systemctl restart sshd" + "editSshConfig": "Edit /etc/ssh/sshd_config and restart SSH: sudo systemctl restart sshd", + "updateHost": "Update Host", + "hostUpdatedSuccessfully": "Host \"{{name}}\" updated successfully!", + "hostAddedSuccessfully": "Host \"{{name}}\" added successfully!", + "hostDeletedSuccessfully": "Host \"{{name}}\" deleted successfully!", + "failedToSaveHost": "Failed to save host. Please try again.", + "autoDetect": "Auto-detect", + "rsa": "RSA", + "ed25519": "ED25519", + "ecdsaNistP256": "ECDSA NIST P-256", + "ecdsaNistP384": "ECDSA NIST P-384", + "ecdsaNistP521": "ECDSA NIST P-521", + "dsa": "DSA", + "rsaSha2256": "RSA SHA2-256", + "rsaSha2512": "RSA SHA2-512", + "updateKey": "Update Key", + "addTagsSpaceToAdd": "add tags (space to add)", + "terminalBadge": "Terminal", + "tunnelBadge": "Tunnel", + "fileManagerBadge": "File Manager", + "general": "General", + "terminal": "Terminal", + "tunnel": "Tunnel", + "fileManager": "File Manager" }, "terminal": { "title": "Terminal", diff --git a/public/locales/zh/translation.json b/public/locales/zh/translation.json index 8f089b62..0c32a334 100644 --- a/public/locales/zh/translation.json +++ b/public/locales/zh/translation.json @@ -37,6 +37,10 @@ "updateAvailable": "有可用更新", "noReleases": "没有发布版本", "updatesAndReleases": "更新与发布", + "newVersionAvailable": "有新版本 ({{version}}) 可用。", + "failedToFetchUpdateInfo": "获取更新信息失败", + "preRelease": "预发布版本", + "noReleasesFound": "未找到发布版本。", "yourBackupCodes": "您的备份代码", "sendResetCode": "发送重置代码", "verifyCode": "验证代码", @@ -93,7 +97,16 @@ "help": "帮助", "about": "关于", "language": "语言", - "autoDetect": "自动检测" + "autoDetect": "自动检测", + "changeAccountPassword": "修改您的账户密码", + "enterSixDigitCode": "输入来自 docker 容器日志中用户的 6 位数代码:", + "enterNewPassword": "为用户输入新密码:", + "passwordsDoNotMatch": "密码不匹配", + "passwordMinLength": "密码长度至少为 6 个字符", + "passwordResetSuccess": "密码重置成功!您现在可以使用新密码登录。", + "failedToInitiatePasswordReset": "启动密码重置失败", + "failedToVerifyResetCode": "验证重置代码失败", + "failedToCompletePasswordReset": "完成密码重置失败" }, "nav": { "home": "首页", @@ -151,7 +164,23 @@ "adding": "添加中...", "currentAdmins": "当前管理员", "adminBadge": "管理员", - "removeAdminButton": "移除管理员" + "removeAdminButton": "移除管理员", + "general": "常规", + "userRegistration": "用户注册", + "allowNewAccountRegistration": "允许新账户注册", + "missingRequiredFields": "缺少必填字段:{{fields}}", + "oidcConfigurationUpdated": "OIDC 配置更新成功!", + "failedToUpdateOidcConfig": "更新 OIDC 配置失败", + "enterUsernameToMakeAdmin": "输入用户名以设为管理员", + "userIsNowAdmin": "用户 {{username}} 现在是管理员", + "failedToMakeUserAdmin": "设为管理员失败", + "removeAdminStatus": "移除 {{username}} 的管理员权限吗?", + "adminStatusRemoved": "已移除 {{username}} 的管理员权限", + "failedToRemoveAdminStatus": "移除管理员权限失败", + "deleteUser": "删除用户 {{username}} 吗?此操作无法撤销。", + "userDeletedSuccessfully": "用户 {{username}} 删除成功", + "failedToDeleteUser": "删除用户失败", + "overrideUserInfoUrl": "覆盖用户信息 URL(非必填)" }, "hosts": { "title": "主机管理", @@ -269,7 +298,30 @@ "gatewayPorts": "GatewayPorts yes(绑定远程端口)", "allowTcpForwarding": "AllowTcpForwarding yes(端口转发)", "permitRootLogin": "PermitRootLogin yes(如果使用 root)", - "editSshConfig": "编辑 /etc/ssh/sshd_config 并重启 SSH: sudo systemctl restart sshd" + "editSshConfig": "编辑 /etc/ssh/sshd_config 并重启 SSH: sudo systemctl restart sshd", + "updateHost": "更新主机", + "hostUpdatedSuccessfully": "主机 \"{{name}}\" 更新成功!", + "hostAddedSuccessfully": "主机 \"{{name}}\" 添加成功!", + "hostDeletedSuccessfully": "主机 \"{{name}}\" 删除成功!", + "failedToSaveHost": "保存主机失败,请重试。", + "autoDetect": "自动检测", + "rsa": "RSA", + "ed25519": "ED25519", + "ecdsaNistP256": "ECDSA NIST P-256", + "ecdsaNistP384": "ECDSA NIST P-384", + "ecdsaNistP521": "ECDSA NIST P-521", + "dsa": "DSA", + "rsaSha2256": "RSA SHA2-256", + "rsaSha2512": "RSA SHA2-512", + "updateKey": "更新密钥", + "addTagsSpaceToAdd": "添加标签(空格添加)", + "terminalBadge": "终端", + "tunnelBadge": "隧道", + "fileManagerBadge": "文件管理器", + "general": "常规", + "terminal": "终端", + "tunnel": "隧道", + "fileManager": "文件管理器" }, "terminal": { "title": "终端",