perf:ldap sync add no user msg

pull/12572/head
wangruidong 2024-01-18 10:55:02 +08:00 committed by Bryan
parent e509568fe5
commit 37a0d831da
5 changed files with 25 additions and 13 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7879f4eeb499e920ad6c4bfdb0b1f334936ca344c275be056f12fcf7485f2bf6
size 170948
oid sha256:762a632de4e679462b64cc5baee5e0851fd0e075b63895f2da7ee89de3a11cd3
size 171043

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-17 19:11+0800\n"
"POT-Creation-Date: 2024-01-18 10:45+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -495,7 +495,7 @@ msgstr "ステータス"
#: authentication/templates/authentication/passkey.html:173
#: authentication/views/base.py:42 authentication/views/base.py:43
#: authentication/views/base.py:44 common/const/choices.py:20
#: settings/templates/ldap/_msg_import_ldap_user.html:22
#: settings/templates/ldap/_msg_import_ldap_user.html:26
msgid "Error"
msgstr "間違い"
@ -6112,6 +6112,10 @@ msgstr "組織が同期されました"
msgid "Synced User"
msgstr "同期されたユーザー"
#: settings/templates/ldap/_msg_import_ldap_user.html:22
msgid "No user synchronization required"
msgstr "ユーザーの同期は必要ありません"
#: settings/utils/ldap.py:494
msgid "ldap:// or ldaps:// protocol is used."
msgstr "ldap:// または ldaps:// プロトコルが使用されます。"
@ -8511,7 +8515,7 @@ msgstr "そして"
msgid "Or"
msgstr "または"
#: xpack/plugins/cloud/manager.py:56
#: xpack/plugins/cloud/manager.py:57
msgid "Account unavailable"
msgstr "利用できないアカウント"

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19d3a111cc245f9a9d36b860fd95447df916ad66c918bef672bacdad6bc77a8f
size 140119
oid sha256:77bcfafe99a5e93c5710639e88a0648bce49c666eeb3b4b02185a9f490413bcf
size 140193

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-17 19:11+0800\n"
"POT-Creation-Date: 2024-01-18 10:44+0800\n"
"PO-Revision-Date: 2021-05-20 10:54+0800\n"
"Last-Translator: ibuler <ibuler@qq.com>\n"
"Language-Team: JumpServer team<ibuler@qq.com>\n"
@ -494,7 +494,7 @@ msgstr "状态"
#: authentication/templates/authentication/passkey.html:173
#: authentication/views/base.py:42 authentication/views/base.py:43
#: authentication/views/base.py:44 common/const/choices.py:20
#: settings/templates/ldap/_msg_import_ldap_user.html:22
#: settings/templates/ldap/_msg_import_ldap_user.html:26
msgid "Error"
msgstr "错误"
@ -6028,6 +6028,10 @@ msgstr "已同步组织"
msgid "Synced User"
msgstr "已同步用户"
#: settings/templates/ldap/_msg_import_ldap_user.html:22
msgid "No user synchronization required"
msgstr "没有用户需要同步"
#: settings/utils/ldap.py:494
msgid "ldap:// or ldaps:// protocol is used."
msgstr "使用 ldap:// 或 ldaps:// 协议"
@ -8387,7 +8391,7 @@ msgstr "与"
msgid "Or"
msgstr "或"
#: xpack/plugins/cloud/manager.py:56
#: xpack/plugins/cloud/manager.py:57
msgid "Account unavailable"
msgstr "账号无效"

View File

@ -14,9 +14,13 @@
</ul>
<b>{% trans "Synced User" %}:</b>
<ul>
{% for user in users %}
<li>{{ user }}</li>
{% endfor %}
{% if users %}
{% for user in users %}
<li>{{ user }}</li>
{% endfor %}
{% else %}
<li>{% trans 'No user synchronization required' %}</li>
{% endif %}
</ul>
{% if errors %}
<b>{% trans 'Error' %}:</b>