From ad95adc833e056a5d10a4ef592edd578b5e39275 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Mon, 24 Jun 2024 14:22:34 +0800 Subject: [PATCH] perf: trans LDAP msg --- apps/i18n/core/en/LC_MESSAGES/django.po | 2 +- apps/i18n/core/ja/LC_MESSAGES/django.po | 2 +- apps/i18n/core/zh/LC_MESSAGES/django.po | 2 +- apps/settings/utils/ldap.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/i18n/core/en/LC_MESSAGES/django.po b/apps/i18n/core/en/LC_MESSAGES/django.po index fdfe82a7e..4259666dd 100644 --- a/apps/i18n/core/en/LC_MESSAGES/django.po +++ b/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 diff --git a/apps/i18n/core/ja/LC_MESSAGES/django.po b/apps/i18n/core/ja/LC_MESSAGES/django.po index 9afbf9b77..2dbd3b976 100644 --- a/apps/i18n/core/ja/LC_MESSAGES/django.po +++ b/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 diff --git a/apps/i18n/core/zh/LC_MESSAGES/django.po b/apps/i18n/core/zh/LC_MESSAGES/django.po index fe2185164..75c84042a 100644 --- a/apps/i18n/core/zh/LC_MESSAGES/django.po +++ b/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 diff --git a/apps/settings/utils/ldap.py b/apps/settings/utils/ldap.py index afcd2dca1..5699e4b20 100644 --- a/apps/settings/utils/ldap.py +++ b/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)