{
  "title": "Agent management",
  "sitesListHint": "For integration keys and callbacks, go to",
  "sitesListLink": "Config · Connected sites",
  "lineUi": {
    "kicker": "Credit share · Agent tree",
    "agentCount": "{{count}} agents in this group",
    "searchPlaceholder": "Search name or login",
    "directChildren": "{{count}} direct downline",
    "selectAgent": "Select an agent to view share & credit",
    "selectAgentHint": "Settlement boundaries follow the agent tree; share, credit and rebate are configured per node.",
    "allocatedCredit": "Allocated",
    "availableCredit": "Available",
    "profileFootnote": "Rebate cap {{rebate}}% · Default {{defaultRebate}}%",
    "tabOverview": "Overview",
    "tabProfile": "Share & credit",
    "tabProfileReadOnly": "Share & credit (read-only)",
    "currentSite": "Site",
    "viewAll": "View all",
    "shareRebateCap": "Rebate cap {{rate}}%",
    "overviewDownlineCard": "View and manage direct downline agents",
    "overviewDownlineCount": "{{count}}",
    "overviewPlayersHint": "View direct players and credit status",
    "overviewPlayersSummary": "Player management",
    "downlineEmptyTitle": "No direct downline yet",
    "editAccount": "Account & status",
    "saveProfile": "Save share & credit",
    "tabDownline": "Downline",
    "tabPlayers": "Players",
    "noDelegatedTabs": "This agent cannot create downline agents or players; only share and credit settings apply."
  },
  "listTitle": "Agents",
  "listSearch": "Search name / code / login",
  "siteSearch": "Search site name",
  "parentAgent": "Parent",
  "childrenCount": "Direct downline",
  "subnav": {
    "label": "Agent management navigation",
    "noPermission": "No permission",
    "operations": "Line & agent tree",
    "provision": "Provision level-1 agent",
    "settlementBills": "Periods & bills",
    "provisionHint": "One-time onboarding; use Line & agent tree for daily work"
  },
  "includeRoots": "Include root nodes",
  "includeRootsHint": "Root nodes represent site boundaries and are excluded from operating agent counts by default.",
  "directoryStatus": {
    "all": "All statuses",
    "enabled": "Enabled only",
    "disabled": "Disabled only"
  },
  "tabs": {
    "subordinates": "Subordinates",
    "accounts": "Primary account",
    "players": "Players",
    "overview": "Overview",
    "roles": "Roles",
    "users": "Accounts",
    "delegation": "Delegation ceiling"
  },
  "filterParent": "Parent agent",
  "filterParentAll": "All subordinates",
  "listFlatHint": "All operating agents in a flat list. Use row actions to add a child under a specific agent.",
  "addChildNeedParent": "Select a parent agent before adding a subordinate",
  "treeTitle": "Agent tree",
  "detailTitle": "Node details",
  "selectNode": "Select an agent node from the tree",
  "loadFailed": "Failed to load agent tree",
  "lineFilter": "Level-1 agent",
  "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.",
  "deleteNodeBlockedHint": "Remove child agents, roles, and accounts before deleting this node",
  "deleteNodeBlockedPrefix": "Cannot delete yet: ",
  "deleteBlocked": {
    "children": "{{count}} child agent(s) remain",
    "roles": "{{count}} role(s) must be removed in the Roles tab first",
    "users": "{{count}} bound account(s) remain"
  },
  "code": "Code",
  "name": "Name",
  "namePlaceholder": "Enter agent name",
  "depth": "Depth",
  "path": "Path",
  "status": "Status",
  "isRoot": "Root",
  "createSuccess": "Created agent {{name}}",
  "updateSuccess": "Updated {{name}}",
  "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": {
    "currentSiteNodes": "Current site nodes",
    "currentSiteAgents": "Current site operating agents",
    "visibleList": "Current flat list rows",
    "visibleAgents": "Current visible operating agents",
    "globalNodes": "All-site node total",
    "globalAgents": "All-site operating agents",
    "enabledAgents": "Enabled operating agents",
    "rootNodes": "Root node count"
  },
  "profile": {
    "section": "Share & credit",
    "totalShareRate": "Share rate (%)",
    "creditLimit": "Credit limit",
    "rebateLimit": "Rebate ceiling (%)",
    "defaultPlayerRebate": "Default player rebate (%)",
    "settlementCycle": "Settlement cycle",
    "canGrantExtraRebate": "Allow extra rebate",
    "canCreatePlayer": "Allow creating players",
    "canCreateChildAgent": "Allow creating sub-agents",
    "cycleDaily": "Daily",
    "cycleWeekly": "Weekly",
    "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 100%",
      "defaultRebateRange": "Default player rebate must be between 0 and 100%",
      "defaultExceedsLimit": "Default player rebate cannot exceed the rebate ceiling"
    }
  },
  "settlementBills": {
    "title": "Agent bills",
    "description": "Bills appear after a period is closed; latest period is selected by default.",
    "periodLabel": "Period",
    "periodPlaceholder": "Select period",
    "allPeriods": "All periods",
    "filteredByPeriodRange": "Bills for {{range}}",
    "emptyNoPeriodsManage": "No periods or bills yet. Use quick presets under Period management, then close the period.",
    "emptyNoPeriodsAgent": "No bills yet. Your upline or platform will close periods; you do not need to enter dates.",
    "emptyNoClosed": "No closed period yet. Bills are generated after close.",
    "typePlayer": "Player bill",
    "typeAgent": "Agent bill",
    "columns": {
      "id": "ID",
      "period": "Period",
      "type": "Type",
      "net": "Net",
      "unpaid": "Unpaid",
      "status": "Status"
    }
  },
  "settlementPeriods": {
    "manageTitle": "Period management",
    "manageHint": "Open and close periods here; bills above update automatically. Quick presets are usually enough.",
    "presetThisWeek": "This week",
    "presetLastWeek": "Last week",
    "presetThisMonth": "This month",
    "openHint": "Local dates ({{tz}})",
    "startDate": "Start date",
    "endDate": "End date",
    "open": "Open period",
    "openFailed": "Failed to open period",
    "datesRequired": "Enter start and end dates",
    "invalidRange": "End date cannot be before start date",
    "statusOpen": "Open",
    "statusClosed": "Closed"
  },
  "lineProvision": {
    "title": "Create level-1 agent",
    "description": "Creates the level-1 agent, admin login, and line settings (share, credit, rebate, settlement cycle) in one step.",
    "name": "Level-1 agent name",
    "username": "Admin login",
    "password": "Initial password",
    "walletUrl": "Wallet API URL (optional technical field)",
    "submit": "Create level-1 agent",
    "success": "Level-1 agent created",
    "secretsOnce": "Integration secrets are shown once — save them now",
    "link": "Create level-1 agent"
  },
  "noAccess": "You do not have permission to manage agents. Contact an administrator.",
  "playersPanel": {
    "create": "Create player",
    "scopedTo": "Direct players: {{agent}}",
    "allUnderSite": "Players visible on this site",
    "filterHint": "Filter direct players by parent agent.",
    "loginRequired": "Enter login username and initial password",
    "loginUsername": "Login username",
    "initialPassword": "Initial password",
    "externalIdOptional": "External ID (optional)",
    "externalIdHint": "Leave blank to auto-generate",
    "creditLimit": "Credit limit",
    "rebateRate": "Rebate rate (%)",
    "rebateRateHint": "Enter percent, e.g. 5 = 5%",
    "availableToGrant": "Agent available to grant: {{amount}}",
    "riskTags": "Risk tags",
    "riskTagsPlaceholder": "Comma-separated",
    "createSuccessNative": "Player {{name}} created — use lottery /login"
  },
  "delegation": {
    "title": "Delegation ceiling",
    "hint": "Select actions this child agent may grant to its own subordinates. Agent roles cannot exceed this ceiling.",
    "permission": "Action",
    "canDelegate": "May delegate further",
    "save": "Save ceiling",
    "saveSuccess": "Delegation ceiling saved",
    "empty": "No actions available to assign",
    "rootDenied": "Root nodes do not use delegation ceilings"
  },
  "roles": {
    "title": "Agent roles",
    "create": "Create role",
    "permissions": "Permissions",
    "slug": "Slug",
    "userCount": "Users",
    "createSuccess": "Created role {{name}}",
    "updateSuccess": "Updated role {{name}}",
    "deleteSuccess": "Deleted role {{name}}",
    "permissionSaveSuccess": "Permissions updated",
    "readOnlyTemplate": "Read-only template",
    "inUse": "{{count}} in use",
    "permissionSubsetHint": "Only permissions you hold can be assigned"
  },
  "users": {
    "title": "Agent accounts",
    "create": "Create account",
    "username": "Username",
    "email": "Email",
    "password": "Password",
    "roles": "Roles",
    "createSuccess": "Created account {{name}}",
    "roleSaveSuccess": "Roles updated for {{name}}",
    "deleteConfirm": "This admin will no longer be able to sign in. This cannot be undone.",
    "deleteSuccess": "Deleted account {{name}}"
  },
  "usernamePlaceholder": "Enter login username",
  "passwordPlaceholder": "Enter an 8-character password",
  "passwordOptionalHint": "Leave empty to keep unchanged, or enter an 8-character password"
}
