Browse Source

perf: trans LDAP msg

pull/13472/head
wangruidong 5 months ago committed by w940853815
parent
commit
ad95adc833
  1. 2
      apps/i18n/core/en/LC_MESSAGES/django.po
  2. 2
      apps/i18n/core/ja/LC_MESSAGES/django.po
  3. 2
      apps/i18n/core/zh/LC_MESSAGES/django.po
  4. 2
      apps/settings/utils/ldap.py

2
apps/i18n/core/en/LC_MESSAGES/django.po

@ -6360,7 +6360,7 @@ msgid "Error (Unknown): {}"
msgstr ""
#: settings/utils/ldap.py:644
msgid "Succeed: Match {} s user"
msgid "Succeed: Match {} users"
msgstr ""
#: settings/utils/ldap.py:677

2
apps/i18n/core/ja/LC_MESSAGES/django.po

@ -6517,7 +6517,7 @@ msgid "Error (Unknown): {}"
msgstr "エラー (不明): {}"
#: settings/utils/ldap.py:644
msgid "Succeed: Match {} s user"
msgid "Succeed: Match {} users"
msgstr "成功: {} 人のユーザーに一致"
#: settings/utils/ldap.py:677

2
apps/i18n/core/zh/LC_MESSAGES/django.po

@ -6448,7 +6448,7 @@ msgid "Error (Unknown): {}"
msgstr "错误 (未知): {}"
#: settings/utils/ldap.py:644
msgid "Succeed: Match {} s user"
msgid "Succeed: Match {} users"
msgstr "成功匹配 {} 个用户"
#: settings/utils/ldap.py:677

2
apps/settings/utils/ldap.py

@ -641,7 +641,7 @@ class LDAPTestUtil(object):
msg = _('Error (Unknown): {}').format(e)
else:
status = True
msg = _('Succeed: Match {} s user').format(len(self.user_entries))
msg = _('Succeed: Match {} users').format(len(self.user_entries))
if not status:
logger.error(msg, exc_info=True)

Loading…
Cancel
Save