From d21baf8cc9f175c50bb445810701834c8fd6cc6d Mon Sep 17 00:00:00 2001 From: Zein Sleiman Date: Wed, 13 Nov 2024 09:56:48 -0600 Subject: [PATCH] fix: fix delete modal wording --- src/Messages.js | 12 +++++++++++- src/smart-components/role/RolesTable.tsx | 4 ++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/Messages.js b/src/Messages.js index 5baed540f..4791f78c7 100644 --- a/src/Messages.js +++ b/src/Messages.js @@ -2224,9 +2224,19 @@ export default defineMessages({ description: 'Action column option to remove user from group', defaultMessage: 'Remove from user groups', }, + deleteCustomRoleModalHeader: { + id: 'deleteCustomRoleModalHeader', + description: 'Modal header text for deleting custom role', + defaultMessage: 'Delete role?', + }, deleteCustomRoleModalBody: { id: 'deleteCustomRoleModalBody', description: 'Modal body text for deleting custom role', - defaultMessage: 'Deleting the {name} may remove groups in your organization', + defaultMessage: 'Deleting the {name} may remove acess to certain user groups in your organization', + }, + deleteRoleConfirm: { + id: 'deleteRoleConfirm', + description: 'confirm button for deleting role', + defaultMessage: 'Delete role', }, }); diff --git a/src/smart-components/role/RolesTable.tsx b/src/smart-components/role/RolesTable.tsx index 6e9c1d458..f8914eb19 100644 --- a/src/smart-components/role/RolesTable.tsx +++ b/src/smart-components/role/RolesTable.tsx @@ -140,8 +140,8 @@ const RolesTable: React.FunctionComponent = ({ selectedRole })