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",

View File

@@ -37,6 +37,11 @@
"loadFailed": "Failed to load agent tree",
"siteLabel": "Site",
"createChild": "Add child agent",
"viewDownline": "चाइल्ड एजेन्ट र खेलाडी हेर्नुहोस्",
"downlineDialogTitle": "{{name}} — चाइल्ड एजेन्ट र खेलाडी",
"downlineAgentsSection": "चाइल्ड एजेन्ट",
"downlinePlayersSection": "प्रत्यक्ष खेलाडी",
"downlineNoAgents": "कुनै चाइल्ड एजेन्ट छैन",
"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.",
"bindAccountHint": "No login account is bound yet. Saving will create one.",
"modelGuide": "एजेन्ट तहले डाटा स्कोप र delegation ceiling नियन्त्रण गर्छ; खाताको अनुमति भूमिका मार्फत बाँडिन्छ।",
"pageGuide": "यहाँ एजेन्ट ट्री, एजेन्ट भूमिका, एजेन्ट खाता र delegation ceiling व्यवस्थापन गरिन्छ। प्लेटफर्म खाता र प्लेटफर्म भूमिका अलग पृष्ठमा राखिन्छ।",
"summary": {
@@ -83,7 +94,17 @@
"canCreateChildAgent": "अधीनस्थ एजेन्ट सिर्जना अनुमति",
"cycleDaily": "दैनिक",
"cycleWeekly": "साप्ताहिक",
"cycleMonthly": "मासिक"
"cycleMonthly": "मासिक",
"loading": "Loading share and credit settings…",
"loadFailed": "Failed to load share and credit settings.",
"loadingBlocked": "Share and credit settings are still loading.",
"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",
"defaultRebateRange": "Default player rebate must be between 0 and 1",
"defaultExceedsLimit": "Default player rebate cannot exceed the rebate ceiling"
}
},
"settlementBills": {
"title": "एजेन्ट बिल",

View File

@@ -37,6 +37,11 @@
"loadFailed": "加载代理列表失败",
"siteLabel": "站点",
"createChild": "添加下级代理",
"viewDownline": "查看下级代理和玩家",
"downlineDialogTitle": "{{name}} — 下级代理与玩家",
"downlineAgentsSection": "下级代理",
"downlinePlayersSection": "直属玩家",
"downlineNoAgents": "暂无下级代理",
"editNode": "编辑代理",
"deleteNode": "删除代理",
"deleteNodeConfirm": "删除后不可恢复,请确认该代理无下级、无账号、无角色绑定。",
@@ -59,6 +64,12 @@
"deleteSuccess": "已删除代理 {{name}}",
"saveFailed": "保存失败",
"codeRequired": "请填写代理名称和登录名",
"nameRequired": "请填写代理名称",
"usernameRequired": "请填写登录名",
"passwordRequired": "请填写密码",
"passwordMinLength": "密码至少 8 位",
"bindAccountPasswordRequired": "该代理尚未绑定登录账号,请填写初始密码以创建账号",
"bindAccountHint": "该代理尚无登录账号,保存时将自动创建并绑定。",
"modelGuide": "代理层负责数据范围Scope与授权上限Ceiling账号权限请通过角色分配。",
"pageGuide": "这里统一管理代理树、代理角色、代理账号与下放上限。平台账号和平台角色请到各自的平台治理页面维护。",
"summary": {
@@ -83,7 +94,17 @@
"canCreateChildAgent": "允许创建下级代理",
"cycleDaily": "日结",
"cycleWeekly": "周结",
"cycleMonthly": "月结"
"cycleMonthly": "月结",
"loading": "正在加载占成与授信…",
"loadFailed": "加载占成与授信失败,请关闭后重试",
"loadingBlocked": "占成与授信尚未加载完成,请稍候再保存",
"validation": {
"shareRange": "占成比例须在 0100 之间",
"creditInvalid": "授信额度不能为负数",
"rebateLimitRange": "回水上限须在 01 之间(如 0.005 表示 0.5%",
"defaultRebateRange": "默认玩家回水须在 01 之间",
"defaultExceedsLimit": "默认玩家回水不能超过回水上限"
}
},
"settlementBills": {
"title": "代理账单",