diff --git a/src/locales/index.ts b/src/locales/index.ts index b0e7dabc9..c00145e71 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -11,3 +11,4 @@ export { default as pt } from "./pt.json" export { default as pl } from "./pl.json" export { default as fi } from "./fi.json" export { default as ru } from "./ru.json" +export { default as zh } from "./zh.json" diff --git a/src/locales/zh.json b/src/locales/zh.json new file mode 100644 index 000000000..b0aa3f8bf --- /dev/null +++ b/src/locales/zh.json @@ -0,0 +1,195 @@ +{ + "consent.action-accept": "允许", + "consent.action-reject": "拒绝", + "consent.description": "只有在您信任此网站或应用程序时才授予权限。您不需要接受所有权限。", + "consent.privacy-policy-label": "隐私政策", + "consent.remember-label": "记住此决定,下次不再询问。应用程序在未经您同意的情况下无法请求其他权限。", + "consent.remember-tooltip": "记住我的决定", + "consent.requested-permissions-label": "应用程序请求访问以下权限:", + "consent.terms-of-service-label": "服务条款", + "error.back-button": "返回", + "error.description": "发生错误,错误信息如下:", + "error.support-email-link": "如果问题仍然存在,请联系 {contactSupportEmail}", + "error.title": "发生错误", + "error.title-internal-server-error": "内部服务器错误", + "error.title-not-found": "404 - 页面未找到", + "identities.messages.1010001": "登录", + "identities.messages.1010002": "使用 {provider} 登录", + "identities.messages.1010003": "请确认此操作以验证您的身份。", + "identities.messages.1010004": "请完成二次身份验证。", + "identities.messages.1010005": "验证", + "identities.messages.1010006": "验证码", + "identities.messages.1010007": "备用恢复码", + "identities.messages.1010008": "使用硬件密钥登录", + "identities.messages.1010009": "使用身份验证器", + "identities.messages.1010010": "使用备用恢复码", + "identities.messages.1010011": "使用硬件密钥登录", + "identities.messages.1010012": "准备好您的 WebAuthn 设备(例如安全密钥、生物识别扫描仪等),然后继续。", + "identities.messages.1010013": "继续", + "identities.messages.1010014": "已向您提供的电子邮件地址发送了一封包含代码的电子邮件。如果您没有收到电子邮件,请检查地址拼写并重试登录。", + "identities.messages.1010015": "发送登录代码", + "identities.messages.1010016": "您尝试使用 \"{duplicateIdentifier}\" 登录,但该电子邮件已被另一个帐户使用。请使用以下选项之一登录您的帐户,以将您的帐户 \"{duplicateIdentifier}\" 添加为另一种登录方式。", + "identities.messages.1010017": "登录并链接", + "identities.messages.1010018": "使用 {provider} 确认", + "identities.messages.1010019": "请求代码以继续", + "identities.messages.1010021": "使用通行密钥登录", + "identities.messages.1010022": "使用密码登录", + "identities.messages.1010023": "发送代码到 {address}", + "identities.messages.1040001": "注册", + "identities.messages.1040002": "使用 {provider} 注册", + "identities.messages.1040003": "继续", + "identities.messages.1040004": "使用安全密钥注册", + "identities.messages.1040005": "已向您提供的电子邮件地址发送了一封包含代码的电子邮件。如果您没有收到电子邮件,请检查地址拼写并重试注册。", + "identities.messages.1040006": "发送注册代码", + "identities.messages.1040007": "使用通行密钥注册", + "identities.messages.1040008": "返回", + "identities.messages.1040009": "请选择一个凭证进行身份验证。", + "identities.messages.1050001": "您的更改已保存!", + "identities.messages.1050002": "链接 {provider}", + "identities.messages.1050003": "取消链接 {provider}", + "identities.messages.1050004": "取消链接 TOTP 身份验证器应用", + "identities.messages.1050005": "身份验证器应用二维码", + "identities.messages.1050006": "{secret}", + "identities.messages.1050007": "显示备用恢复码", + "identities.messages.1050008": "生成新的备用恢复码", + "identities.messages.1050009": "{secret}", + "identities.messages.1050010": "这些是您的备用恢复码。请将它们保存在安全的地方!", + "identities.messages.1050011": "确认备用恢复码", + "identities.messages.1050012": "添加安全密钥", + "identities.messages.1050013": "安全密钥名称", + "identities.messages.1050014": "密钥在 {used_at, date, long} 使用", + "identities.messages.1050015": "{secrets_list}", + "identities.messages.1050016": "禁用此方法", + "identities.messages.1050017": "这是您的身份验证器应用密钥。如果您无法扫描二维码,请使用它。", + "identities.messages.1050018": "移除安全密钥 \"{display_name}\"", + "identities.messages.1050019": "添加通行密钥", + "identities.messages.1050020": "移除通行密钥 \"{display_name}\"", + "identities.messages.1060001": "您已成功恢复帐户。请在接下来的 {privileged_session_expires_at_unix_until_minutes} 分钟内更改密码或设置替代登录方法(例如社交登录)。", + "identities.messages.1060002": "已向您提供的电子邮件地址发送了一封包含恢复链接的电子邮件。如果您没有收到电子邮件,请检查地址拼写并确保使用您注册的地址。", + "identities.messages.1060003": "已向您提供的电子邮件地址发送了一封包含恢复代码的电子邮件。如果您没有收到电子邮件,请检查地址拼写并确保使用您注册的地址。", + "identities.messages.1070001": "密码", + "identities.messages.1070002": "{title}", + "identities.messages.1070003": "保存", + "identities.messages.1070004": "ID", + "identities.messages.1070005": "提交", + "identities.messages.1070006": "验证代码", + "identities.messages.1070007": "电子邮件", + "identities.messages.1070008": "重新发送代码", + "identities.messages.1070009": "继续", + "identities.messages.1070010": "恢复码", + "identities.messages.1070011": "验证码", + "identities.messages.1070012": "注册代码", + "identities.messages.1070013": "登录代码", + "identities.messages.1070014": "登录并链接凭证", + "identities.messages.1070015": "请完成验证码挑战以继续。", + "identities.messages.1080001": "已向您提供的电子邮件地址发送了一封包含验证链接的电子邮件。如果您没有收到电子邮件,请检查地址拼写并确保使用您注册的地址。", + "identities.messages.1080002": "您已成功验证您的电子邮件地址。", + "identities.messages.1080003": "已向您提供的电子邮件地址发送了一封包含验证码的电子邮件。如果您没有收到电子邮件,请检查地址拼写并确保使用您注册的地址。", + "identities.messages.4000001": "{reason}", + "identities.messages.4000002": "缺少属性 {property}。", + "identities.messages.4000003": "长度必须 >= {min_length},但得到 {actual_length}", + "identities.messages.4000004": "不匹配模式 \"{pattern}\"", + "identities.messages.4000005": "密码不能使用,因为 {reason}。", + "identities.messages.4000006": "提供的凭证无效,请检查密码或用户名、电子邮件地址或电话号码的拼写错误。", + "identities.messages.4000007": "已存在具有相同标识符(电子邮件、电话、用户名等)的帐户。", + "identities.messages.4000008": "提供的验证码无效,请重试。", + "identities.messages.4000009": "找不到任何登录标识符。您是否忘记设置它们?这也可能是服务器配置错误导致的。", + "identities.messages.4000010": "帐户尚未激活。您是否忘记验证您的电子邮件地址?", + "identities.messages.4000011": "您没有设置 TOTP 设备。", + "identities.messages.4000012": "此备用恢复码已被使用。", + "identities.messages.4000013": "您没有设置 WebAuthn 设备。", + "identities.messages.4000014": "您没有设置备用恢复码。", + "identities.messages.4000015": "此帐户不存在或未设置安全密钥。", + "identities.messages.4000016": "备用恢复码无效。", + "identities.messages.4000017": "长度必须 <= {max_length},但得到 {actual_length}", + "identities.messages.4000018": "必须 >= {minimum} 但发现 {actual}", + "identities.messages.4000019": "必须 > {minimum} 但发现 {actual}", + "identities.messages.4000020": "必须 <= {maximum} 但发现 {actual}", + "identities.messages.4000021": "必须 < {maximum} 但发现 {actual}", + "identities.messages.4000022": "{actual} 不是 {base} 的倍数", + "identities.messages.4000023": "最多允许 {max_items} 项,但发现 {actual_items} 项", + "identities.messages.4000024": "最少需要 {min_items} 项,但发现 {actual_items} 项", + "identities.messages.4000025": "索引 {index_a} 和 {index_b} 处的项相等", + "identities.messages.4000026": "预期 {allowed_types_list},但得到 {actual_type}", + "identities.messages.4000027": "已存在具有相同标识符(电子邮件、电话、用户名等)的帐户。请登录您的现有帐户以链接您的社交资料。", + "identities.messages.4000028": "您尝试使用 {credential_identifier_hint} 登录,但该标识符已被另一个帐户使用。您可以使用 {available_credential_types_list} 登录。您可以使用以下社交登录提供商之一登录:{Available_oidc_providers_list}。", + "identities.messages.4000029": "必须等于常量 {expected}", + "identities.messages.4000030": "常量验证失败", + "identities.messages.4000031": "密码不能使用,因为它与标识符太相似。", + "identities.messages.4000032": "密码必须至少 {min_length} 个字符长,但得到 {actual_length}。", + "identities.messages.4000033": "密码最多只能 {max_length} 个字符长,但得到 {actual_length}。", + "identities.messages.4000034": "密码已在数据泄露中被发现,不能再使用。", + "identities.messages.4000035": "此帐户不存在或未设置代码登录。", + "identities.messages.4000036": "提供的特征与之前关联的特征不匹配。", + "identities.messages.4000037": "此帐户不存在或未配置登录方法。", + "identities.messages.4000038": "验证码验证失败,请重试。", + "identities.messages.4010001": "登录流程在 {expired_at_unix_since_minutes} 分钟前已过期,请重试。", + "identities.messages.4010002": "找不到登录策略。您是否正确填写了表单?", + "identities.messages.4010003": "找不到注册策略。您是否正确填写了表单?", + "identities.messages.4010004": "找不到更新设置的策略。您是否正确填写了表单?", + "identities.messages.4010005": "找不到恢复帐户的策略。您是否正确填写了表单?", + "identities.messages.4010006": "找不到验证帐户的策略。您是否正确填写了表单?", + "identities.messages.4010007": "请求已成功完成,无法重试。", + "identities.messages.4010008": "登录代码无效或已被使用。请重试。", + "identities.messages.4010009": "链接的凭证不匹配。", + "identities.messages.4010010": "您输入的地址与当前帐户中的任何已知地址不匹配。", + "identities.messages.4040001": "注册流程在 {expired_at_unix_since_minutes} 分钟前已过期,请重试。", + "identities.messages.4040002": "请求已成功完成,无法重试。", + "identities.messages.4040003": "注册代码无效或已被使用。请重试。", + "identities.messages.4050001": "设置流程在 {expired_at_unix_since_minutes} 分钟前已过期,请重试。", + "identities.messages.4060001": "请求已成功完成,无法重试。", + "identities.messages.4060002": "恢复流程已达到失败状态,必须重试。", + "identities.messages.4060004": "恢复令牌无效或已被使用。请重试流程。", + "identities.messages.4060005": "恢复流程在 {expired_at_unix_since_minutes} 分钟前已过期,请重试。", + "identities.messages.4060006": "恢复代码无效或已被使用。请重试。", + "identities.messages.4070001": "验证令牌无效或已被使用。请重试流程。", + "identities.messages.4070002": "请求已成功完成,无法重试。", + "identities.messages.4070003": "验证流程已达到失败状态,必须重试。", + "identities.messages.4070005": "验证流程在 {expired_at_unix_since_minutes} 分钟前已过期,请重试。", + "identities.messages.4070006": "验证代码无效或已被使用。请重试。", + "identities.messages.5000001": "{reason}", + "login.cancel-button": "取消", + "login.cancel-label": "不是正确的帐户?", + "login.forgot-password": "忘记密码?", + "login.logged-in-as-label": "您正在使用:", + "login.logout-button": "退出登录", + "login.logout-label": "有问题?", + "login.registration-button": "注册", + "login.registration-label": "没有帐户?", + "login.subtitle-oauth2": "验证 {clientName}", + "login.title": "登录", + "login.title-aal2": "双因素认证", + "login.title-refresh": "确认是您", + "logout.accept-button": "是", + "logout.reject-button": "否", + "logout.title": "您要退出登录吗?", + "recovery.login-button": "登录", + "recovery.login-label": "记得您的凭证?", + "recovery.title": "恢复您的帐户", + "registration.login-button": "登录", + "registration.login-label": "已有帐户?", + "registration.subtitle-oauth2": "验证 {clientName}", + "registration.title": "注册帐户", + "settings.navigation-back-button": "返回", + "settings.navigation-backup-codes": "2FA 备用恢复码", + "settings.navigation-logout": "退出登录", + "settings.navigation-oidc": "社交登录", + "settings.navigation-passkey": "通行密钥", + "settings.navigation-password": "密码", + "settings.navigation-profile": "个人资料", + "settings.navigation-totp": "身份验证器应用", + "settings.navigation-webauthn": "硬件令牌", + "settings.subtitle-instructions": "在这里,您可以管理与帐户相关的设置。请注意,某些操作需要重新验证。", + "settings.title": "帐户设置", + "settings.title-lookup-secret": "管理 2FA 备用恢复码", + "settings.title-navigation": "帐户设置", + "settings.title-oidc": "社交登录", + "settings.title-passkey": "管理通行密钥", + "settings.title-password": "更改密码", + "settings.title-profile": "个人资料设置", + "settings.title-totp": "管理 2FA TOTP 身份验证器应用", + "settings.title-webauthn": "管理硬件令牌", + "verification.registration-button": "注册", + "verification.registration-label": "没有帐户?", + "verification.title": "验证您的帐户" +}