Skip to content

Commit

Permalink
Improve Chinese translation (#457)
Browse files Browse the repository at this point in the history
* Improve Chinese translation

* check %(...)s suffix
  • Loading branch information
zxjlm committed Mar 9, 2021
1 parent fa58df4 commit 7908ef1
Showing 1 changed file with 60 additions and 60 deletions.
120 changes: 60 additions & 60 deletions flask_security/translations/zh_Hans_CN/LC_MESSAGES/flask_security.po
Expand Up @@ -57,27 +57,27 @@ msgstr "密码重置"

#: flask_security/core.py:218
msgid "Two-factor Login"
msgstr ""
msgstr "双因素认证登录"

#: flask_security/core.py:219
msgid "Two-factor Rescue"
msgstr ""

#: flask_security/core.py:263
msgid "Verification Code"
msgstr ""
msgstr "验证码"

#: flask_security/core.py:278
msgid "Input not appropriate for requested API"
msgstr ""
msgstr "输入信息不适合所请求的API"

#: flask_security/core.py:279
msgid "You do not have permission to view this resource."
msgstr "你无权查看此资源!"

#: flask_security/core.py:281
msgid "You are not authenticated. Please supply the correct credentials."
msgstr ""
msgstr "你还没有通过认证。请提供正确的凭证。"

#: flask_security/core.py:285
#, fuzzy
Expand Down Expand Up @@ -201,23 +201,23 @@ msgstr "此账户未设置密码"
#: flask_security/core.py:353
#, python-format
msgid "Password must be at least %(length)s characters"
msgstr ""
msgstr "密码至少包含%(length)s个字符"

#: flask_security/core.py:356
msgid "Password not complex enough"
msgstr ""
msgstr "密码不够复杂"

#: flask_security/core.py:357
msgid "Password on breached list"
msgstr ""
msgstr "密码在易被泄露名单上"

#: flask_security/core.py:359
msgid "Failed to contact breached passwords site"
msgstr ""
msgstr "未能连通检测易泄露密码的网站"

#: flask_security/core.py:362
msgid "Phone number not valid e.g. missing country code"
msgstr ""
msgstr "手机号码非法。例如: 缺少国家代码"

#: flask_security/core.py:363
msgid "Specified user does not exist"
Expand All @@ -229,7 +229,7 @@ msgstr "密码不正确"

#: flask_security/core.py:365
msgid "Password or code submitted is not valid"
msgstr ""
msgstr "提交的密码或代码无效"

#: flask_security/core.py:366
msgid "You have successfully logged in."
Expand Down Expand Up @@ -263,61 +263,61 @@ msgstr "请重新进行身份验证,以访问此页面。"

#: flask_security/core.py:382
msgid "Reauthentication successful"
msgstr ""
msgstr "成功进行重新认证"

#: flask_security/core.py:384
msgid "You can only access this endpoint when not logged in."
msgstr ""
msgstr "您只能在未登录时访问此端点。"

#: flask_security/core.py:387
msgid "Failed to send code. Please try again later"
msgstr ""
msgstr "发送代码失败。请稍后再试"

#: flask_security/core.py:388
msgid "Invalid Token"
msgstr ""
msgstr "无效的令牌"

#: flask_security/core.py:389
msgid "Your token has been confirmed"
msgstr ""
msgstr "令牌已被确认"

#: flask_security/core.py:391
msgid "You successfully changed your two-factor method."
msgstr ""
msgstr "你成功改变了你的双因素验证方法。"

#: flask_security/core.py:395
msgid "You currently do not have permissions to access this page"
msgstr ""
msgstr "你现在还没有权限访问这个页面"

#: flask_security/core.py:398
msgid "Marked method is not valid"
msgstr ""
msgstr "选择的方法无效"

#: flask_security/core.py:400
msgid "You successfully disabled two factor authorization."
msgstr ""
msgstr "你成功地禁用了双因素授权。"

#: flask_security/core.py:403
msgid "Requested method is not valid"
msgstr ""
msgstr "非法的请求方法"

#: flask_security/core.py:405
#, python-format
msgid "Setup must be completed within %(within)s. Please start over."
msgstr ""
msgstr "必须在%(within)s内完成设置。请重新开始。"

#: flask_security/core.py:408
msgid "Unified sign in setup successful"
msgstr ""
msgstr "统一登录设置成功"

#: flask_security/core.py:409
msgid "You must specify a valid identity to sign in"
msgstr ""
msgstr "您必须指定一个有效的身份才能登录"

#: flask_security/core.py:410
#, python-format
msgid "Use this code to sign in: %(code)s."
msgstr ""
msgstr "使用此代码登录:%(code)s"

#: flask_security/forms.py:53
msgid "Email Address"
Expand All @@ -341,7 +341,7 @@ msgstr "登录"
#: flask_security/templates/security/email/us_instructions.html:8
#: flask_security/templates/security/us_signin.html:6
msgid "Sign In"
msgstr ""
msgstr "登录"

#: flask_security/forms.py:58 flask_security/templates/security/_menu.html:11
#: flask_security/templates/security/register_user.html:6
Expand Down Expand Up @@ -378,39 +378,39 @@ msgstr "发送登录链接"

#: flask_security/forms.py:66
msgid "Verify Password"
msgstr ""
msgstr "验证密码"

#: flask_security/forms.py:67
msgid "Change Method"
msgstr ""

#: flask_security/forms.py:68
msgid "Phone Number"
msgstr ""
msgstr "手机号"

#: flask_security/forms.py:69
msgid "Authentication Code"
msgstr ""
msgstr "授权码"

#: flask_security/forms.py:70
msgid "Submit"
msgstr ""
msgstr "提交"

#: flask_security/forms.py:71
msgid "Submit Code"
msgstr ""
msgstr "提交代码"

#: flask_security/forms.py:72
msgid "Error(s)"
msgstr ""
msgstr "错误"

#: flask_security/forms.py:73
msgid "Identity"
msgstr ""

#: flask_security/forms.py:74
msgid "Send Code"
msgstr ""
msgstr "发送代码"

#: flask_security/forms.py:75
msgid "Passcode"
Expand All @@ -426,31 +426,31 @@ msgstr ""

#: flask_security/unified_signin.py:137
msgid "Via email"
msgstr ""
msgstr "通过邮件"

#: flask_security/unified_signin.py:137
msgid "Via SMS"
msgstr ""
msgstr "通过SMS"

#: flask_security/unified_signin.py:264
msgid "Set up using email"
msgstr ""
msgstr "使用电子邮件进行设置"

#: flask_security/unified_signin.py:267
msgid "Set up using an authenticator app (e.g. google, lastpass, authy)"
msgstr ""
msgstr "设置一个认证的app(例如:google、lastpass、authy)"

#: flask_security/unified_signin.py:269
msgid "Set up using SMS"
msgstr ""
msgstr 使用SMS进行设置""

#: flask_security/templates/security/_menu.html:2
msgid "Menu"
msgstr "菜单"

#: flask_security/templates/security/_menu.html:8
msgid "Unified Sign In"
msgstr ""
msgstr "统一登陆"

#: flask_security/templates/security/_menu.html:14
msgid "Forgot password"
Expand Down Expand Up @@ -478,63 +478,63 @@ msgstr "重新发送激活邮件"

#: flask_security/templates/security/two_factor_setup.html:31
msgid "Two-factor authentication adds an extra layer of security to your account"
msgstr ""
msgstr "双因素认证为您的账户增加了一层额外的安全保障。"

#: flask_security/templates/security/two_factor_setup.html:32
msgid ""
"In addition to your username and password, you'll need to use a code that"
" we will send you"
msgstr ""
msgstr "除了你的用户名和密码外,你还需要使用一个代码,这个代码我们将发送给你"

#: flask_security/templates/security/two_factor_setup.html:43
msgid "To complete logging in, please enter the code sent to your mail"
msgstr ""
msgstr "要完成登录,请输入发送到您邮箱的代码"

#: flask_security/templates/security/two_factor_setup.html:49
msgid ""
"Open an authenticator app on your device and scan the following QRcode "
"(or enter the code below manually) to start receiving codes:"
msgstr ""
msgstr "打开设备上的身份验证应用,扫描以下二维码(或手动输入以下代码)开始接收代码:"

#: flask_security/templates/security/two_factor_setup.html:52
msgid "Two factor authentication code"
msgstr ""
msgstr "双因素验证代码"

#: flask_security/templates/security/two_factor_setup.html:60
msgid "To Which Phone Number Should We Send Code To?"
msgstr ""
msgstr "我们应该将代码发送到哪个电话号码?"

#: flask_security/templates/security/two_factor_verify_code.html:6
msgid "Two-factor Authentication"
msgstr ""
msgstr "双因素授权"

#: flask_security/templates/security/two_factor_verify_code.html:7
msgid "Please enter your authentication code"
msgstr ""
msgstr "请输入你的授权码"

#: flask_security/templates/security/two_factor_verify_code.html:18
msgid "The code for authentication was sent to your email address"
msgstr ""
msgstr "认证代码已发送至您的电子邮件地址。"

#: flask_security/templates/security/two_factor_verify_code.html:21
msgid "A mail was sent to us in order to reset your application account"
msgstr ""

#: flask_security/templates/security/us_setup.html:36
msgid "Setup Unified Sign In options"
msgstr ""
msgstr "设置统一登录选项"

#: flask_security/templates/security/us_setup.html:58
#: flask_security/templates/security/us_signin.html:23
#: flask_security/templates/security/us_verify.html:21
msgid "Code has been sent"
msgstr ""
msgstr "代码已经发送"

#: flask_security/templates/security/us_setup.html:66
msgid ""
"Open an authenticator app on your device and scan the following QRcode "
"(or enter the code below manually) to start receiving passcodes:"
msgstr ""
msgstr "打开设备上的验证器应用,扫描以下二维码(或手动输入以下代码)开始接收代码:"

#: flask_security/templates/security/us_setup.html:69
msgid "Passwordless QRCode"
Expand All @@ -547,7 +547,7 @@ msgstr ""
#: flask_security/templates/security/us_signin.html:15
#: flask_security/templates/security/us_verify.html:13
msgid "Request one-time code be sent"
msgstr ""
msgstr "要求发送一次性代码"

#: flask_security/templates/security/us_verify.html:6
#, fuzzy
Expand All @@ -556,7 +556,7 @@ msgstr "请重新进行身份验证,以访问此页面。"

#: flask_security/templates/security/verify.html:6
msgid "Please Enter Your Password"
msgstr ""
msgstr "请输入你的密码"

#: flask_security/templates/security/email/change_notice.html:1
msgid "Your password has been changed."
Expand All @@ -572,7 +572,7 @@ msgstr "点击这里重置密码"

#: flask_security/templates/security/email/change_notice.txt:3
msgid "If you did not change your password, click the link below to reset it."
msgstr ""
msgstr "如果你没有更改密码,请点击下面的链接来重置密码。"

#: flask_security/templates/security/email/confirmation_instructions.html:1
#: flask_security/templates/security/email/confirmation_instructions.txt:1
Expand Down Expand Up @@ -612,39 +612,39 @@ msgstr ""
#: flask_security/templates/security/email/two_factor_instructions.html:3
#: flask_security/templates/security/email/two_factor_instructions.txt:3
msgid "You can log into your account using the following code:"
msgstr ""
msgstr "您可以使用以下代码登录您的账户:"

#: flask_security/templates/security/email/two_factor_rescue.html:1
#: flask_security/templates/security/email/two_factor_rescue.txt:1
msgid "can not access mail account"
msgstr ""
msgstr "无法进入邮箱"

#: flask_security/templates/security/email/us_instructions.html:3
#: flask_security/templates/security/email/us_instructions.txt:3
msgid "You can sign into your account using the following code:"
msgstr ""
msgstr "您可以使用以下代码登录您的账户。"

#: flask_security/templates/security/email/us_instructions.html:6
msgid "Or use the the link below:"
msgstr ""

#: flask_security/templates/security/email/us_instructions.txt:7
msgid "Or use the link below:"
msgstr ""
msgstr "或者使用下面的链接:"

#: flask_security/templates/security/email/welcome.html:4
#: flask_security/templates/security/email/welcome.txt:4
msgid "You can confirm your email through the link below:"
msgstr "你可以通过下面链接激活你的邮箱:"

#~ msgid "You successfully confirmed password"
#~ msgstr ""
#~ msgstr "您已成功确认密码"

#~ msgid "Password confirmation is needed in order to access page"
#~ msgstr ""
#~ msgstr "需要确认密码才能访问页面"

#~ msgid ""
#~ "Open your authenticator app on your "
#~ "device and scan the following qrcode "
#~ "to start receiving codes:"
#~ msgstr ""
#~ msgstr "打开设备上的验证器应用,扫描以下二维码然后接收代码:"

0 comments on commit 7908ef1

Please sign in to comment.