From 7eca7e9b27bc0cd53cf215eb42e967fa7d3ab4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?qzn=20to=20fb=E2=80=99s=20nj12?= <100760086+qznfbnj@users.noreply.github.com> Date: Thu, 4 Jul 2024 20:50:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AF=8D=E6=9D=A1=EF=BC=9A?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=20-=20=E8=AE=BE=E5=A4=87=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=20(#223)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: qzn to fb’s nj12 <100760086+qznfbnj@users.noreply.github.com> --- locals.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/locals.js b/locals.js index 32fa38520..820a36655 100644 --- a/locals.js +++ b/locals.js @@ -14271,6 +14271,19 @@ I18N.zh["session-authentication"] = { // 登录页 包含(/login, /session, /ses "Uh oh, we couldn't find anything": "呃,我们找不到任何东西", "Please make sure you entered the user code correctly.": "请确保您输入正确的用户代码。", + // 设备验证 https://github.com/sessions/verified-device + "Device verification": "设备验证", + "Email": "电子邮件", + "Device Verification Code": "设备验证码", + "Having trouble verifying via email?": "通过电子邮件验证时遇到问题?", + "Re-send the authentication code": "重新发送验证码", + "Try GitHub Mobile for simplified device verification": "尝试 GitHub Mobile 的简化设备验证", + "If you'd like to require verification on every sign in, consider enabling": "如果您想在每次登录时都要求进行验证,请考虑在您的账户上启用", + "two-factor authentication": "双因素身份验证", + "on your account.": "。", + // 黄色横幅 + "Incorrect verification code provided.": "提供的验证码错误。", + // 双因素身份验证登录 https://github.com/sessions/two-factor/app // "Learn more": "了解更多", // "Learn more.": "了解更多。", @@ -14622,6 +14635,9 @@ I18N.zh["session-authentication"] = { // 登录页 包含(/login, /session, /ses [/(\d+) devices?/, "$1 设备"], [/You will receive one-time codes at this phone number:/, "您将通过以下电话号码收到一次性验证码:"], // 已设置短信/文字信息 [/Continue as (.*)/, "以 $1 身份继续使用"], + + // 设备验证 https://github.com/sessions/verified-device + [/We just sent your authentication code via email to (.*)\. The code will expire at (.*)\./, "我们刚刚通过电子邮件将您的验证码发送给 $1。验证码将于 $2 过期。"], ], }; I18N.zh.login = I18N.zh["session-authentication"];