chore: more specific error message while removing Admin status

Action leading to a scenario where there are no users with Admin privileges.
This commit is contained in:
jamesgeorge007
2024-03-27 14:45:19 +05:30
parent 17db483a35
commit 8a8cdcf78b
3 changed files with 11 additions and 3 deletions

View File

@@ -164,6 +164,7 @@
"privacy_policy": "Privacy Policy",
"reenter_email": "Re-enter email",
"remove_admin_failure": "Failed to remove admin status!!",
"remove_admin_failure_only_one_admin": "Failed to remove admin status. There should be at least one admin!!",
"remove_admin_success": "Admin status removed!!",
"remove_admin_from_users_failure": "Failed to remove admin status from selected users!!",
"remove_admin_from_users_success": "Admin status removed from selected users!!",