perf: 优化 MFA 绑定提示

pull/6480/head
wojiushixiaobai 2021-07-16 13:07:20 +08:00 committed by 老广
parent 36ad42beb2
commit 1da187c373
3 changed files with 6 additions and 6 deletions

Binary file not shown.

View File

@ -4028,17 +4028,17 @@ msgid "name not unique"
msgstr "名称重复"
#: users/templates/users/_base_otp.html:14
msgid "Security token validation"
msgstr "安全令牌验证"
msgid "Please enter the password of"
msgstr "请输入"
#: users/templates/users/_base_otp.html:14 xpack/plugins/cloud/models.py:78
#: xpack/plugins/cloud/serializers.py:178
msgid "Account"
msgid "account"
msgstr "账户"
#: users/templates/users/_base_otp.html:14
msgid "Follow these steps to complete the binding operation"
msgstr "请按照以下步骤完成绑定操作"
msgid "to complete the binding operation"
msgstr "的密码完成绑定操作"
#: users/templates/users/_granted_assets.html:7
msgid "Loading"

View File

@ -11,7 +11,7 @@
</h2>
</div>
<div>
<div class="verify">{% trans 'Security token validation' %}&nbsp;&nbsp;{% trans 'Account' %}&nbsp;<span>{{ user.username }}</span>&nbsp;&nbsp;{% trans 'Follow these steps to complete the binding operation' %}</div>
<div class="verify">{% trans 'Please enter the password of' %}&nbsp;{% trans 'account' %}&nbsp;<span>{{ user.username }}</span>&nbsp;{% trans 'to complete the binding operation' %}</div>
<hr style="width: 500px; margin: auto; margin-top: 10px;">
{% block content %}
{% endblock %}