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..18e56c521 --- /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": "使用 Authenticator", + "identities.messages.1010010": "使用备份恢复码", + "identities.messages.1010011": "使用硬件密钥登录", + "identities.messages.1010012": "请准备好您的身份验证设备(如安全密钥、指纹识别器等)并继续。", + "identities.messages.1010013": "继续", + "identities.messages.1010014": "验证码已发送至您的邮箱。如果未收到,请检查邮箱地址是否正确后重新登录。", + "identities.messages.1010015": "发送登录代码", + "identities.messages.1010016": "您尝试使用 \"{duplicateIdentifier}\" 登录,但该邮箱已被其他账户使用。请选择以下方式之一登录您在 \"{provider}\" 的账户。", + "identities.messages.1010017": "登录并链接", + "identities.messages.1010018": "使用 {provider} 确认", + "identities.messages.1010019": "请求代码继续", + "identities.messages.1010021": "使用 passkey 登录", + "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": "使用 passkey 注册", + "identities.messages.1040008": "返回", + "identities.messages.1040009": "请选择凭证来验证您自己。", + "identities.messages.1050001": "您的更改已保存!", + "identities.messages.1050002": "链接 {provider}", + "identities.messages.1050003": "取消链接 {provider}", + "identities.messages.1050004": "取消链接 TOTP Authenticator 应用程序", + "identities.messages.1050005": "Authenticator 应用程序 QR 码", + "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": "这是您的 Authenticator 应用程序密钥。如果您无法扫描 QR 码,请使用它。", + "identities.messages.1050018": "删除安全密钥 \"{display_name}\"", + "identities.messages.1050019": "添加 passkey", + "identities.messages.1050020": "删除 passkey \"{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": "const 失败", + "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": "无法使用 {credential_identifier_hint} 登录,请检查输入是否正确。", + "identities.messages.4010003": "无法找到策略来使用 {credential_identifier_hint} 注册。您是否正确写了表格?", + "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": "Passkeys", + "settings.navigation-password": "密码", + "settings.navigation-profile": "个人资料", + "settings.navigation-totp": "Authenticator 应用程序", + "settings.navigation-webauthn": "硬件令牌", + "settings.subtitle-instructions": "在这里您可以管理账户设置。注意:某些操作可能需要重新验证身份。", + "settings.title": "账户设置", + "settings.title-lookup-secret": "管理 2FA 备份恢复码", + "settings.title-navigation": "账户设置", + "settings.title-oidc": "社交登录", + "settings.title-passkey": "管理 Passkeys", + "settings.title-password": "更改密码", + "settings.title-profile": "个人资料设置", + "settings.title-totp": "管理 2FA TOTP Authenticator 应用程序", + "settings.title-webauthn": "管理硬件令牌", + "verification.registration-button": "注册", + "verification.registration-label": "没有账户?", + "verification.title": "验证您的账户" +} \ No newline at end of file