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.
This commit is contained in:
2026-06-16 14:18:58 +08:00
parent a4454a54a4
commit d4cf4ff436
17 changed files with 534 additions and 415 deletions

View File

@@ -75,6 +75,7 @@
"todayPayout": "आजको भुक्तानी",
"todayProfit": "आजको नाफा/नोक्सान",
"todayBusinessDateHint": "व्यापार मिति {{date}}",
"todayPayoutHint": "भुक्तानी {{amount}}",
"drawNoHint": "ड्रअ {{drawNo}}",
"orderAndTicket": "{{orders}} अर्डर · {{tickets}} वस्तु",
"marginRate": "सकल मार्जिन ~{{rate}}%",
@@ -92,6 +93,9 @@
"batchPendingDraws": "सम्बन्धित ड्रअ",
"batchPendingDrawsCount": "{{count}} ड्रअ पेन्डिङ",
"platformLockedAndCap": "साइट लक {{locked}} / क्याप {{cap}}",
"platformLockedLabel": "लक",
"platformCapLabel": "क्याप",
"platformCapUnset": "सेट छैन",
"platformCapNotConfigured": "साइट लक {{locked}} · क्याप कन्फिगर गरिएको छैन",
"platformOrderAndTicket": "साइटव्यापी {{orders}} अर्डर · {{tickets}} लाइन",
"platformBetTotal": "जम्मा बेट",
@@ -159,6 +163,8 @@
"todayBet": "आजको बाजी",
"todayProfit": "आजको नाफा/नोक्सान",
"sevenDayTitle": "पछिल्लो ७ दिन",
"sevenDayBet": "७-दिने बाजी",
"sevenDayPayout": "७-दिने भुक्तानी",
"sevenDayProfit": "७-दिने नाफा/नोक्सान",
"profitScopeHint": "साइट दायरा: बाजी माइनस भुक्तानी",
"activePlayersToday": "आज सक्रिय खेलाडी",
@@ -171,6 +177,8 @@
"agentCount": "एजेन्ट नोड",
"playerCount": "खेलाडी संख्या",
"topAgentToday": "आजको शीर्ष एजेन्ट: {{name}} ({{amount}})",
"topAgentTodayLabel": "आजको शीर्ष एजेन्ट",
"overviewEmpty": "साइट सञ्चालन डाटा छैन। कृपया साइट बाइन्डिङ जाँच गर्नुहोस्।",
"quickLinks": {
"tickets": "टिकट",
"players": "खेलाडी",
@@ -179,9 +187,41 @@
"bills": "सेटलमेन्ट"
}
},
"agent": {
"title": "सञ्चालन सारांश",
"subtitle": "{{name}} · यो लाइन",
"creditTitle": "क्रेडिट सीमा",
"creditAvailable": "उपलब्ध {{amount}}",
"creditAllocatedLabel": "बाँडिएको क्रेडिट",
"creditUsedLabel": "प्रयोग भएको क्रेडिट",
"shareRate": "कुल शेयर {{rate}}%",
"shareProfitScopeHint": "यस नोडको शेयर नाफा (share_snapshot)",
"teamTitle": "टोली परिमाण",
"directChildren": "प्रत्यक्ष सन्तान एजेन्ट",
"directPlayers": "प्रत्यक्ष खेलाडी",
"subtreeAgents": "लाइन एजेन्ट",
"teamPlayers": "लाइन खेलाडी",
"activePlayersToday": "आज सक्रिय खेलाडी",
"betOrdersTodayHint": "आज {{count}} अर्डर",
"todayBet": "आजको बाजी",
"todayShareProfit": "आजको शेयर नाफा",
"sevenDayTitle": "पछिल्लो ७ दिन",
"sevenDayBet": "७-दिने बाजी",
"sevenDayPayoutLabel": "७-दिने भुक्तानी",
"sevenDayShareProfitLabel": "७-दिने शेयर नाफा",
"pendingBills": "बाँकी बिल",
"pendingUnpaid": "नतिरेको {{amount}}",
"latestBetAt": "पछिल्लो बाजी {{time}}",
"noBetToday": "आज अहिलेसम्म बाजी छैन",
"yes": "हो",
"no": "होइन",
"lineMeta": "गहिराइ {{depth}} · सन्तान एजेन्ट {{childAgent}} · खेलाडी {{player}}",
"overviewEmpty": "लाइन सञ्चालन डाटा छैन। एजेन्ट बाइन्डिङ जाँच गर्नुहोस्।"
},
"warnings": {
"drawPermission": "यो खातासँग ड्रअ/ड्यासबोर्ड हेर्ने अनुमति छैन। वित्तीय र जोखिम डाटा फिर्ता आएन।",
"walletPermission": "यो खातासँग वालेट मिलान हेर्ने अनुमति छैन। असामान्य ट्रान्सफर संख्या फिर्ता आएन।",
"analyticsUnavailable": "ट्रेन्ड/र्याङ्किङ विश्लेषण उपलब्ध छैन। माथिको KPI हेर्न सकिन्छ।",
"loadFailed": "लोड असफल भयो। API र लगइन अवस्था जाँच गर्नुहोस्।"
}
}