diff --git a/apps/common/forms.py b/apps/common/forms.py index 8a6c87fe4..02af6e47a 100644 --- a/apps/common/forms.py +++ b/apps/common/forms.py @@ -118,7 +118,7 @@ class LDAPSettingForm(BaseForm): ) AUTH_LDAP_SEARCH_FILTER = forms.CharField( label=_("User search filter"), initial='(cn=%(user)s)', - help_text=_("User search filter must contain ([cn,uid,sAMAccountName,...]=%(user)s)") + help_text=_("Choice may be (cn|uid|sAMAccountName)=%(user)s)") ) AUTH_LDAP_USER_ATTR_MAP = DictField( label=_("User attr map"), diff --git a/apps/i18n/zh/LC_MESSAGES/django.mo b/apps/i18n/zh/LC_MESSAGES/django.mo index a3449ac8e..161c337a8 100644 Binary files a/apps/i18n/zh/LC_MESSAGES/django.mo and b/apps/i18n/zh/LC_MESSAGES/django.mo differ diff --git a/apps/i18n/zh/LC_MESSAGES/django.po b/apps/i18n/zh/LC_MESSAGES/django.po index a6eb2e71b..fe6da5ca0 100644 --- a/apps/i18n/zh/LC_MESSAGES/django.po +++ b/apps/i18n/zh/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Jumpserver 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-14 18:11+0800\n" +"POT-Creation-Date: 2018-03-14 19:07+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: ibuler \n" "Language-Team: Jumpserver team\n" @@ -1175,9 +1175,8 @@ msgid "User search filter" msgstr "用户过滤器" #: common/forms.py:121 -#, python-format -msgid "User search filter must contain ([cn,uid,sAMAccountName,...]=%(user)s)" -msgstr "用户过滤器必须包含([cn,uid,sAMAccountName,...]=%(user)s)" +msgid "Choice may be (cn|uid|sAMAccountName)=%(user)s)" +msgstr "可能的选项是(cn或uid或sAMAccountName=%(user)s)" #: common/forms.py:124 msgid "User attr map"