Skip to content

Commit 5391dbc

Browse files
authored
refactor(console): use permanently delete (#5979)
1 parent 123ecae commit 5391dbc

File tree

2 files changed

+2
-1
lines changed
  • packages
    • console/src/pages/Profile/containers/DeleteAccountModal/components/FinalConfirmationModal
    • phrases/src/locales/en/translation/admin-console

2 files changed

+2
-1
lines changed

packages/console/src/pages/Profile/containers/DeleteAccountModal/components/FinalConfirmationModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default function FinalConfirmationModal({
111111
disabled={isDeleting}
112112
isLoading={isDeleting}
113113
type="danger"
114-
title="general.delete"
114+
title="profile.delete_account.permanently_delete"
115115
onClick={deleteAccount}
116116
/>
117117
</>

packages/phrases/src/locales/en/translation/admin-console/profile.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ const profile = {
8686
final_confirmation: 'Final confirmation',
8787
about_to_start_deletion:
8888
'You are about to start the deletion process and this action cannot be undone.',
89+
permanently_delete: 'Permanently delete',
8990
},
9091
set: 'Set',
9192
change: 'Change',

0 commit comments

Comments
 (0)