From b535293bc25e9cc3e577b4b9bceebc2ae57b4bcb Mon Sep 17 00:00:00 2001 From: Wilson Wu Date: Fri, 12 May 2023 09:44:42 +0800 Subject: [PATCH] Fix some missed i18n for ui (#10472) --- console-ui/src/locales/en-US.js | 4 ++++ console-ui/src/locales/zh-CN.js | 4 ++++ .../PermissionsManagement/PermissionsManagement.js | 6 +++--- .../AuthorityControl/RolesManagement/RolesManagement.js | 4 ++-- .../pages/AuthorityControl/UserManagement/UserManagement.js | 6 +++--- .../ConfigurationManagement/ConfigurationManagement.js | 4 ++-- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/console-ui/src/locales/en-US.js b/console-ui/src/locales/en-US.js index 93da087f8..f0cfab88a 100644 --- a/console-ui/src/locales/en-US.js +++ b/console-ui/src/locales/en-US.js @@ -293,6 +293,7 @@ const I18N_CONF = { configurationManagement8: 'configuration management', queryResults: 'Found', articleMeetRequirements: 'configuration items', + fuzzydMode: 'Default fuzzy query mode', fuzzyd: "Add wildcard '*' for fuzzy query", defaultFuzzyd: 'Default fuzzy query mode opened', fuzzyg: "Add wildcard '*' for fuzzy query", @@ -580,6 +581,7 @@ const I18N_CONF = { operation: 'Operation', refresh: 'Refresh', query: 'Search', + fuzzydMode: 'Default fuzzy query mode', defaultFuzzyd: 'Default fuzzy query mode opened', fuzzyd: "Add wildcard '*' for fuzzy query", }, @@ -616,6 +618,7 @@ const I18N_CONF = { deleteRole: 'Delete', deleteRoleTip: 'Do you want to delete this role?', refresh: 'Refresh', + fuzzydMode: 'Default fuzzy query mode', defaultFuzzyd: 'Default fuzzy query mode opened', fuzzyd: "Add wildcard '*' for fuzzy query", query: 'Search', @@ -642,6 +645,7 @@ const I18N_CONF = { writeOnly: 'write only', readWrite: 'Read and write', refresh: 'Refresh', + fuzzydMode: 'Default fuzzy query mode', defaultFuzzyd: 'Default fuzzy query mode opened', fuzzyd: "Add wildcard '*' for fuzzy query", query: 'Search', diff --git a/console-ui/src/locales/zh-CN.js b/console-ui/src/locales/zh-CN.js index b891f0480..9717180c5 100644 --- a/console-ui/src/locales/zh-CN.js +++ b/console-ui/src/locales/zh-CN.js @@ -290,6 +290,7 @@ const I18N_CONF = { configurationManagement8: '配置管理', queryResults: '查询到', articleMeetRequirements: '条满足要求的配置。', + fuzzydMode: '默认模糊匹配', fuzzyd: "添加通配符'*'进行模糊查询", defaultFuzzyd: '已开启默认模糊查询', fuzzyg: "添加通配符'*'进行模糊查询", @@ -575,6 +576,7 @@ const I18N_CONF = { operation: '操作', refresh: '刷新', query: '查询', + fuzzydMode: '默认模糊匹配', defaultFuzzyd: '已开启默认模糊查询', fuzzyd: "添加通配符'*'进行模糊查询", }, @@ -611,6 +613,7 @@ const I18N_CONF = { deleteRole: '删除', deleteRoleTip: '是否要删除该角色?', refresh: '刷新', + fuzzydMode: '默认模糊匹配', defaultFuzzyd: '已开启默认模糊查询', fuzzyd: "添加通配符'*'进行模糊查询", query: '查询', @@ -637,6 +640,7 @@ const I18N_CONF = { writeOnly: '只写', readWrite: '读写', refresh: '刷新', + fuzzydMode: '默认模糊匹配', defaultFuzzyd: '已开启默认模糊查询', fuzzyd: "添加通配符'*'进行模糊查询", query: '查询', diff --git a/console-ui/src/pages/AuthorityControl/PermissionsManagement/PermissionsManagement.js b/console-ui/src/pages/AuthorityControl/PermissionsManagement/PermissionsManagement.js index e9f77efdb..b879155c0 100644 --- a/console-ui/src/pages/AuthorityControl/PermissionsManagement/PermissionsManagement.js +++ b/console-ui/src/pages/AuthorityControl/PermissionsManagement/PermissionsManagement.js @@ -118,7 +118,7 @@ class PermissionsManagement extends React.Component { <>
- + - + diff --git a/console-ui/src/pages/AuthorityControl/RolesManagement/RolesManagement.js b/console-ui/src/pages/AuthorityControl/RolesManagement/RolesManagement.js index 937348cf3..4d6853efa 100644 --- a/console-ui/src/pages/AuthorityControl/RolesManagement/RolesManagement.js +++ b/console-ui/src/pages/AuthorityControl/RolesManagement/RolesManagement.js @@ -131,13 +131,13 @@ class RolesManagement extends React.Component { }} /> - + diff --git a/console-ui/src/pages/AuthorityControl/UserManagement/UserManagement.js b/console-ui/src/pages/AuthorityControl/UserManagement/UserManagement.js index 4c569aec7..5b900548e 100644 --- a/console-ui/src/pages/AuthorityControl/UserManagement/UserManagement.js +++ b/console-ui/src/pages/AuthorityControl/UserManagement/UserManagement.js @@ -121,7 +121,7 @@ class UserManagement extends React.Component { <> - + - + diff --git a/console-ui/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js b/console-ui/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js index 5f463838a..c917797fb 100644 --- a/console-ui/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js +++ b/console-ui/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js @@ -1201,13 +1201,13 @@ class ConfigurationManagement extends React.Component { /> - +