From 4c59855b618be77e83aa8bd1a72d4f5ae4fa0616 Mon Sep 17 00:00:00 2001 From: chongfenglaosiji <1768697959gjh@gmail.com> Date: Sat, 10 Oct 2026 19:27:31 +0800 Subject: [PATCH] i18n(zh-CN): translate the Profile page (34 keys) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `profile.msg.*` — The server-built confirmations and errors, now looked up in the reader's language `profile.account.*` — Account info block `profile.totp.*` — Two-factor section `profile.password.*` — Change-password form `profile.*` (shared) — Page heading and intro Data-only: web/i18n/zh-CN.json is the only file touched. The diff also carries the settings.default_language.auto wording fix from #131 (otherwise this snapshot would revert it). All the batch PRs change that same line to the same value, so they merge cleanly in any order. --- web/i18n/zh-CN.json | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/web/i18n/zh-CN.json b/web/i18n/zh-CN.json index 4602301..f946e10 100644 --- a/web/i18n/zh-CN.json +++ b/web/i18n/zh-CN.json @@ -47,12 +47,46 @@ "page.proxy_hosts.title": "代理主机", "page.redirections.heading": "重定向", "page.redirections.title": "重定向", + "profile.account.display_name": "显示名称", + "profile.account.email": "邮箱", + "profile.account.heading": "账号信息", + "profile.account.name_placeholder": "你的名字", + "profile.account.read_only": "(只读)", + "profile.account.role": "角色:", + "profile.account.save_name": "保存名称", + "profile.email_hint": "如需更改邮箱地址,请联系管理员。", + "profile.heading": "我的资料", + "profile.intro": "修改你的显示名称和密码。", "profile.language.browser": "跟随我的浏览器语言", "profile.language.heading": "语言", "profile.language.help": "CaddyUI 向你显示的语言。尚未翻译的界面部分仍会显示英文。", "profile.language.save": "保存语言", "profile.language.saved": "语言已保存。", - "settings.default_language.auto": "跟随各访问者的浏览器(否则用英文)", + "profile.msg.name_empty": "名称不能为空", + "profile.msg.name_failed": "更新名称失败", + "profile.msg.name_updated": "名称更新成功", + "profile.msg.password_changed": "密码修改成功", + "profile.msg.password_failed": "更新密码失败", + "profile.msg.password_hash_failed": "密码加密失败", + "profile.msg.password_mismatch": "两次输入的新密码不一致", + "profile.msg.password_short": "密码长度至少为 8 个字符", + "profile.msg.password_wrong": "当前密码不正确", + "profile.msg.save_language_failed": "保存语言失败", + "profile.msg.unknown_language": "未知语言", + "profile.password.confirm": "确认新密码", + "profile.password.current": "当前密码", + "profile.password.heading": "修改密码", + "profile.password.new": "新密码", + "profile.password.update": "更新密码", + "profile.title": "我的资料", + "profile.totp.enable": "启用", + "profile.totp.enabled": "已启用", + "profile.totp.enabled_hint": "你的账号已通过身份验证器应用保护。", + "profile.totp.heading": "两步验证", + "profile.totp.manage": "管理", + "profile.totp.not_configured": "未配置", + "profile.totp.not_configured_hint": "添加一层额外的安全保护。", + "settings.default_language.auto": "跟随各访问者的浏览器(否则显示英文)", "settings.default_language.help": "向所有尚未在个人资料中选择语言的人显示。选择“跟随各访问者的浏览器”则改用每个人浏览器的语言。立即生效。", "settings.default_language.label": "默认语言", "topbar.create": "创建",