From a1428a41041d4af573ab6245405dd970be9819a3 Mon Sep 17 00:00:00 2001 From: leo77534 Date: Wed, 1 May 2024 22:21:47 +1000 Subject: [PATCH 1/2] feat: add translations for zh-Hans. --- zh-Hans/auth.json | 314 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 314 insertions(+) create mode 100644 zh-Hans/auth.json diff --git a/zh-Hans/auth.json b/zh-Hans/auth.json new file mode 100644 index 0000000..8a9ac5c --- /dev/null +++ b/zh-Hans/auth.json @@ -0,0 +1,314 @@ +{ + "spec": { + "language": "zh-Hans", + "version": 1, + "section": "auth" + }, + "translations": { + "base_layout": { + "logo_alt": "${business_name} logo", + "credit_powered_by": "支持", + "credit_logo_link": "访问Kinde", + "skip_link_main": "跳至主要内容" + }, + "mfa_sms_page": { + "page_title": "请输入电话号码 | ${business_name}", + "heading": "通过短信验证", + "description": "添加电话号码以通过短信接收验证码", + "continue_button": "继续", + "phone_input_label": "电话号码", + "phone_input_help_text": "省略开头的0", + "phone_input_error_required": "请输入电话号码", + "phone_input_error_invalid_region": "号码对该地区无效", + "phone_input_error_invalid_format": "仅输入不带空格的数字,不包括开头的0", + "country_input_label": "国家或地区", + "country_input_error_invalid": "需要有效的国家/地区", + "choose_another_method_link": "选择其他方法" + }, + "mfa_email_page": { + "page_title": "请输入邮箱地址 | ${business_name}", + "heading": "通过邮箱进行身份验证", + "description": "添加邮箱以通过电子邮件接收验证码", + "continue_button": "继续", + "email_input_label": "邮箱", + "email_input_error_required": "邮箱不能留空", + "email_input_error_invalid": "输入一个有效的邮箱地址", + "email_input_error_email_in_use": "这个邮箱已经有人用了" + }, + "auth_error_page": { + "page_title": "授权错误", + "heading": "授权错误" + }, + "secret_page": { + "page_title": "主页 | ${business_name}", + "heading": "欢迎来到 ${business_name}", + "description": "这里还没有什么可看的。 但一个很棒的主页即将推出。", + "sign_in_button": "登录", + "manage_business_button": "管理 ${business_name} 账户" + }, + "sign_in_page": { + "page_title": "登录 | ${business_name}", + "heading": "欢迎回来", + "description": "请输入您的邮箱,我们将发送登录码。", + "email_input_label": "邮箱", + "email_input_error_invalid": "请输入有效的邮箱", + "email_input_error_required": "邮箱为必填项", + "email_input_error_invitation_mismatch": "该邮箱必须与您发送邀请的邮箱一致", + "email_input_error_no_account_found": "未找到此邮箱的帐户", + "auth_form_error_no_auth_methods_enabled": "抱歉,我们目前无法对您进行身份验证。", + "continue_with_email_button": "继续", + "auth_block_separator": "或者", + "continue_with_social_provider_button": "用 ${social_provider_name} 继续", + "continue_with_enterprise_provider_button": "用 ${enterprise_provider_name} 继续", + "no_account_description": "没有账号?", + "no_account_link": "创建一个" + }, + "sign_up_page": { + "page_title": "注册 | ${business_name}", + "heading": "创建一个帐户", + "description": "很高兴有你在这里", + "invitation_description": "您已受邀加入${business_name}。 请登录或注册以接受邀请。", + "first_name_input_label": "名字", + "first_name_input_error_required": "请输入您的名字", + "last_name_input_label": "姓氏", + "last_name_input_error_required": "请输入您的姓氏", + "email_input_label": "邮箱", + "email_input_error_required": "邮箱为必填项", + "email_input_error_invalid": "请输入有效的邮箱", + "email_input_error_invitation_mismatch": "该邮箱必须与您发送邀请的邮箱一致", + "continue_with_email_button": "创建一个帐户", + "auth_block_separator": "或者", + "continue_with_social_provider_button": "用 ${social_provider_name} 继续", + "continue_with_enterprise_provider_button": "用 ${enterprise_provider_name} 继续", + "already_have_an_account_description": "已有账户?", + "already_have_an_account_link": "登录", + "disclaimer": "继续即表示您同意我们的政策", + "disclaimer_privacy_link": "隐私政策", + "disclaimer_terms_of_use_link": "使用条款", + "disclaimer_clickwrap_input_label": "接受政策", + "disclaimer_clickwrap_error_required": "您必须阅读并接受政策才能继续", + "disclaimer_dialog_heading": "Accept to continue", + "disclaimer_dialog_description": "要继续注册,我们需要您阅读并接受我们的政策", + "auth_form_error_terms_not_accepted": "您必须阅读并接受政策才能继续", + "auth_form_error_no_auth_methods_enabled": "抱歉,我们目前无法对您进行身份验证。", + "auth_form_error_org_not_accepting_registrations": "指定机构不接受登记" + }, + "choose_mfa_method_page": { + "page_title": "选择 MFA 选项 | ${business_name}", + "heading": "验证您的身份", + "description": "选择身份验证方法", + "authenticator_app_button": "身份验证应用程序", + "sms_button": "短信", + "email_button": "邮箱", + "do_not_use_mfa_link": "不要使用多重身份验证" + }, + "account_locked_page": { + "page_title": "帐户被锁定 | ${business_name}", + "heading": "帐户被锁定", + "description": "您输入错误验证码的次数过多,您的帐户已被锁定 ${lockout_duration_minutes} 分钟", + "go_back_button": "返回" + }, + "password_setup_page": { + "page_title": "设置密码 | ${business_name}", + "heading": "设置密码", + "description": "请设置您的密码。", + "password_input_label": "密码", + "password_input_error_too_common": "这个密码很常见。 请让它更难猜测。", + "password_input_error_too_short": "密码必须至少为 8 个字符", + "password_input_error_extra_space": "密码不能以空格开头或结尾", + "confirm_password_input_label": "确认密码", + "confirm_password_input_error_mismatch": "请确保密码相同", + "continue_button": "继续", + "password_input_error_unknown_error": "身份验证错误" + }, + "recovery_codes_page": { + "page_title": "恢复验证码 | ${business_name}", + "heading": "快完成了", + "description": "复制这些恢复验证码并将其保存在安全的地方。 如果您需要在没有设备的情况下登录,您将需要它们。", + "copy_button": "全选复制", + "print_button": "打印", + "continue_button": "继续", + "download_button": "下载 .txt", + "recovery_codes_page_error_no_codes": "没有可显示的验证码", + "recovery_codes_page_error_already_viewed": "您似乎已经查看过一次恢复验证码,因此我们无法再次显示它们。 如果您需要登录方面的帮助,请联系您的帐户管理员。", + "back_home_button": "回到主页" + }, + "subscribe_form_widget": { + "page_title": "订阅", + "heading": "获悉最新动态", + "description": "接收我们关于产品更新、新闻和活动的信息", + "name_input_label": "名字", + "name_input_error_required": "请输入姓名", + "name_input_error_exceeds_max_length": "名称太长", + "email_input_label": "邮箱", + "email_input_error_invalid": "请输入有效的邮箱", + "email_input_error_required": "邮箱为必填项", + "email_input_error_duplicate_email_found": "此邮箱已订阅", + "continue_button": "注册", + "success_heading": "成功! 您会接收最新消息.", + "credit_powered_by": "提供支持" + }, + "password_verify_page": { + "page_title": "验证密码 | ${business_name}", + "heading": "请输入您的密码", + "description": "请输入 ${email_address} 的密码", + "password_input_label": "密码", + "password_input_error_required": "请输入您的密码", + "password_input_error_incorrect": "请提供有效的密码", + "password_input_error_too_short": "密码必须至少为 8 个字符", + "password_input_error_unknown_error": "身份验证错误", + "continue_button": "继续", + "cant_sign_in_description": "无法登录?", + "cant_sign_in_link": "重置密码" + }, + "sms_verify_code_page": { + "page_title": "多重身份验证 | ${business_name}", + "heading": "验证电话号码", + "description": "输入我们刚刚发送到 ${phone_number} 的验证码", + "code_input_label": "验证码", + "code_input_error_expired_code": "您的验证码已过期,请获取新的", + "code_input_error_incorrect_code": "请输入有效的验证码", + "code_input_error_incorrect_code_length": "验证码应为 6 位", + "code_input_error_resend_requested_too_soon": "目前无法发送另一个验证码。请稍后重试", + "confirmation_code_input_error_unknown_error": "身份验证错误", + "continue_button": "验证", + "didnt_receive_a_code_description": "没有收到验证码?", + "didnt_receive_a_code_link": "重新发送验证码", + "choose_another_method_link": "选择其他方法" + }, + "recovery_code_verify_page": { + "page_title": "使用恢复验证码 | ${business_name}", + "heading": "恢复验证码", + "description": "请输入您在初始注册期间提供的恢复验证码之一。", + "recovery_code_input_label": "恢复验证码", + "continue_button": "继续", + "choose_another_method_link": "选择其他方法", + "recovery_code_input_error_unknown_error": "使用该恢复验证码进行身份验证时出现问题", + "recovery_code_input_error_required": "请输入您的恢复验证码", + "recovery_code_input_error_too_short": "请输入至少 9 个字符长的恢复验证码", + "recovery_code_input_error_invalid": "请输入有效的恢复验证码" + }, + "verification_code_sms": { + "description": "${generated_code} 是您登录 ${business_name}\n\n@${receiver_domain} #${generated_code}的一次性验证码" + }, + "choose_organization_page": { + "page_title": "请选择组织 | ${business_name}", + "heading": "您想在哪里登录?", + "choose_org_select_label": "让我登录", + "choose_org_select_error_invalid": "组织无效", + "continue_button": "继续" + }, + "request_access_page": { + "page_title": "收到通知", + "heading": "我们会及时通知您最新情况,并在可以访问时发送邀请", + "description": "我们会及时通知您最新情况,并在您的邀请准备就绪时通知您", + "continue_button": "请求访问权限", + "success_heading": "感谢您请求访问。我们已将您添加到我们的列表中,并将很快发送更新。", + "first_name_input_label": "名字", + "first_name_input_error_required": "请输入您的名字", + "last_name_input_label": "姓氏", + "email_input_label": "邮箱", + "email_input_error_invalid": "请输入有效的邮箱", + "email_input_error_required": "邮箱为必填项", + "email_input_error_duplicate_email_found": "该邮箱已被注册", + "success_description": "感谢您请求访问 ${business_name}。我们已将您添加到我们的订阅者列表中,并会在收到邀请后立即通知您。", + "success_link_url": "返回${business_name}的网站" + }, + "sign_in_confirm_code_page": { + "page_title": "验证码 | ${business_name}", + "heading": "检查您的邮箱", + "description": "请输入我们刚刚发送到${email_address}的验证码", + "resent_code": "我们刚刚向 ${email_address} 发送了一个新验证码", + "code_input_label": "验证码", + "code_input_error_expired_code": "您的验证码已过期,请获取新的", + "code_input_error_incorrect_code": "请输入有效的验证码", + "code_input_error_incorrect_code_length": "验证码应为 6 位", + "code_input_error_resend_requested_too_soon": "目前无法发送另一个验证码。请稍后重试", + "continue_button": "继续", + "didnt_receive_a_code_link": "重新发送验证码", + "didnt_receive_a_code_description": "没有收到验证码?", + "warning_too_many_incorrect_attempts": "输入了太多错误验证码,因此我们向 ${email_address} 发送了一个新验证码", + "choose_another_method_link": "选择其他方法" + }, + "sign_up_confirm_code_page": { + "page_title": "验证码 | ${business_name}", + "heading": "检查您的邮箱", + "description": "请输入我们刚刚发送到${email_address}的验证码", + "finish_sign_up_code_description": "如想继续, 请输入我们刚刚发送到${email_address}的验证码", + "continue_sign_up_code_description": "如想继续, 请输入我们刚刚发送到${email_address}的验证码", + "resent_code": "我们刚刚向 ${email_address} 发送了一个新验证码", + "code_input_label": "验证码", + "code_input_error_expired_code": "您的验证码已过期,请获取新的", + "code_input_error_incorrect_code": "请输入有效的验证码", + "code_input_error_incorrect_code_length": "验证码应为 6 位", + "code_input_error_resend_requested_too_soon": "目前无法发送另一个验证码。请稍后重试", + "didnt_receive_a_code_description": "没有收到验证码?", + "didnt_receive_a_code_link": "重新发送验证码", + "continue_button": "继续", + "warning_too_many_incorrect_attempts": "输入的错误验证码过多,因此我们刚刚向 ${email_address} 发送了一个新验证码", + "choose_another_method_link": "选择其他方法" + }, + "authenticator_app_manual_page": { + "page_title": "验证应用程序 | ${business_name}", + "heading": "验证应用程序", + "description": "在您的验证应用程序中输入以下验证码。然后输入您收到的一次性验证码。", + "code_input_label": "一次性验证码", + "code_input_error_required": "请输入有效的验证码", + "code_input_error_expired_code": "您的验证码已过期,请获取新的", + "code_input_error_incorrect_code_length": "验证码必须为 6 位", + "code_input_error_incorrect_code": "请输入有效的验证码", + "continue_button": "继续", + "choose_another_method_link": "选择其他方法" + }, + "authenticator_app_qr_code_page": { + "page_title": "Multi-factor authentication | ${business_name}", + "heading": "验证应用程序", + "description": "使用您的验证应用程序扫描下面的二维码。 然后输入您收到的一次性验证码。", + "verified_authentication_app_description": "打开您已验证的应用程序并输入以下验证码", + "code_input_label": "一次性验证码", + "code_input_error_required": "请输入有效的验证码", + "code_input_error_expired_code": "您的验证码已过期,请获取新的", + "code_input_error_incorrect_code": "请输入有效的验证码", + "code_input_error_incorrect_code_length": "验证码必须为 6 位", + "continue_button": "继续", + "trouble_scanning_link": "扫描时遇到问题?", + "choose_another_method_link": "选择其他方法" + }, + "email_address_verification_email": { + "email_body": "此验证码将在 2 小时后过期。如果您认为自己不应该收到这封邮件,可以安全地忽略它。", + "email_preview": "请使用下面的验证码确认您的邮箱地址并继续${business_name}", + "email_subject": "邮箱验证码", + "email_greeting": "你好,", + "email_disclaimer": "您收到这封邮件是因为您向 ${business_name} 请求了验证码" + }, + "general_errors": { + "account_not_found": "找不到帐户。", + "action_allowed_only_once": "请求的操作只能执行一次。", + "no_organization_access": "抱歉,您无权访问该组织。", + "operation_not_permitted": "无法完成请求的操作。" + }, + "account_not_found_page": { + "page_title": "找不到帐户。", + "heading": "我们找不到您的帐户", + "description": "我们需要更多详细信息来完成您的帐户。", + "description_sign_ups_disabled": "尝试使用不同的帐户或登录选项", + "description_social": "您想使用您的 ${social_provider_name} 帐户创建一个新帐户吗?", + "description_credential": "您想立即使用 ${credential} 创建一个新帐户吗?", + "continue_button": "创建帐户", + "back_button": "返回登录", + "sign_in_another_way_separator": "或者", + "sign_in_another_way_link": "以另一种方式登录" + }, + "phone_number_component": { + "phone_input_label": "电话号码", + "country_select_label": "国家/地区", + "use_email_link": "切换到邮箱", + "use_phone_link": "切换到电话号码", + "phone_input_error_sms_limit_reached": "无法发送验证码。短信服务未设置。请使用其他方法登录。", + "phone_input_error_invalid_country_code": "国家/地区代码无效。从国家/地区列表中选择。", + "phone_input_error_required": "电话号码不能留空", + "phone_input_error_invalid_format": "请输入有效的号码,不带空格或国家/地区码", + "phone_input_error_no_account_found": "未找到使用此电话号码的帐户" + } + } +} From e5adf7e8b005891a8b5d0eb9f4319e7d18b61c7b Mon Sep 17 00:00:00 2001 From: leo77534 <68187502+leo77534@users.noreply.github.com> Date: Wed, 1 May 2024 22:22:43 +1000 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f4380e6..f5c064f 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ Where you see ${some_text} this is variable text our system automatically genera | uz | Uzbek | | vi | Vietnamese | | zh | Chinese | -| zh-Hans | Simplified Chinese | +| zh-Hans | Simplified Chinese |✅ | zh-Hant | Traditional Chinese | | zu | Zulu |