From 86bdb826dc4df912a60d1cd8bbaffc7ad2b6913f Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Sun, 24 Apr 2022 14:14:12 +0800 Subject: [PATCH] [Fix][UI Next][V1.0.0-Beta] Change update user to edit user. (#9683) --- dolphinscheduler-ui-next/src/locales/modules/en_US.ts | 2 +- dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts | 2 +- .../views/security/user-manage/components/user-detail-modal.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dolphinscheduler-ui-next/src/locales/modules/en_US.ts b/dolphinscheduler-ui-next/src/locales/modules/en_US.ts index 2eff1369d1..97fd364f3c 100644 --- a/dolphinscheduler-ui-next/src/locales/modules/en_US.ts +++ b/dolphinscheduler-ui-next/src/locales/modules/en_US.ts @@ -1037,7 +1037,7 @@ const security = { user: { user_manage: 'User Manage', create_user: 'Create User', - update_user: 'Update User', + edit_user: 'Edit User', delete_user: 'Delete User', delete_confirm: 'Are you sure to delete?', delete_confirm_tip: diff --git a/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts b/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts index 0121bc9bd5..8c91e3968b 100644 --- a/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts +++ b/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts @@ -1026,7 +1026,7 @@ const security = { user: { user_manage: '用户管理', create_user: '创建用户', - update_user: '更新用户', + edit_user: '编辑用户', delete_user: '删除用户', delete_confirm: '确定删除吗?', project: '项目', diff --git a/dolphinscheduler-ui-next/src/views/security/user-manage/components/user-detail-modal.tsx b/dolphinscheduler-ui-next/src/views/security/user-manage/components/user-detail-modal.tsx index d2e4ab354b..dfba0a524e 100644 --- a/dolphinscheduler-ui-next/src/views/security/user-manage/components/user-detail-modal.tsx +++ b/dolphinscheduler-ui-next/src/views/security/user-manage/components/user-detail-modal.tsx @@ -86,7 +86,7 @@ export const UserModal = defineComponent({ show={this.show} title={`${t( currentRecord?.id - ? 'security.user.update_user' + ? 'security.user.edit_user' : 'security.user.create_user' )}`} onCancel={this.onCancel}