From 827fe6c598e96aef21e54da921da427fe8422eb9 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Tue, 23 Jul 2024 16:41:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96LDAP=E7=94=A8=E6=88=B7=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E5=99=A8=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/setting/system/config/locale/en-US.ts | 3 ++- frontend/src/views/setting/system/config/locale/zh-CN.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/setting/system/config/locale/en-US.ts b/frontend/src/views/setting/system/config/locale/en-US.ts index 6febabeffc..fe0dba767f 100644 --- a/frontend/src/views/setting/system/config/locale/en-US.ts +++ b/frontend/src/views/setting/system/config/locale/en-US.ts @@ -176,7 +176,8 @@ export default { 'system.config.auth.userFilter': 'User filter', 'system.config.auth.userFilterRequired': 'User filter cannot be empty', 'system.config.auth.userFilterPlaceholder': 'Please enter', - 'system.config.auth.userFilterTip': 'cn or uid or sAMAccountName=%(user)s', + 'system.config.auth.userFilterTip': + 'Input filter [possible options are cn or uid or sAMAccountName={0}, such as: (uid={0})]', 'system.config.auth.LDAPPropertyMap': 'LDAP attribute mapping', 'system.config.auth.LDAPPropertyMapRequired': 'LDAP attribute map cannot be empty', 'system.config.auth.LDAPPropertyMapPlaceholder': 'Please enter {map} format parameters', diff --git a/frontend/src/views/setting/system/config/locale/zh-CN.ts b/frontend/src/views/setting/system/config/locale/zh-CN.ts index 3387bfa9a5..9cfdcb583e 100644 --- a/frontend/src/views/setting/system/config/locale/zh-CN.ts +++ b/frontend/src/views/setting/system/config/locale/zh-CN.ts @@ -172,7 +172,7 @@ export default { 'system.config.auth.userFilter': '用户过滤器', 'system.config.auth.userFilterRequired': '用户过滤器不能为空', 'system.config.auth.userFilterPlaceholder': '请输入', - 'system.config.auth.userFilterTip': 'cn or uid or sAMAccountName=%(user)s', + 'system.config.auth.userFilterTip': '输入过滤器 [可能的选项是cn或uid或sAMAccountName={0},如:(uid={0})]', 'system.config.auth.LDAPPropertyMap': 'LDAP 属性映射', 'system.config.auth.LDAPPropertyMapRequired': 'LDAP 属性映射不能为空', 'system.config.auth.LDAPPropertyMapPlaceholder': '请输入 {map} 键值对格式参数',