From 2b60e778174a21ef493eae7935a72e50583927fe Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Mon, 15 Apr 2024 11:05:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F):=20=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1039193 --user=王旭 【系统设置】系统-系统参数-认证设置-添加认证-LDAP属性映射-未校验key:value格式 https://www.tapd.cn/55049933/s/1496439 --- frontend/src/views/setting/system/config/locale/en-US.ts | 2 +- frontend/src/views/setting/system/config/locale/zh-CN.ts | 2 +- 2 files changed, 2 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 3c3e0dcc78..dbdbff3635 100644 --- a/frontend/src/views/setting/system/config/locale/en-US.ts +++ b/frontend/src/views/setting/system/config/locale/en-US.ts @@ -178,7 +178,7 @@ export default { 'system.config.auth.userFilterTip': 'cn or uid or sAMAccountName=%(user)s', 'system.config.auth.LDAPPropertyMap': 'LDAP attribute mapping', 'system.config.auth.LDAPPropertyMapRequired': 'LDAP attribute map cannot be empty', - 'system.config.auth.LDAPPropertyMapPlaceholder': 'Please enter', + 'system.config.auth.LDAPPropertyMapPlaceholder': 'Please enter {"key":"value"} format parameters', 'system.config.auth.LDAPPropertyMapTip': 'The left key is the MeterSphere user attribute, and the right value is the authentication platform user attribute', 'system.config.auth.testLink': 'Test Connection', 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 47c5d72413..d9e9a6066f 100644 --- a/frontend/src/views/setting/system/config/locale/zh-CN.ts +++ b/frontend/src/views/setting/system/config/locale/zh-CN.ts @@ -174,7 +174,7 @@ export default { 'system.config.auth.userFilterTip': 'cn or uid or sAMAccountName=%(user)s', 'system.config.auth.LDAPPropertyMap': 'LDAP 属性映射', 'system.config.auth.LDAPPropertyMapRequired': 'LDAP 属性映射不能为空', - 'system.config.auth.LDAPPropertyMapPlaceholder': '请输入', + 'system.config.auth.LDAPPropertyMapPlaceholder': '请输入 {"key":"value"} 键值对格式参数', 'system.config.auth.LDAPPropertyMapTip': '左侧键为 MeterSphere 用户属性,右侧值为认证平台用户属性', 'system.config.auth.testLink': '测试连接', 'system.config.auth.testLinkSuccess': 'LDAP 连接成功',