feat(api, agents, i18n): enhance settlement features and multi-language support

Added new types and API functions for settlement period summaries and credit ledgers, improving the management of agent settlements. Updated the admin console to reflect these changes, enhancing user experience with better navigation and data presentation. Additionally, expanded multi-language support by incorporating new translations in English, Nepali, and Chinese for settlement-related terms, ensuring consistency across the platform.
This commit is contained in:
2026-06-05 18:00:59 +08:00
parent 65eaeecf8c
commit af982bb9f7
73 changed files with 4307 additions and 2494 deletions

View File

@@ -17,6 +17,7 @@
"rulesPlaysTitle": "Play rules",
"rulesOddsTitle": "Odds & rebate",
"rulesOddsDescription": "Odds matrix and rebate rates on one page, sharing the same odds version line.",
"rulesOddsDescriptionShort": "Pick a play on the left, edit odds and rebate on the right, then save and publish.",
"riskCapTitle": "Risk cap rules"
},
"hub": {
@@ -411,6 +412,16 @@
"oddsConfig": "Odds"
},
"currentSelection": "Selection: {{category}} / {{play}}",
"playSelectPlaceholder": "Select play type",
"readOnlyBanner": "This version is read-only. Create a draft to edit odds and rebate.",
"table": {
"prizeScope": "Prize scope",
"multiplier": "Odds multiplier"
},
"draftBar": {
"unsaved": "Unsaved changes",
"saved": "Changes kept in local draft"
},
"playGroups": {
"bigSmall": "Big / small",
"combo4": "4D position",
@@ -420,10 +431,13 @@
},
"summary": {
"title": "Summary",
"version": "Version",
"contextTitle": "Version & tips",
"version": "Editing version",
"activeVersion": "Active version",
"statusLabel": "Status",
"readOnlyTag": "Read-only",
"readOnlyHint": "This version is read-only. Create a draft to make changes.",
"draftHint": "Save draft changes before publishing; publish affects new tickets only.",
"activeHint": "This version is active; new tickets use these settings."
},
"tabs": {