Added the ability to filter admin dashboard data by site code and agent node ID, improving data retrieval capabilities. Introduced new functions for fetching dashboard data based on these parameters. Updated the admin users and roles management components to reflect these changes. Enhanced multi-language support by adding new translations for agent management and permission levels in English, Nepali, and Chinese, ensuring a consistent user experience across the admin interface.
63 lines
2.1 KiB
JSON
63 lines
2.1 KiB
JSON
{
|
|
"title": "Agents",
|
|
"treeTitle": "Agent tree",
|
|
"detailTitle": "Node details",
|
|
"selectNode": "Select an agent node from the tree",
|
|
"loadFailed": "Failed to load agent tree",
|
|
"siteLabel": "Site",
|
|
"createChild": "Add child agent",
|
|
"editNode": "Edit node",
|
|
"deleteNode": "Delete node",
|
|
"deleteNodeConfirm": "This action cannot be undone. Make sure the node has no children, users, or roles.",
|
|
"code": "Code",
|
|
"name": "Name",
|
|
"depth": "Depth",
|
|
"path": "Path",
|
|
"status": "Status",
|
|
"isRoot": "Root",
|
|
"createSuccess": "Created agent {{name}}",
|
|
"updateSuccess": "Updated {{name}}",
|
|
"deleteSuccess": "Deleted agent {{name}}",
|
|
"saveFailed": "Save failed",
|
|
"codeRequired": "Code and name are required",
|
|
"modelGuide": "Agent layer controls data scope and delegation ceiling. Account permissions are assigned through roles.",
|
|
"tabs": {
|
|
"overview": "Overview",
|
|
"roles": "Roles",
|
|
"users": "Accounts",
|
|
"delegation": "Delegation ceiling"
|
|
},
|
|
"delegation": {
|
|
"title": "Delegation ceiling",
|
|
"hint": "Select actions this child agent may grant to its own subordinates. Agent roles cannot exceed this ceiling.",
|
|
"permission": "Action",
|
|
"canDelegate": "May delegate further",
|
|
"save": "Save ceiling",
|
|
"saveSuccess": "Delegation ceiling saved",
|
|
"empty": "No actions available to assign",
|
|
"rootDenied": "Root nodes do not use delegation ceilings"
|
|
},
|
|
"roles": {
|
|
"title": "Agent roles",
|
|
"create": "Create role",
|
|
"permissions": "Permissions",
|
|
"slug": "Slug",
|
|
"userCount": "Users",
|
|
"createSuccess": "Created role {{name}}",
|
|
"updateSuccess": "Updated role {{name}}",
|
|
"deleteSuccess": "Deleted role {{name}}",
|
|
"permissionSaveSuccess": "Permissions updated",
|
|
"readOnlyTemplate": "Read-only template",
|
|
"permissionSubsetHint": "Only permissions you hold can be assigned"
|
|
},
|
|
"users": {
|
|
"title": "Agent accounts",
|
|
"create": "Create account",
|
|
"username": "Username",
|
|
"password": "Password",
|
|
"roles": "Roles",
|
|
"createSuccess": "Created account {{name}}",
|
|
"roleSaveSuccess": "Roles updated for {{name}}"
|
|
}
|
|
}
|