feat(i18n, config): enhance agent management localization and add settings/currencies hub cards
Some checks failed
lotteryadmin CI / build (push) Has been cancelled

Added new agent-related translation keys across English, Nepali, and Chinese including agentCode, agentName, loginUsername, and detailTabs. Enhanced agent console hints for child creation permissions and line root profile read-only states. Added validation error messages for share/rebate parent limits and username charset validation. Introduced common status labels (enabled/disabled) and yes/no/none text
This commit is contained in:
2026-06-24 11:19:07 +08:00
parent 9491ff10dd
commit 7d075ceb62
10 changed files with 106 additions and 6 deletions

View File

@@ -4,6 +4,9 @@
"bindAccountPasswordRequired": "This agent has no login account yet. Enter an initial password to create one.",
"childrenCount": "Direct downline",
"code": "Code",
"agentCode": "Agent code",
"agentName": "Agent name",
"loginUsername": "Login name",
"codeRequired": "Code and name are required",
"createChild": "Add child agent",
"createSuccess": "Created agent {{name}}",
@@ -29,6 +32,7 @@
"deleteSuccess": "Deleted agent {{name}}",
"depth": "Depth",
"detailTitle": "Node details",
"detailTabs": "Agent details",
"directoryStatus": {
"all": "All statuses",
"disabled": "Disabled only",
@@ -78,6 +82,7 @@
"downlineEmptyShort": "No direct downline yet.",
"downlineEmptyTitle": "No direct downline yet",
"editAccount": "Account & status",
"editAgent": "Edit agent",
"editCurrent": "Edit this agent",
"expand": "Expand",
"kicker": "Credit share · Agent tree",
@@ -107,6 +112,13 @@
"tabDownline": "Downline",
"tabOverview": "Overview",
"tabPlayers": "Players",
"createDirectPlayer": "Create direct player",
"createDownline": "Create child agent",
"editDownline": "Edit agent",
"deleteDownline": "Delete agent",
"addChildUnavailableHint": "This agent has not enabled \"Allow creating sub-agents\". Adjust the agent profile first.",
"addChildNoPermissionHint": "Your account does not have permission to create sub-agents on this node.",
"lineRootProfileReadOnlyHint": "Level-1 agent share, site credit, and rebate are configured by the platform super admin. You can grant credit to downline agents and players.",
"tabProfile": "Share & credit",
"tabProfileReadOnly": "Share & credit (read-only)",
"viewAll": "View all"
@@ -187,6 +199,9 @@
"creditExceedsParentWithMax": "Credit limit cannot exceed {{max}}",
"creditInvalid": "Credit limit cannot be negative",
"defaultExceedsLimit": "Default player rebate cannot exceed the rebate ceiling",
"defaultExceedsLimitWithMax": "Default player rebate cannot exceed {{max}}%",
"shareExceedsParent": "Share rate cannot exceed parent (max {{max}}%)",
"rebateExceedsParent": "Rebate ceiling cannot exceed parent (max {{max}}%)",
"defaultRebateRange": "Default player rebate must be between 0 and 100%",
"rebateLimitRange": "Rebate ceiling must be between 0 and 100%",
"shareRange": "Share rate must be between 0 and 100"
@@ -381,6 +396,7 @@
"updateSuccess": "Updated {{name}}",
"usernamePlaceholder": "Enter login username",
"usernameRequired": "Login name is required",
"usernameInvalidCharset": "Login name may only contain letters, digits, dots (.), underscores, and hyphens",
"users": {
"create": "Create account",
"createSuccess": "Created account {{name}}",