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:
2026-06-02 14:37:08 +08:00
parent a4e7a2d228
commit b15e377187
105 changed files with 5305 additions and 1596 deletions

View 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 subordinates.",
"permission": "Action",
"canDelegate": "May delegate further",
"save": "Save ceiling",
"saveSuccess": "Delegation ceiling saved",
"empty": "No actions available",
"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}}"
}
}

View File

@@ -125,6 +125,11 @@
"display": "खेलाडी",
"sitePlayerId": "खेलाडी ID"
},
"agentColumns": {
"agent": "एजेन्ट",
"filter": "एजेन्ट",
"filterAll": "सबै एजेन्ट"
},
"toolbar": {
"defaultAdmin": "प्रशासक",
"notifications": "सूचना",
@@ -155,10 +160,19 @@
"settings": "सेटिङ",
"account": "खाता सेटिङ",
"integration": "मुख्य साइट एकीकरण",
"agents": "एजेन्ट व्यवस्थापन",
"config": "सञ्चालन कन्फिगरेसन"
},
"sidebar": {
"workspace": "कार्यस्थान"
"workspace": "कार्यस्थान",
"group": {
"overview": "सारांश",
"agent": "एजेन्ट संगठन",
"operations": "दैनिक सञ्चालन",
"finance": "वित्त र रिपोर्ट",
"rules": "नियम र प्यारामिटर",
"platform": "प्लेटफर्म"
}
},
"auth": {
"checking": "लगइन स्थिति जाँच हुँदैछ…",

View File

@@ -29,6 +29,7 @@
"granularityDay": "दैनिक",
"playBreakdown": "प्ले विभाजन",
"playRanking": "शीर्ष ५ प्ले",
"agentRanking": "शीर्ष ५ एजेन्ट",
"rankingMetricLabel": "रैंकिङ मेट्रिक",
"rankingMetrics": {
"bet": "बेट रकम",
@@ -37,6 +38,7 @@
},
"periodDistribution": "अवधि संरचना",
"noPlayData": "यस अवधिमा प्ले डाटा छैन",
"noAgentData": "यस अवधिमा एजेन्ट डाटा छैन",
"periods": {
"today": "आज",
"last_7_days": "पछिल्लो ७ दिन",
@@ -90,6 +92,7 @@
"batchPendingDraws": "सम्बन्धित ड्रअ",
"batchPendingDrawsCount": "{{count}} ड्रअ पेन्डिङ",
"platformLockedAndCap": "साइट लक {{locked}} / क्याप {{cap}}",
"platformCapNotConfigured": "साइट लक {{locked}} · क्याप कन्फिगर गरिएको छैन",
"platformOrderAndTicket": "साइटव्यापी {{orders}} अर्डर · {{tickets}} लाइन",
"platformBetTotal": "जम्मा बेट",
"platformNoFinanceActivity": "साइटव्यापी अहिले बेट छैन",

View File

@@ -2,10 +2,13 @@
"title": "मिलान",
"createTitle": "म्यानुअल मिलान कार्य",
"createDesc": "मिति दायरा र वैकल्पिक खेलाडी चयनबाट असामान्य ट्रान्सफर म्यानुअल रूपमा जाँच गर्नुहोस्। scheduled reconciliation स्वतः चलिरहन्छ।",
"scopeTitle": "पहिले मिलानको दायरा तय गर्नुहोस्",
"scopeDescription": "पहिले व्यवसाय प्रकार र मिति दायरा रोज्नुहोस्, त्यसपछि आवश्यक परे एक खेलाडीमा सीमित गर्नुहोस्।",
"reconcileType": "मिलान प्रकार",
"reconcileTypeFixed": "वालेट ट्रान्सफर (मुख्य साइट ⇄ लटरी)",
"reconcileTypeHint": "हाल वालेट ट्रान्सफर मात्र समर्थित छ।",
"dateRange": "मिलान मिति दायरा",
"dateRangeHint": "पहिले छोटो समयावधि रोजेर समस्या कहाँ केन्द्रित छ हेर्नुहोस्, त्यसपछि आवश्यक परे दायरा बढाउनुहोस्।",
"createTask": "मिलान कार्य सिर्जना",
"submitting": "पेश हुँदैछ…",
"loadFailed": "लोड असफल भयो",
@@ -16,13 +19,21 @@
"createSuccess": "मिलान कार्य सिर्जना भयो",
"createFailed": "कार्य सिर्जना असफल भयो",
"noCreatePermission": "हालको खातासँग मिलान कार्य सिर्जना गर्ने अनुमति छैन।",
"playerScopeTitle": "आवश्यक परे एक खेलाडीमा सीमित गर्नुहोस्",
"playerAllPlayersHint": "खेलाडी नछानेमा, छनोट गरिएको मिति दायराभित्र सबै खेलाडीका लागि मिलान चलाइनेछ।",
"createSummaryAll": "{{from}} देखि {{to}} सम्म सबै खेलाडीका लागि म्यानुअल मिलान चलाइनेछ।",
"createSummaryPlayer": "खेलाडी {{player}} का लागि {{from}} देखि {{to}} सम्म म्यानुअल मिलान चलाइनेछ।",
"jobsTitle": "मिलान कार्यहरू",
"jobsDesc": "दायाँपट्टिको कार्यबाट विवरण खोल्नुहोस्।",
"refresh": "रिफ्रेस",
"jobNo": "कार्य नं.",
"type": "प्रकार",
"status": "स्थिति",
"itemCount": "विवरण संख्या",
"mismatchCount": "असंगति",
"matchedCount": "मेल खाएका",
"period": "अवधि",
"finishedAt": "समाप्त समय",
"createdAt": "सिर्जना समय",
"operate": "कार्य",
"view": "हेर्नुहोस्",
@@ -30,6 +41,7 @@
"sideARef": "लटरी साइड सन्दर्भ",
"sideBRef": "मुख्य साइट सन्दर्भ",
"differenceAmount": "अन्तर (cent)",
"detectedAt": "फेला परेको समय",
"noDetails": "विवरण छैन",
"playerSearch": "खेलाडी (वैकल्पिक)",
"playerSearchPlaceholder": "player ID / username / nickname बाट खोज्नुहोस्",

View File

@@ -84,15 +84,109 @@
"subtitle": "तल तालिकामा नतिजा देखिन्छ।",
"empty": "डाटा छैन।",
"exportableRows": "पङ्क्ति निर्यात योग्य",
"summaryScopeHint": "कुल रेकर्ड बाहेक माथिका कार्डहरू हालको पूर्वावलोकन पृष्ठको योग हुन्। पूर्ण दायराको संख्या चाहिँ पूर्ण CSV/Excel निर्यात प्रयोग गर्नुहोस्।",
"scope": {
"currentPage": "हालको पृष्ठ"
},
"columns": {
"primary": "",
"secondary": "",
"metricA": "",
"metricB": "",
"metricC": "",
"status": "",
"extra": "",
"time": ""
"primary": "मुख्य",
"secondary": "सहायक",
"metricA": "सूचक A",
"metricB": "सूचक B",
"metricC": "सूचक C",
"status": "स्थिति",
"extra": "थप",
"time": "समय",
"drawProfit": {
"primary": "ड्र / ब्याच",
"secondary": "ड्र / सेटलमेन्ट स्थिति",
"metricA": "अर्डर / टिकट",
"metricB": "टिकट / विजेता",
"metricC": "बेट / हाउस P&L",
"status": "पेआउट / ज्याकपोट",
"extra": "ब्याच संख्या",
"time": "समाप्त"
},
"dailyProfit": {
"primary": "व्यावसायिक मिति",
"secondary": "टिप्पणी",
"metricA": "बेट",
"metricB": "पेआउट",
"metricC": "हाउस P&L",
"status": "रिफन्ड",
"extra": "नेट",
"time": "अपडेट"
},
"playerWinLoss": {
"primary": "खेलाडी",
"secondary": "खेलाडी ID",
"metricA": "बेट",
"metricB": "पेआउट",
"metricC": "नेट जित/हार",
"status": "स्तर",
"extra": "टिप्पणी",
"time": "समय"
},
"playerTransfer": {
"primary": "ट्रान्सफर नं.",
"secondary": "खेलाडी",
"metricA": "दिशा",
"metricB": "स्थिति",
"metricC": "रकम",
"status": "बाह्य सन्दर्भ",
"extra": "असफल कारण",
"time": "सिर्जना"
},
"hotNumberRisk": {
"primary": "नम्बर / लग",
"secondary": "ड्र / कार्य",
"metricA": "क्याप / रकम",
"metricB": "लक / खेल",
"metricC": "बाँकी / टिकट",
"status": "सोल्ड आउट / खेलाडी",
"extra": "प्रयोग / कारण",
"time": "संस्करण / समय"
},
"playDimension": {
"primary": "खेल",
"secondary": "आयाम",
"metricA": "बेट",
"metricB": "पेआउट",
"metricC": "हाउस P&L",
"status": "अनुपात",
"extra": "टिप्पणी",
"time": "समय"
},
"soldOut": {
"primary": "नम्बर",
"secondary": "ड्र",
"metricA": "क्याप",
"metricB": "लक",
"metricC": "बाँकी",
"status": "सोल्ड आउट",
"extra": "प्रयोग",
"time": "संस्करण"
},
"rebateCommission": {
"primary": "खेल",
"secondary": "अर्डर",
"metricA": "रिबेट",
"metricB": "टिकट आइटम",
"metricC": "कमिसन",
"status": "नियम मिलान",
"extra": "टिप्पणी",
"time": "समय"
},
"adminAudit": {
"primary": "लग ID",
"secondary": "अपरेटर प्रकार",
"metricA": "अपरेटर ID",
"metricB": "मोड्युल",
"metricC": "कार्य",
"status": "लक्ष्य प्रकार",
"extra": "IP",
"time": "समय"
}
},
"stats": {
"records": "रेकर्ड",
@@ -179,7 +273,7 @@
},
"daily_profit": {
"title": "दैनिक P&L सारांश",
"summary": "मिति अनुसार बेट, पेआउट,िफन्ड, P&L र नेट रकम सारांश गर्नुहोस्।"
"summary": "व्यावसायिक मितिअनुसार बेट रकम, पेआउट र हाउस P&L सारांश गर्नुहोस्। रिफन्ड र छुट्टै नेट रकम अहिले समावेश छैन।"
},
"player_win_loss": {
"title": "खेलाडी जित/हार रिपोर्ट",