feat(i18n, agents): enhance multi-language support with new agent-related translations

Added new translations for agent management features in English, Nepali, and Chinese, including terms related to sub-agents, player management, and validation messages. This update improves the user experience by ensuring consistent terminology across different languages in the agents console.
This commit is contained in:
2026-06-04 10:15:19 +08:00
parent cbc499e5b2
commit c2eac2fafc
5 changed files with 355 additions and 38 deletions

View File

@@ -37,6 +37,11 @@
"loadFailed": "Failed to load agent tree",
"siteLabel": "Site",
"createChild": "Add child agent",
"viewDownline": "View sub-agents and players",
"downlineDialogTitle": "{{name}} — sub-agents and players",
"downlineAgentsSection": "Sub-agents",
"downlinePlayersSection": "Direct players",
"downlineNoAgents": "No sub-agents yet",
"editNode": "Edit node",
"deleteNode": "Delete node",
"deleteNodeConfirm": "This action cannot be undone. Make sure the node has no children, users, or roles.",
@@ -59,6 +64,12 @@
"deleteSuccess": "Deleted agent {{name}}",
"saveFailed": "Save failed",
"codeRequired": "Code and name are required",
"nameRequired": "Agent name is required",
"usernameRequired": "Login name is required",
"passwordRequired": "Password is required",
"passwordMinLength": "Password must be at least 8 characters",
"bindAccountPasswordRequired": "This agent has no login account yet. Enter an initial password to create one.",
"bindAccountHint": "No login account is bound yet. Saving will create and bind one automatically.",
"modelGuide": "Agent layer controls data scope and delegation ceiling. Account permissions are assigned through roles.",
"pageGuide": "Manage the agent tree, agent roles, agent accounts, and delegation ceilings here. Platform accounts and platform roles stay in platform governance pages.",
"summary": {
@@ -83,7 +94,17 @@
"canCreateChildAgent": "Allow creating sub-agents",
"cycleDaily": "Daily",
"cycleWeekly": "Weekly",
"cycleMonthly": "Monthly"
"cycleMonthly": "Monthly",
"loading": "Loading share and credit settings…",
"loadFailed": "Failed to load share and credit settings. Close and try again.",
"loadingBlocked": "Share and credit settings are still loading. Please wait before saving.",
"validation": {
"shareRange": "Share rate must be between 0 and 100",
"creditInvalid": "Credit limit cannot be negative",
"rebateLimitRange": "Rebate ceiling must be between 0 and 1 (e.g. 0.005 = 0.5%)",
"defaultRebateRange": "Default player rebate must be between 0 and 1",
"defaultExceedsLimit": "Default player rebate cannot exceed the rebate ceiling"
}
},
"settlementBills": {
"title": "Agent bills",