Files
lotteryAdmin/src/i18n/locales/en/dashboard.json
kang d4cf4ff436 feat(dashboard, i18n): enhance agent dashboard and localization support
Updated the agent dashboard to include new metrics for today's bets and payouts, improving visibility for users. Enhanced localization files with additional hints and labels for better user experience across English, Nepali, and Chinese. Introduced new functions for formatting business dates and improved the handling of analytics permissions in the dashboard components.
2026-06-16 14:18:58 +08:00

263 lines
9.8 KiB
JSON

{
"title": "Dashboard",
"refresh": "Refresh",
"notice": "Notice",
"sections": {
"today": "Today",
"lifetime": "All-time totals",
"currentDraw": "Current draw",
"currentDrawDetail": "Current draw · {{drawNo}}",
"operations": "Operations (site-wide)",
"snapshot": "Current draw snapshot"
},
"countdownToClose": "Time to close",
"scheduledDrawTime": "Draw at {{time}}",
"analytics": {
"title": "Finance overview",
"periodLabel": "Period",
"metricLabel": "Metric",
"playLabel": "Play filter",
"allPlays": "All plays",
"customRange": "Custom dates",
"rangeHint": "Range {{range}}",
"selectPeriod": "Select a period",
"chartTruncated": "Trend shows {{from}} — {{to}} only ({{days}} days in full range)",
"summaryBet": "Period bet",
"summaryPayout": "Period payout",
"summaryProfit": "Period profit",
"summaryShareProfit": "Own share profit",
"shareProfitHint": "Your share after split — not platform or full team gross P/L",
"dailyTrend": "Period trend",
"granularityDay": "By day",
"playBreakdown": "Play breakdown",
"playRanking": "Top 5 plays",
"agentRanking": "Top 5 agents",
"rankingMetricLabel": "Ranking metric",
"rankingMetrics": {
"bet": "By bet amount",
"payout": "By payout",
"profit": "By profit"
},
"periodDistribution": "Period structure",
"noPlayData": "No play data in this period",
"noAgentData": "No agent data in this period",
"periods": {
"today": "Today",
"last_7_days": "Last 7 days",
"last_30_days": "Last 30 days",
"this_month": "This month",
"lifetime": "All time",
"custom": "Custom"
},
"metrics": {
"overview": "Overview",
"bet": "Bet",
"payout": "Payout",
"profit": "Profit"
}
},
"chartLegend": {
"bet": "Bet",
"payout": "Payout",
"profit": "Profit"
},
"playBreakdownHint": "Payout {{payout}} · Profit {{profit}}",
"viewReports": "Reports",
"lifetimeBetTotal": "Lifetime total bet",
"lifetimePayout": "Lifetime total payout",
"lifetimeProfit": "Lifetime platform profit",
"lifetimeActivityHint": "{{draws}} draws with bets · {{days}} business days",
"lifetimeDateRangeHint": "Range {{range}}",
"currentDrawBetTotal": "Draw total bet",
"currentDrawPayout": "Draw payout",
"currentDrawProfit": "Draw profit",
"drawFinanceDetails": "Draw finance details",
"detailsShort": "Details",
"todayBetTotal": "Today's total bet",
"todayPayout": "Today's payout",
"todayProfit": "Today's profit",
"todayBusinessDateHint": "Business date {{date}}",
"todayPayoutHint": "Payout {{amount}}",
"drawNoHint": "Draw {{drawNo}}",
"orderAndTicket": "{{orders}} orders · {{tickets}} items",
"marginRate": "Gross margin ~{{rate}}%",
"financeStructure": "Bet fund structure",
"payoutComposition": "Payout composition",
"winPayout": "Win payout",
"jackpotPayout": "Jackpot payout",
"houseGross": "House gross",
"payoutRateOfBet": "Payout / bet {{rate}}%",
"noFinanceActivity": "No bets this draw",
"noPayoutYet": "No payout this draw",
"resultBatches": "Result batch progress",
"resultBatchQueueScope": "Site-wide result batches",
"batchPending": "Pending review",
"batchPendingDraws": "Draws involved",
"batchPendingDrawsCount": "{{count}} draws pending",
"platformLockedAndCap": "Site locked {{locked}} / cap {{cap}}",
"platformLockedLabel": "Locked",
"platformCapLabel": "Cap",
"platformCapUnset": "Not set",
"platformCapNotConfigured": "Site locked {{locked}} · cap not configured",
"platformOrderAndTicket": "Site-wide {{orders}} orders · {{tickets}} lines",
"platformBetTotal": "Lifetime bet",
"platformNoFinanceActivity": "No bets site-wide yet",
"platformNoPayoutYet": "No payouts site-wide yet",
"batchPublished": "Published",
"batchTotal": "Total batches",
"batchOther": "Other statuses",
"settlementOverview": "Settlement batches",
"noSettlementBatches": "No settlement batches",
"quickLinksTitle": "Quick links",
"currentPayout": "Current draw payout",
"currentProfit": "Current draw profit",
"currentDrawFinanceHint": "Charts below are for draw {{drawNo}}",
"currentDraw": "Current draw",
"drawSequence": "Round {{sequence}}",
"drawDetails": "Draw details",
"ticketCount": "Ticket item count",
"relatedBetAmount": "Related bet amount",
"riskCapUsage": "Risk cap usage",
"lockedAndCap": "Locked {{locked}} / Cap {{cap}}",
"occupancyDetails": "Occupancy details",
"hotNumbersTop10": "Top 10 hot numbers",
"playDimension": "Play dimension",
"soldOutDistribution": "Sold-out distribution",
"soldOutTotal": "Total sold out",
"pendingReviewResults": "Pending result review",
"abnormalTransferOrders": "Abnormal transfer orders",
"abnormalTransferScope": "Flagged by wallet reconciliation",
"abnormalTransferPending": "{{count}} pending review",
"abnormalTransferAllClear": "Reconciliation clear",
"abnormalTransferAction": "Open transfer orders to resolve",
"viewTransferOrders": "View transfer orders",
"noSoldOutNumbers": "No sold-out numbers",
"noPoolData": "No pool data for this dimension",
"numbersByUsage": "Numbers by usage",
"capUsage": "Cap usage",
"tabs": {
"4d": "4D",
"3d": "3D",
"2d": "2D",
"special": "Special"
},
"soldOutBuckets": {
"d4": "4D",
"d3": "3D",
"d2": "2D",
"special": "Special",
"other": "Other"
},
"quickLinks": {
"createDrawPlan": "Create draw plan",
"drawSchedule": "Open sale / draws",
"results": "Results",
"tickets": "Ticket management",
"walletTransactions": "Wallet transactions",
"auditLogs": "Audit logs",
"reports": "Reports",
"payoutRules": "Odds & rebate",
"riskMonitor": "Risk monitor",
"systemSettings": "System settings"
},
"site": {
"title": "Site overview",
"subtitle": "{{name}} · this site",
"todayBet": "Today's bets",
"todayProfit": "Today's P/L",
"sevenDayTitle": "Last 7 days",
"sevenDayBet": "7-day bets",
"sevenDayPayout": "7-day payout",
"sevenDayProfit": "7-day P/L",
"profitScopeHint": "Site scope: bets minus payouts",
"activePlayersToday": "Active players today",
"betOrdersTodayHint": "{{count}} orders today",
"pendingBills": "Pending bills",
"pendingUnpaid": "Unpaid {{amount}}",
"latestBetAt": "Latest bet {{time}}",
"noBetToday": "No bets yet today",
"scaleTitle": "Site scale",
"agentCount": "Agent nodes",
"playerCount": "Players",
"topAgentToday": "Top agent today: {{name}} ({{amount}})",
"topAgentTodayLabel": "Top agent today",
"overviewEmpty": "No site operations data. Confirm the integration site is bound.",
"quickLinks": {
"tickets": "Tickets",
"players": "Players",
"reports": "Reports",
"agents": "Agents",
"bills": "Settlement"
}
},
"agent": {
"title": "Operations overview",
"subtitle": "{{name}} · your line",
"heroEyebrow": "Today's line cockpit",
"heroTitle": "{{name}} live operations",
"creditTitle": "Credit limit",
"creditAvailable": "Available {{amount}}",
"creditAllocated": "Allocated {{amount}}",
"creditUsed": "Used {{amount}}",
"creditAllocatedLabel": "Allocated credit",
"creditUsedLabel": "Used credit",
"shareRate": "Total share {{rate}}%",
"shareProfitScopeHint": "Share profit at this node (from bet share_snapshot)",
"settlementCycle": "Cycle {{cycle}}",
"teamTitle": "Team size",
"directChildren": "Direct child agents",
"directPlayers": "Direct players",
"subtreeAgents": "Agents in line",
"teamPlayers": "Players in line",
"activePlayersToday": "Active players today",
"betOrdersToday": "Bet orders today",
"betOrdersTodayHint": "{{count}} orders today",
"todayBet": "Today's bet",
"todayPayout": "Today's payout",
"todayProfit": "Today's profit",
"todayShareProfit": "Today's share profit",
"sevenDayTitle": "Last 7 days",
"sevenDayBet": "7-day bets",
"sevenDayPayout": "Payout {{amount}}",
"sevenDayPayoutLabel": "7-day payout",
"sevenDayProfit": "Profit {{amount}}",
"sevenDayShareProfitLabel": "7-day share profit",
"sevenDayShareProfit": "Share profit {{amount}}",
"pendingBills": "Open agent bills",
"pendingUnpaid": "Unpaid total {{amount}}",
"latestBetAt": "Latest bet {{time}}",
"noBetToday": "No bets yet today",
"topMomentum": "Today's bet focus",
"topMomentumHint": "Profit {{profit}}",
"topMomentumPayout": "Payout {{amount}}",
"managementFocus": "Management focus",
"focusBet": "Watch today's bet volume",
"focusPlayers": "Today's active players",
"focusBills": "Bills to follow up",
"quickStatsTitle": "Line permission snapshot",
"canCreateChildAgent": "Can create child agent",
"canCreatePlayer": "Can create player",
"lineDepth": "Line depth",
"yes": "Yes",
"no": "No",
"viewBills": "View bills",
"lineMeta": "Depth {{depth}} · child agents {{childAgent}} · players {{player}}",
"overviewEmpty": "No line operations data. Confirm the agent binding is valid.",
"viewLine": "Agent line",
"quickLinks": {
"tickets": "Tickets",
"players": "Players",
"reports": "Reports",
"agents": "Downline agents",
"bills": "Agent bills"
}
},
"warnings": {
"drawPermission": "This account has no draw/dashboard view permission. Finance and risk data were not returned.",
"walletPermission": "This account has no wallet reconciliation permission. Abnormal transfer count was not returned.",
"analyticsUnavailable": "Trend and ranking analytics are unavailable. KPI cards above remain visible.",
"loadFailed": "Failed to load. Check the API and login state.",
"apiResourceMissing": "Dashboard analytics API is not registered. Run: php artisan lottery:admin-auth-sync (or apply the latest migration), then refresh."
}
}