diff --git a/resources/lang/zh/admin.php b/resources/lang/zh/admin.php index 9f082bbd..c49ff4cd 100644 --- a/resources/lang/zh/admin.php +++ b/resources/lang/zh/admin.php @@ -112,7 +112,7 @@ ], 'use_sso_only' => [ 'label' => '仅使用 SSO', - 'help' => 'Make SSO the only available method to log in to 2FAuth. Password login and Webauthn are then disabled for regular users. Administrators are not affected by this restriction.', + 'help' => '仅允许通过 SSO。启用此功能后,普通用户将无法使用密码和 WebAuthn 登录到 2FAuth,但管理员不受此限制的影响。', ], 'keep_sso_registration_enabled' => [ 'label' => '保持启用 SSO 注册', @@ -128,8 +128,8 @@ 'email_will_be_send_to_x' => '邮件将被发送到 :email', ], 'health_endpoint' => [ - 'label' => 'Health endpoint', - 'help' => 'URL you can visit to check the health of this 2FAuth instance. This URL can be used to set up a Docker HEALTHCHECK or a Kubernetes HTTPS Liveness probe.', + 'label' => '节点健康检查', + 'help' => '您可以访问此 URL 来检查此 2FAuth 实例的健康状况。您可以在 Docker 的 HEALTHCKECK,或 Kubernetes 的 HTTPS Liveness 探针中使用此 URL 来进行健康检查。', ], 'cache_management' => [ 'label' => '缓存管理', diff --git a/resources/lang/zh/auth.php b/resources/lang/zh/auth.php index be46d1de..614bb70b 100644 --- a/resources/lang/zh/auth.php +++ b/resources/lang/zh/auth.php @@ -22,14 +22,14 @@ 'sign_out' => '退出', 'sign_in' => '登录', 'sign_in_using' => '登录方式:', - 'if_administrator' => 'Administrator?', - 'sign_in_here' => 'You can sign without SSO', + 'if_administrator' => '您是管理员吗?', + 'sign_in_here' => '您可以不使用 SSO 登录', 'or_continue_with' => '您也可以使用:', - 'password_login_and_webauthn_are_disabled' => 'Password login and WebAuthn are disabled.', - 'sign_in_using_sso' => 'Pick an SSO provider to sign in with:', - 'no_provider' => 'no provider', - 'no_sso_provider_or_provider_is_missing' => 'Provider is missing?', - 'see_how_to_enable_sso' => 'See how to enable a provider', + 'password_login_and_webauthn_are_disabled' => '密码与 WebAuthn 登录已禁用。', + 'sign_in_using_sso' => '选择一个 SSO 渠道来登录:', + 'no_provider' => '暂无选项', + 'no_sso_provider_or_provider_is_missing' => '找不到提供方?', + 'see_how_to_enable_sso' => '看看如何启用提供方', 'sign_in_using_security_device' => '使用安全设备登录', 'login_and_password' => '用户名和密码', 'register' => '注册', @@ -41,7 +41,7 @@ 'maybe_later' => '以后再说', 'user_account_controlled_by_proxy' => '此账户由身份代理提供。
请在身份代理中进行管理。', 'auth_handled_by_proxy' => '账户验证已被身份代理接管,下列设置已被禁用。
请在身份代理中进行管理。', - 'sso_only_x_settings_are_disabled' => 'Authentication is restricted to SSO only, :auth_method is disabled', + 'sso_only_x_settings_are_disabled' => '仅允许通过 SSO 进行身份鉴权,:auth_method 已被禁用', 'confirm' => [ 'logout' => '您确定要退出吗?', 'revoke_device' => '您确定要删除此设备吗?', @@ -87,7 +87,7 @@ 'name' => '用户名', 'login' => '登录', 'webauthn_login' => '使用 WebAuthn 登录', - 'sso_login' => 'SSO login', + 'sso_login' => 'SSO 登录', 'email' => '邮箱', 'password' => '密码', 'reveal_password' => '显示密码', @@ -103,7 +103,7 @@ 'reset_your_password' => '重置您的密码', 'reset_password' => '重置密码', 'disabled_in_demo' => '此功能在演示模式下被禁用', - 'sso_only_form_restricted_to_admin' => 'Regular users must sign in with SSO. Other methods are for administrators only.', + 'sso_only_form_restricted_to_admin' => '普通用户必须使用 SSO 登录,仅有管理员可选用其他登录选项。', 'new_password' => '新密码', 'current_password' => [ 'label' => '当前密码', @@ -135,7 +135,7 @@ 'caps_lock_is_on' => '大写锁定已打开', ], 'sso_providers' => [ - 'unknown' => 'unknown', + 'unknown' => '未知', 'github' => 'Github', 'openid' => 'OpenID' ] diff --git a/resources/lang/zh/errors.php b/resources/lang/zh/errors.php index d0981ce1..2ac5988c 100644 --- a/resources/lang/zh/errors.php +++ b/resources/lang/zh/errors.php @@ -43,8 +43,8 @@ '2fauth_has_not_a_valid_domain' => '2FAuth 的域名无效', 'user_id_not_between_1_64' => '用户 ID 需为 1 至 64 个字符内', 'no_entry_was_of_type_public_key' => '没有类型为 “公钥” 的条目', - 'unsupported_with_reverseproxy' => 'Not applicable when using an auth proxy or SSO', - 'unsupported_with_sso_only' => 'This authentication method is for administrators only. Users must log in with SSO.', + 'unsupported_with_reverseproxy' => '当身份代理或 SSO 启用时不可用', + 'unsupported_with_sso_only' => '仅管理员允许使用此鉴权方式,普通用户必须使用 SSO 登录。', 'user_deletion_failed' => '账户删除失败,数据未被删除', 'auth_proxy_failed' => '身份代理认证失败', 'auth_proxy_failed_legend' => '已为 2FAuth 配置了前置的身份代理,但身份代理并没有返回正确的请求头,请检查您的配置并重试。', diff --git a/resources/lang/zh/twofaccounts.php b/resources/lang/zh/twofaccounts.php index 26279495..9ff4b930 100644 --- a/resources/lang/zh/twofaccounts.php +++ b/resources/lang/zh/twofaccounts.php @@ -61,8 +61,8 @@ 'i_m_lucky_legend' => '“手气不错” 功能可以尝试获取此服务的官方图标。若要提高成功率,请在 “服务名称” 栏中以英文输入服务名。(测试中的功能)', 'test' => '测试', 'group' => [ - 'label' => 'Group', - 'help' => 'The group to which the account is to be assigned' + 'label' => '分组', + 'help' => '此账户要移动到的组' ], 'secret' => [ 'label' => '密钥', diff --git a/resources/lang/zh/validation.php b/resources/lang/zh/validation.php index 662e0527..882afa56 100644 --- a/resources/lang/zh/validation.php +++ b/resources/lang/zh/validation.php @@ -143,7 +143,7 @@ 'single' => '当使用 :attribute 时,请求的数据包中只能包含这一种参数。', 'onlyCustomOtpWithUri' => '“uri” 参数必须单独提供,或与 “custom_otp” 参数同时提供。', - 'IsValidRegex' => 'The :attribute must be a valid regex pattern.', + 'IsValidRegex' => ':attribute 必须是正确的 regex 表达式。', /* |--------------------------------------------------------------------------