feat(admin, i18n): enhance admin dashboard and user management with new features and translations
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.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
"saveRoleFailed": "Failed to save roles",
|
||||
"savePermissionSuccess": "Updated permissions for {{name}}",
|
||||
"savePermissionFailed": "Failed to save permissions",
|
||||
"modelGuide": "Accounts bind roles only. Maintain functional permissions in Role Management.",
|
||||
"saving": "Saving…",
|
||||
"deleting": "Deleting…",
|
||||
"common": {
|
||||
@@ -70,6 +71,16 @@
|
||||
"roleActions": {
|
||||
"permissions": "Permissions"
|
||||
},
|
||||
"permissionLevels": {
|
||||
"view": "View",
|
||||
"manage": "Manage",
|
||||
"review": "Review",
|
||||
"export": "Export",
|
||||
"control": "Control",
|
||||
"config": "Configure",
|
||||
"reopen": "Reopen",
|
||||
"special": "Privileged"
|
||||
},
|
||||
"permissionDialog": {
|
||||
"title": "Assign roles",
|
||||
"rolesTitle": "Roles",
|
||||
@@ -106,7 +117,7 @@
|
||||
"passwordPlaceholderCreate": "At least 8 characters",
|
||||
"passwordPlaceholderEdit": "Leave empty to keep unchanged",
|
||||
"rolesRequired": "Roles (default site, at least one)",
|
||||
"rolesDescription": "After creation, you can continue adjusting roles or grant direct permissions in Permissions.",
|
||||
"rolesDescription": "After creation, you can continue adjusting role bindings in Assign Roles.",
|
||||
"noRoles": "No roles available yet. Wait for the list to finish loading and try again."
|
||||
},
|
||||
"delete": {
|
||||
@@ -124,21 +135,37 @@
|
||||
"dashboard": "Dashboard",
|
||||
"admin_users": "Admin Users",
|
||||
"admin_roles": "Role Management",
|
||||
"agents": "Agent Management",
|
||||
"players": "Players",
|
||||
"currencies": "Currencies",
|
||||
"wallet": "Wallet",
|
||||
"draws": "Draws",
|
||||
"config": "Configuration",
|
||||
"rules_plays": "Play Rules",
|
||||
"rules_odds": "Odds & Rebate",
|
||||
"risk_cap": "Risk Cap Rules",
|
||||
"risk": "Risk",
|
||||
"settlement": "Settlement",
|
||||
"jackpot": "Jackpot",
|
||||
"reconcile": "Reconcile",
|
||||
"reports": "Reports",
|
||||
"tickets": "Tickets",
|
||||
"audit": "Audit Logs",
|
||||
"settings": "Settings"
|
||||
"settings": "Settings",
|
||||
"integration": "Integration Sites"
|
||||
},
|
||||
"permissionNames": {
|
||||
"prd.dashboard.view": "Dashboard · View",
|
||||
"prd.agent.view": "Agent Management · View",
|
||||
"prd.agent.manage": "Agent Management · Manage",
|
||||
"prd.agent.role.view": "Agent Roles · View",
|
||||
"prd.agent.role.manage": "Agent Roles · Manage",
|
||||
"prd.agent.user.view": "Agent Accounts · View",
|
||||
"prd.agent.user.manage": "Agent Accounts · Manage",
|
||||
"prd.admin_user.manage": "Admin Users · Manage",
|
||||
"prd.admin_role.manage": "Role Management · Manage",
|
||||
"prd.integration.view": "Integration Sites · View",
|
||||
"prd.integration.manage": "Integration Sites · Manage",
|
||||
"prd.users.manage": "Players · Manage",
|
||||
"prd.currency.manage": "Currency Management · Manage",
|
||||
"prd.users.view_finance": "Players · View Finance",
|
||||
@@ -153,6 +180,7 @@
|
||||
"prd.draw_reopen.manage": "Draw Reopen · Manage",
|
||||
"prd.play_switch.manage": "Play Switches · Manage",
|
||||
"prd.odds.manage": "Odds Configuration · Manage",
|
||||
"prd.odds.view": "Odds Configuration · View",
|
||||
"prd.risk_cap.manage": "Risk Caps · Manage",
|
||||
"prd.risk_cap.view": "Risk Caps · View",
|
||||
"prd.rebate.manage": "Commission/Rebate · Manage",
|
||||
@@ -163,7 +191,11 @@
|
||||
"prd.payout.manage": "Payout Confirmation · Manage",
|
||||
"prd.payout.review": "Payout Confirmation · Review",
|
||||
"prd.payout.view": "Payout Confirmation · View",
|
||||
"prd.tickets.view": "Player Tickets · View",
|
||||
"prd.audit.view": "Audit Logs · View",
|
||||
"prd.report.view": "Reports · View"
|
||||
"prd.report.view": "Reports · View",
|
||||
"prd.report.export": "Reports · Export",
|
||||
"prd.risk.view": "Risk Center · View",
|
||||
"prd.risk.manage": "Risk Center · Manage"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"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",
|
||||
|
||||
@@ -11,5 +11,10 @@
|
||||
"action": "Action",
|
||||
"target": "Target",
|
||||
"time": "Time",
|
||||
"empty": "No data"
|
||||
"empty": "No data",
|
||||
"operatorTypes": {
|
||||
"admin": "Admin",
|
||||
"player": "Player",
|
||||
"system": "System"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +118,8 @@
|
||||
"deniedDescription": "Your account does not have permission to open this page. Ask an administrator to assign the required role permissions."
|
||||
},
|
||||
"table": {
|
||||
"id": "ID"
|
||||
"id": "ID",
|
||||
"actions": "Actions"
|
||||
},
|
||||
"playerColumns": {
|
||||
"site": "Site",
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"filter": "Filter",
|
||||
"drawNo": "Draw no.",
|
||||
"status": "Status",
|
||||
"actions": "Actions",
|
||||
"apply": "Apply",
|
||||
"batchList": "Settlement batches",
|
||||
"allStatuses": "All",
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
"betAmount": "Bet amount",
|
||||
"actualDeduct": "Actual deduct",
|
||||
"status": "Status",
|
||||
"actions": "Actions",
|
||||
"failReason": "Fail reason",
|
||||
"winAmount": "Win amount",
|
||||
"placedAt": "Placed at",
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"subnavLabel": "Wallet sub pages",
|
||||
"subnavTransactions": "Wallet transactions",
|
||||
"subnavTransferOrders": "Transfer orders",
|
||||
"subnavPlayerWallet": "Player wallet",
|
||||
"noPermission": "Current account has no access to this page",
|
||||
"copySuccess": "{{label}} copied to clipboard",
|
||||
"copyFailed": "Copy failed. Check browser permissions or copy manually.",
|
||||
@@ -11,7 +12,7 @@
|
||||
"statusFailed": "Failed",
|
||||
"statusPendingReconcile": "Pending reconcile",
|
||||
"statusReversed": "Reversed",
|
||||
"statusManuallyProcessed": "Manually processed",
|
||||
"statusCaseClosed": "Case closed",
|
||||
"statusPosted": "Posted",
|
||||
"filterAll": "All",
|
||||
"transferIn": "Main site transfer in",
|
||||
@@ -44,19 +45,19 @@
|
||||
"actionsMenuAriaLabel": "Transfer order actions",
|
||||
"reverse": "Reverse",
|
||||
"completeCredit": "Complete credit",
|
||||
"manualProcess": "Manual process",
|
||||
"markCaseClosed": "Close case",
|
||||
"processing": "Processing…",
|
||||
"reverseSuccess": "Reversed successfully",
|
||||
"completeCreditSuccess": "Transfer-in credited successfully",
|
||||
"manualProcessSuccess": "Manually processed successfully",
|
||||
"markCaseClosedSuccess": "Case marked closed",
|
||||
"actionFailed": "Action failed",
|
||||
"confirm": {
|
||||
"reverseTitle": "Confirm reverse transfer?",
|
||||
"reverseDescription": "Reverse order {{transferNo}}. This may affect player wallet balance.",
|
||||
"completeCreditTitle": "Confirm complete transfer-in credit?",
|
||||
"completeCreditDescription": "When the main site has already debited, credit lottery wallet for order {{transferNo}} and mark it successful.",
|
||||
"manualProcessTitle": "Confirm manual process?",
|
||||
"manualProcessDescription": "Mark order {{transferNo}} as manually processed without automatic wallet adjustment."
|
||||
"markCaseClosedTitle": "Close this case?",
|
||||
"markCaseClosedDescription": "Only marks order {{transferNo}} as closed. Wallet balances are not adjusted. Confirm it was already handled outside the system."
|
||||
},
|
||||
"txnNo": "Txn no.",
|
||||
"bizType": "Business type",
|
||||
|
||||
Reference in New Issue
Block a user