feat: warn use when deleting self (#1848)

* add the alert component on User Management

* refactored the warning text into the language file
This commit is contained in:
Jambaldorj Ochirpurev
2022-12-01 06:26:50 +01:00
committed by GitHub
parent 0801f0a908
commit 1c87a87627
2 changed files with 22 additions and 3 deletions

View File

@@ -151,6 +151,7 @@
"a-name-is-required": "A Name is Required",
"delete-with-name": "Delete {name}",
"confirm-delete-generic-with-name": "Are you sure you want to delete this {name}?",
"confirm-delete-own-admin-account": "Please note that you are trying to delete your own admin account! This action cannot be undone and will permanently delete your account?",
"organizer": "Organizer",
"transfer": "Transfer",
"copy": "Copy",