feat(admin, i18n): implement user deletion functionality and enhance permission management translations
Added a new API function to delete admin users, improving user management capabilities. Updated the admin permission package selector to include new permission levels for nodes, roles, and users. Enhanced multi-language support by adding translations for these new permission levels in English, Nepali, and Chinese. Additionally, improved the agents console to handle deletion confirmations and display relevant block reasons, ensuring a smoother user experience.
This commit is contained in:
@@ -73,6 +73,12 @@
|
||||
},
|
||||
"permissionLevels": {
|
||||
"view": "हेर्नुहोस्",
|
||||
"node_view": "नोड · हेर्नुहोस्",
|
||||
"node_manage": "नोड · व्यवस्थापन",
|
||||
"role_view": "भूमिका · हेर्नुहोस्",
|
||||
"role_manage": "भूमिका · व्यवस्थापन",
|
||||
"user_view": "खाता · हेर्नुहोस्",
|
||||
"user_manage": "खाता · व्यवस्थापन",
|
||||
"manage": "व्यवस्थापन",
|
||||
"review": "समीक्षा",
|
||||
"export": "निर्यात",
|
||||
|
||||
@@ -9,6 +9,13 @@
|
||||
"editNode": "Edit node",
|
||||
"deleteNode": "Delete node",
|
||||
"deleteNodeConfirm": "This action cannot be undone. Make sure the node has no children, users, or roles.",
|
||||
"deleteNodeBlockedHint": "पहिले चाइल्ड एजेन्ट, भूमिका र खाता हटाउनुहोस्",
|
||||
"deleteNodeBlockedPrefix": "अहिले मेटाउन मिल्दैन: ",
|
||||
"deleteBlocked": {
|
||||
"children": "{{count}} वटा चाइल्ड एजेन्ट बाँकी",
|
||||
"roles": "{{count}} वटा भूमिका पहिले हटाउनुहोस्",
|
||||
"users": "{{count}} वटा खाता बाँकी"
|
||||
},
|
||||
"code": "Code",
|
||||
"name": "Name",
|
||||
"depth": "Depth",
|
||||
@@ -48,6 +55,7 @@
|
||||
"deleteSuccess": "Deleted role {{name}}",
|
||||
"permissionSaveSuccess": "Permissions updated",
|
||||
"readOnlyTemplate": "Read-only template",
|
||||
"inUse": "{{count}} प्रयोगमा",
|
||||
"permissionSubsetHint": "Only permissions you hold can be assigned"
|
||||
},
|
||||
"users": {
|
||||
@@ -57,6 +65,8 @@
|
||||
"password": "Password",
|
||||
"roles": "Roles",
|
||||
"createSuccess": "Created account {{name}}",
|
||||
"roleSaveSuccess": "Roles updated for {{name}}"
|
||||
"roleSaveSuccess": "Roles updated for {{name}}",
|
||||
"deleteConfirm": "यो खाता अब लगइन गर्न सक्दैन।",
|
||||
"deleteSuccess": "खाता {{name}} मेटियो"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user