{
  "title": "代理管理",
  "sitesListHint": "线路对接参数（密钥、回调等）请前往",
  "sitesListLink": "运营配置 · 接入站点",
  "lineUi": {
    "kicker": "信用占成 · 代理树",
    "agentCount": "本组 {{count}} 个代理",
    "searchPlaceholder": "搜索名称或登录名",
    "directChildren": "直属下级 {{count}}",
    "selectAgent": "选择左侧代理查看占成与授信",
    "selectAgentHint": "信用占成盘以代理树为结算边界，占成、授信与回水均在代理节点配置。",
    "allocatedCredit": "已下发",
    "availableCredit": "可下发",
    "profileFootnote": "回水上限 {{rebate}}% · 默认回水 {{defaultRebate}}%",
    "tabOverview": "概览",
    "currentSite": "当前站点",
    "viewAll": "查看全部",
    "shareRebateCap": "回水上限 {{rate}}%",
    "overviewDownlineCard": "查看并管理直属下级代理",
    "overviewDownlineCount": "{{count}} 个",
    "downlineEmptyTitle": "暂无直属下级",
    "tabProfile": "占成与授信",
    "tabProfileReadOnly": "占成与授信（只读）",
    "profileReadOnlyHint": "占成、授信与回水由上级配置，如需调整请联系上级代理或平台。",
    "selfAgentOverviewHint": "以下为上级为您分配的授信额度，占成与回水由上级在后台维护，本账号不可查看或修改。",
    "overviewDownlineHint": "直属下级 {{count}} 个，可在「直属下级」Tab 管理。",
    "overviewPlayersHint": "查看直属玩家与授信情况",
    "overviewPlayersSummary": "玩家管理",
    "tabDownline": "直属下级",
    "tabPlayers": "直属玩家",
    "playersUnavailableHint": "当前代理未开启“允许创建玩家”，如需新增请先调整该代理配置。",
    "playersNoPermissionHint": "当前账号没有该节点的玩家管理权限。",
    "downlineColumns": {
      "email": "邮箱",
      "downlineCount": "下级数"
    },
    "editAccount": "账号与状态",
    "editCurrent": "编辑本代理",
    "saveProfile": "保存占成与授信",
    "profileTabHint": "占成、授信、回水与风控标签在此维护；登录名与密码请用「账号与状态」。",
    "nextSteps": "建议操作",
    "stepProfile": "配置占成、授信与回水",
    "stepDownline": "管理直属下级（当前 {{count}} 个）",
    "stepPlayers": "创建或维护直属玩家",
    "downlineEmpty": "暂无直属下级。创建下级代理后将在此展示。",
    "downlineEmptyShort": "暂无直属下级。",
    "noDelegatedTabs": "该代理未开放创建下级或玩家。请使用「编辑本代理」维护占成、授信与风控标签。",
    "sidebarShareRate": "占成 {{rate}}%",
    "sidebarAvailableCredit": "可下发 {{amount}}",
    "expand": "展开",
    "collapse": "收起"
  },
  "listTitle": "代理列表",
  "listSearch": "搜索代理名称 / 编码 / 登录名",
  "siteSearch": "搜索站点名称",
  "parentAgent": "上级代理",
  "childrenCount": "直属下级",
  "subnav": {
    "label": "代理管理导航",
    "noPermission": "无权限",
    "operations": "线路与代理树",
    "provision": "开通一级代理",
    "settlementBills": "账期与账单",
    "provisionHint": "请先在「平台管理 → 接入配置」创建接入站点；对接密钥在站点创建时一次性展示。"
  },
  "includeRoots": "包含根节点",
  "includeRootsHint": "根节点表示一级代理线路边界，默认不计入经营代理列表。",
  "directoryStatus": {
    "all": "全部状态",
    "enabled": "仅启用",
    "disabled": "仅停用"
  },
  "treeTitle": "代理树",
  "tabs": {
    "subordinates": "下级管理",
    "accounts": "主账号",
    "players": "玩家管理",
    "overview": "概况",
    "roles": "角色",
    "users": "账号",
    "delegation": "授权上限"
  },
  "filterParent": "上级代理",
  "filterParentAll": "全部下级",
  "listFlatHint": "列表平铺展示所有经营代理；添加下级请使用行内「添加下级代理」。",
  "addChildNeedParent": "请先在「上级代理」中选择要为谁添加下级",
  "detailTitle": "代理详情",
  "selectNode": "请选择代理",
  "loadFailed": "加载代理列表失败",
  "lineFilter": "一级代理",
  "createChild": "添加下级代理",
  "viewDownline": "查看下级代理和玩家",
  "downlineDialogTitle": "{{name}} — 下级代理与玩家",
  "downlineAgentsSection": "下级代理",
  "downlinePlayersSection": "直属玩家",
  "downlineNoAgents": "暂无下级代理",
  "editNode": "编辑代理",
  "deleteNode": "删除代理",
  "deleteNodeConfirm": "删除后不可恢复，请确认该代理无下级、无账号、无角色绑定。",
  "deleteNodeBlockedHint": "请先删除下级代理、角色与账号后再删除该代理",
  "deleteNodeBlockedPrefix": "暂不可删除：",
  "deleteBlocked": {
    "children": "仍有 {{count}} 个下级代理",
    "roles": "仍有 {{count}} 个角色需先在「角色」里删除",
    "users": "仍有 {{count}} 个账号需先处理"
  },
  "code": "编码",
  "name": "名称",
  "namePlaceholder": "请输入代理名称",
  "depth": "层级",
  "path": "路径",
  "status": "状态",
  "isRoot": "根节点",
  "createSuccess": "已创建代理 {{name}}",
  "updateSuccess": "已更新 {{name}}",
  "deleteSuccess": "已删除代理 {{name}}",
  "saveFailed": "保存失败",
  "codeRequired": "请填写代理名称和登录名",
  "nameRequired": "请填写代理名称",
  "usernameRequired": "请填写登录名",
  "passwordRequired": "请填写密码",
  "passwordMinLength": "密码至少 8 位",
  "bindAccountPasswordRequired": "该代理尚未绑定登录账号，请填写初始密码以创建账号",
  "bindAccountHint": "该代理尚无登录账号，保存时将自动创建并绑定。",
  "modelGuide": "代理层负责数据范围（Scope）与授权上限（Ceiling），账号权限请通过角色分配。",
  "pageGuide": "这里统一管理代理树、代理角色、代理账号与下放上限。平台账号和平台角色请到各自的平台治理页面维护。",
  "summary": {
    "currentSiteNodes": "当前线路节点总数",
    "currentSiteAgents": "当前线路经营代理数",
    "visibleList": "当前平铺列表条数",
    "visibleAgents": "当前可见经营代理数",
    "globalNodes": "全部线路节点总数",
    "globalAgents": "全部线路经营代理数",
    "enabledAgents": "启用中的经营代理数",
    "rootNodes": "根节点数量"
  },
  "profile": {
    "section": "占成与授信",
    "totalShareRate": "占成比例 (%)",
    "relativeShareRate": "占成比例（占上级 %）",
    "relativeShareRateValue": "占上级 {{rate}}%",
    "creditLimit": "授信额度",
    "rebateLimit": "回水上限 (%)",
    "defaultPlayerRebate": "默认玩家回水 (%)",
    "settlementCycle": "结算周期",
    "canGrantExtraRebate": "允许额外回水",
    "canCreatePlayer": "允许创建玩家",
    "canCreateChildAgent": "允许创建下级代理",
    "capabilityHint": "保存后对该代理主账号生效；若平台「代理」角色含玩家/节点管理权限，此前仍可能可操作——现已按本开关自动收紧登录权限。",
    "parentCaps": "上级占成 {{share}}%，可下发 {{credit}}",
    "availableCredit": "可下发额度 {{amount}}",
    "cycleDaily": "日结",
    "cycleWeekly": "周结",
    "cycleMonthly": "月结",
    "loading": "正在加载占成与授信…",
    "loadFailed": "加载占成与授信失败，请关闭后重试",
    "loadingBlocked": "占成与授信尚未加载完成，请稍候再保存",
    "validation": {
      "shareRange": "占成比例须在 0–100 之间",
      "creditInvalid": "授信额度不能为负数",
      "rebateLimitRange": "回水上限须在 0–100% 之间",
      "defaultRebateRange": "默认玩家回水须在 0–100% 之间",
      "defaultExceedsLimit": "默认玩家回水不能超过回水上限"
    },
    "riskTags": "风控标签",
    "riskTagsPlaceholder": "逗号分隔，如 overdue, high_turnover",
    "saveSuccess": "占成与授信已保存"
  },
  "settlementBills": {
    "title": "代理账单",
    "description": "账期关闭后生成的玩家/代理账单；默认展示最近一期。",
    "periodLabel": "查看账期",
    "periodPlaceholder": "选择账期",
    "allPeriods": "全部账期",
    "filteredByPeriodRange": "账期 {{range}} 的账单",
    "emptyNoPeriodsManage": "尚无账单。请在结算中心完成「关账出账」后，账单会出现在此处。",
    "emptyNoPeriodsAgent": "尚无账单。账期由上级或平台关账后自动生成，无需您手动筛选时间。",
    "emptyNoClosed": "当前没有已关账的账期，账单尚未生成。请等待负责人关账后再查看。",
    "typePlayer": "玩家账单",
    "typeAgent": "代理层级账单",
    "platform": "平台",
    "filteredByPeriod": "当前仅显示账期 #{{id}} 的账单",
    "clearPeriodFilter": "显示全部账期",
    "columns": {
      "id": "ID",
      "period": "账期",
      "type": "类型",
      "party": "本方",
      "counterparty": "对方",
      "net": "净额",
      "unpaid": "未结",
      "status": "状态",
      "grossWinLoss": "输赢"
    },
    "detail": "详情",
    "confirm": "确认账单",
    "confirmed": "已确认",
    "paymentAmount": "收付金额",
    "recordPayment": "登记收付",
    "paid": "已登记收付",
    "subtreeSummary": "子树汇总",
    "grossWinLoss": "输赢 (gross_win_loss)",
    "rebateAmount": "回水",
    "shareProfit": "占成利润",
    "platformRounding": "平台尾差"
  },
  "settlementReports": {
    "title": "账期报表（信用占成盘）",
    "description": "§21.12 报表集：玩家输赢、代理占成、回水、授信、未结/逾期与平台盈亏。",
    "type": "报表类型",
    "footnote": "本组报表为信用占成盘账期口径，与「佣金/回水」旧钱包报表不同。",
    "noPeriodHint": "未选具体账期时使用近 7 日区间；平台盈亏需选择账期。",
    "types": {
      "summary": "摘要",
      "player_win_loss": "玩家输赢",
      "agent_share": "代理占成",
      "rebate": "回水",
      "credit": "授信",
      "unpaid_bills": "未结账单",
      "overdue": "逾期",
      "platform_pnl": "平台盈亏",
      "draw_period": "期号维度"
    },
    "summary": {
      "billCount": "账单数",
      "totalNet": "净额合计",
      "totalUnpaid": "未结合计",
      "overdueCount": "逾期账单",
      "platformRounding": "平台尾差合计"
    },
    "rebate": {
      "accrued": "应计",
      "inBill": "已入账单",
      "settled": "已结算",
      "allocated": "已分摊"
    },
    "credit": {
      "agents": "代理授信",
      "players": "玩家授信"
    },
    "platformPnl": {
      "periodRequired": "请选择具体账期后查看平台盈亏。",
      "billNet": "平台账单净额",
      "rounding": "尾差调整",
      "shareProfit": "占成利润(元数据)"
    },
    "columns": {
      "player": "玩家",
      "gameType": "玩法",
      "grossWinLoss": "输赢",
      "rebate": "回水",
      "agentId": "代理 ID",
      "count": "笔数",
      "billId": "账单",
      "billType": "类型",
      "unpaid": "未结",
      "status": "状态",
      "overdueDays": "逾期天数",
      "drawNo": "期号",
      "code": "编码",
      "name": "名称",
      "creditLimit": "授信",
      "allocated": "已下发",
      "available": "可用",
      "used": "已用",
      "frozen": "冻结",
      "rebateType": "回水类型",
      "amount": "金额"
    }
  },
  "settlementPeriods": {
    "title": "代理账期",
    "manageTitle": "账期管理",
    "manageHint": "平台或负责人开账并关账后，上方账单会自动生成。一般用快捷账期即可，无需手填时间。",
    "presetHint": "快捷账期（推荐）",
    "presetThisWeek": "本周",
    "presetLastWeek": "上周",
    "presetThisMonth": "本月",
    "openHint": "本地日期（{{tz}}）",
    "openWithPreset": "填入快捷账期",
    "showAdvanced": "自定义起止日期",
    "hideAdvanced": "收起自定义日期",
    "range": "账期",
    "statusOpen": "进行中",
    "statusClosed": "已关账",
    "empty": "尚无账期，请选择快捷账期并开账。",
    "startDate": "开始日期",
    "endDate": "结束日期",
    "start": "开始",
    "end": "结束",
    "status": "状态",
    "open": "开账",
    "close": "关账并生成账单",
    "viewBills": "账单",
    "opened": "账期已开启",
    "closed": "账期已关账，账单已生成",
    "openFailed": "开账失败",
    "closeFailed": "关账失败",
    "datesRequired": "请填写账期起止日期",
    "invalidRange": "结束日期不能早于开始日期"
  },
  "lineProvision": {
    "title": "创建一级代理",
    "description": "将一级代理绑定到已有接入站点，并配置后台登录账号与占成、授信、回水、结算周期。",
    "siteCode": "接入站点",
    "siteCodePlaceholder": "选择站点",
    "siteRequired": "请选择接入站点",
    "noUnboundSite": "暂无未绑定一级代理的站点",
    "openIntegrationSites": "前往接入站点",
    "name": "一级代理名称",
    "username": "后台登录账号",
    "password": "初始密码",
    "passwordHint": "至少 8 位",
    "submit": "创建一级代理",
    "success": "一级代理已创建",
    "link": "创建一级代理"
  },
  "noAccess": "您没有代理经营相关权限，请联系管理员开通。",
  "playersPanel": {
    "create": "创建玩家",
    "siteCode": "所属线路",
    "scopedTo": "直属玩家：{{agent}}",
    "allUnderSite": "当前一级代理线路下可见玩家",
    "filterHint": "可按上级代理查看其直属玩家。",
    "loginRequired": "请填写登录账号与初始密码",
    "loginUsername": "登录账号",
    "initialPassword": "初始密码",
    "passwordHint": "至少 8 位",
    "passwordMinLength": "初始密码至少 8 位",
    "externalIdOptional": "外部 ID（可选）",
    "externalIdHint": "留空则系统自动生成",
    "creditLimit": "授信额度",
    "rebateRate": "回水比例 (%)",
    "rebateRateHint": "填写百分比，如 5 表示 5%",
    "availableToGrant": "代理剩余可下发：{{amount}}",
    "creditLimitInvalid": "授信额度必须为不小于 0 的整数",
    "creditLimitExceeded": "授信额度不能超过当前代理可下发额度",
    "rebateRateInvalid": "回水比例须在 0–100% 之间",
    "riskTags": "风控标签",
    "riskTagsPlaceholder": "逗号分隔",
    "fundingMode": "资金模式",
    "authSource": "登录来源",
    "rebateInherited": "继承代理默认回水",
    "creditListHint": "信用占成盘：下列为玩家授信额度与可用信用，非主站钱包余额。",
    "playerRef": "玩家标识",
    "usernameNickname": "用户名 / 昵称",
    "creditLimitAvailable": "授信 / 可用",
    "createSuccessNative": "玩家 {{name}} 已创建，请使用彩票端 /login 登录"
  },
  "delegation": {
    "title": "下放权限上限",
    "hint": "勾选允许该下级代理继续下放的操作；保存后创建角色时不可超出此范围。",
    "permission": "操作",
    "canDelegate": "可继续下放",
    "save": "保存上限",
    "saveSuccess": "下放上限已保存",
    "empty": "暂无可配置的操作",
    "rootDenied": "根节点无需配置下放上限"
  },
  "roles": {
    "title": "代理角色",
    "create": "创建角色",
    "permissions": "权限",
    "slug": "标识",
    "userCount": "人数",
    "createSuccess": "已创建角色 {{name}}",
    "updateSuccess": "已更新角色 {{name}}",
    "deleteSuccess": "已删除角色 {{name}}",
    "permissionSaveSuccess": "权限已更新",
    "readOnlyTemplate": "只读模板",
    "inUse": "{{count}} 人使用中",
    "permissionSubsetHint": "只能分配您当前拥有的权限",
    "selectedCount": "已选 {{selected}} / {{total}} 项",
    "groupSelectedCount": "已选 {{selected}} / {{total}}",
    "selectGroup": "本组全选",
    "noAssignablePermissions": "当前没有可分配权限"
  },
  "users": {
    "title": "代理账号",
    "create": "创建账号",
    "username": "登录名",
    "email": "邮箱",
    "password": "密码",
    "roles": "角色",
    "createSuccess": "已创建账号 {{name}}",
    "roleSaveSuccess": "已更新 {{name}} 的角色",
    "deleteConfirm": "删除后该管理员将无法登录，且不可恢复。",
    "deleteSuccess": "已删除账号 {{name}}"
  },
  "usernamePlaceholder": "请输入登录名",
  "passwordPlaceholder": "请输入8位数密码",
  "passwordOptionalHint": "留空则不修改，修改请输入8位数密码"
}
