feat(api, i18n): add agent_node_id to various admin queries and enhance multi-language support
Introduced the agent_node_id field in AdminDrawListQuery, AdminPlayerListQuery, AdminSettlementBatchListQuery, TicketItemsListQuery, and TransferOrderListQuery to improve filtering capabilities. Updated the admin-breadcrumb and admin-sidebar components to include new translations for agent-related terms in English, Nepali, and Chinese, enhancing the overall user experience and multi-language support across the admin interface.
This commit is contained in:
61
src/i18n/locales/en/agents.json
Normal file
61
src/i18n/locales/en/agents.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"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",
|
||||
"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}}"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user