/** 列表页 / 弹窗文案（并入 admin-messages） */
export const adminPagesZh: Record<string, string> = {
  'common.detail': '详情',
  'common.create': '创建',
  'common.create_btn': '+ 新建',
  'common.save': '保存',
  'common.close': '关闭',
  'common.import': '导入',
  'common.publish': '发布',
  'common.topup': '上分',
  'common.adjust_credit': '调额',
  'common.freeze': '冻结',
  'common.unfreeze': '解冻',
  'common.settle': '结算',
  'common.close_betting': '封盘',
  'common.never_login': '从未登录',
  'common.optional': '选填',
  'common.to': '止',
  'common.module': '模块',
  'common.col_id': 'ID',
  'common.times': '次',
  'common.bets_count_unit': '笔',

  'user.create_btn': '+ 新建玩家',
  'user.filter.username_ph': '用户名',
  'user.filter.agent': '所属代理',
  'user.filter.agent_ph': '全部',
  'user.col.username': '用户名',
  'user.col.agent': '所属代理',
  'user.col.balance': '可用 / 冻结',
  'user.col.bets': '注单',
  'user.col.stake_payout': '投注 / 派彩',
  'user.col.last_login': '最后登录',
  'user.col.created': '注册时间',
  'user.status.ACTIVE': '正常',
  'user.status.SUSPENDED': '停用',
  'user.dialog.create': '新建玩家',
  'user.dialog.edit': '编辑玩家',
  'user.dialog.deposit': '玩家上分',
  'user.dialog.detail': '玩家详情',
  'user.field.password': '登录密码',
  'user.field.confirm_password': '确认密码',
  'user.field.initial_balance': '初始余额',
  'user.field.deposit_remark': '上分备注',
  'user.field.amount': '金额',
  'user.field.remark': '备注',
  'user.field.account_status': '账号状态',
  'user.field.available': '可用余额',
  'user.field.frozen_balance': '冻结余额',
  'user.field.bets_summary': '注单 / 投注',
  'user.field.total_payout': '累计派彩',
  'user.field.login_fail': '登录失败',
  'user.field.phone': '手机',
  'user.field.email': '邮箱',
  'user.field.allow_password_change': '允许玩家改密码',
  'user.field.allow_username_change': '允许玩家改账号名',
  'user.field.view_password': '登录密码',
  'user.field.reset_password': '重置密码',
  'user.password_not_stored': '未记录（玩家已自行修改或未保存）',
  'user.btn.show_password': '查看',
  'user.btn.hide_password': '隐藏',
  'user.ph.reset_password': '留空则不修改；填写后将更新并可查看',
  'user.ph.reset_password_short': '留空不修改',
  'user.page_settings': '全局设置',
  'user.global_settings': '密码与账号管理（全局）',
  'user.global_settings_hint': '控制所有玩家是否可在 App 内改密码、改账号名',
  'user.reset_database': '重置数据库',
  'user.reset_database_hint': '清空全部业务数据并恢复为初始演示数据（用户、赛事、注单、账变等）。此操作不可撤销。',
  'user.reset_database_confirm_label': '请输入 RESET 以确认',
  'user.reset_database_confirm_ph': '输入 RESET',
  'user.reset_database_btn': '重置为初始数据',
  'user.reset_database_disabled_prod': '生产环境已禁用；需服务端设置 ALLOW_DB_RESET=true',
  'user.reset_database_success': '数据库已重置，请使用初始账号重新登录',
  'user.reset_database_accounts': '演示账号',
  'user.section.password_mgmt': '密码管理',
  'user.field.current_password': '当前密码',
  'user.msg.created_with_password': '玩家已创建，登录密码：{password}',
  'user.msg.password_saved': '密码已更新，当前可查密码：{password}',
  'user.hint.password_reset_to_view': '旧账号暂无记录。请在下方「重置密码」填写新密码并保存，即可在此查看。',
  'user.ph.username_unique': '登录用户名，唯一',
  'user.ph.username_player': '字母与数字，3–32 位',
  'user.hint.username_player': '仅允许英文字母和数字，不可含中文或特殊符号',
  'user.ph.no_agent': '不设置（平台直属玩家）',
  'user.hint.no_agent': '留空表示不挂靠代理，由平台直接管理',
  'user.hint.platform_direct_player': '该玩家隶属于平台（管理员直属）',
  'user.hint.initial_balance': '创建后自动上分，0 表示不开户赠金',
  'user.hint.deposit_remark': '有初始余额时写入流水备注',
  'user.hint.freeze_in_list': '冻结/解冻请在列表操作列进行',
  'user.hint.agent_change': '留空表示平台直属；变更后会重算相关代理已用授信',
  'user.hint.agent_readonly': '所属代理创建后不可修改',
  'user.hint.allow_password_change': '关闭后所有玩家均不可在客户端修改密码',
  'user.hint.allow_username_change': '开启后所有玩家均可在资料页修改登录账号名',
  'user.hint.view_password': '仅保存后台创建或重置时的密码；玩家自行改密后会清除',
  'user.hint.reset_password': '重置后立即生效，并更新上方可查密码',
  'user.btn.create': '创建',
  'user.btn.save_profile': '保存资料',
  'user.btn.confirm_deposit': '确认上分',
  'user.deposit_remark_default': '管理员上分',
  'user.field.account_type': '账号类型',
  'user.type.player': '玩家',
  'user.type.tier1_agent': '一级代理',
  'user.type.sub_agent': '二级代理',
  'user.hint.account_type': '代理使用授信额度；玩家可挂靠代理并上分',

  'agent.create_btn': '+ 新建一级代理',
  'agent.create_sub_btn': '+ 新建二级代理',
  'agent.create_sub': '创建二级代理',
  'agent.hint.sub_agent_parent': '二级代理必须挂靠在一级代理名下',
  'agent.hint.creating_under_agent': '在此代理下创建账号',
  'agent.filter.username_ph': '用户名',
  'agent_mgr.tab.players': '玩家',
  'agent_mgr.tab.agents': '代理',
  'agent.col.level': '层级',
  'agent.col.credit': '授信 / 已用 / 可用',
  'agent.col.direct_players': '直属玩家',
  'agent.direct_players_title': '直属玩家 · {name}',
  'agent.platform_row_name': '平台',
  'agent.col.sub_agents': '下级代理',
  'agent.col.cashback': '返水率',
  'agent.col.phone': '手机',
  'agent.col.created': '创建时间',
  'agent.dialog.create': '新建一级代理',
  'agent.dialog.edit': '编辑代理',
  'agent.dialog.credit': '调整授信额度',
  'agent.field.agent_id': '代理 ID',
  'agent.dialog.detail': '代理详情',
  'agent.field.credit_limit': '授信额度',
  'agent.field.cashback_rate': '返水比例',
  'agent.field.adjust_amount': '调整金额',
  'agent.field.used_credit': '已用额度',
  'agent.field.available_credit': '可用授信',
  'agent.field.player_liability': '玩家负债',
  'agent.field.sub_agent_exposure': '下级代理敞口',
  'agent.hint.credit_limit': '代理可向直属玩家上分的总额度上限',
  'agent.hint.cashback_example': '例如 0.01 表示 1%',
  'agent.field.max_single_deposit': '单笔上分限额',
  'agent.field.max_daily_deposit': '日上分限额',
  'agent.hint.deposit_limit_empty': '0 表示不限；下级代理不能超过上级设置',
  'agent.hint.credit_adjust': '正数为增加授信，负数为减少',
  'agent.hint.credit_remark': '选填，写入额度流水',
  'agent.section.credit_log': '最近额度变动',
  'agent.credit.increase': '增加',
  'agent.credit.decrease': '减少',
  'agent.col.credit_type': '类型',
  'agent.col.credit_change': '变动',
  'agent.col.credit_before': '变动前',
  'agent.col.credit_after': '变动后',
  'agent.credit_tx.filter_agent_ph': '代理用户名',
  'agent.credit_tx.filter_agent_id': '代理 ID',
  'agent.credit_tx.filter_agent_id_ph': '用户 ID',
  'agent.credit_tx.col.operator': '操作人',
  'agent.credit_tx.view_all': '查看全部额度流水',
  'agent.col.no_records': '暂无记录',
  'agent.btn.confirm_adjust': '确认调整',
  'agent.field.select_user': '选择用户',
  'agent.ph.select_user': '搜索玩家用户名',
  'agent.hint.select_user': '从已有玩家账号中选择，将其设为一级代理（不新建登录账号）',
  'agent.suspend.settings_title': '代理停用策略',
  'agent.suspend.settings_hint': 'MVP 默认仅停用代理操作权限，不自动冻结或禁止其直属玩家登录。',
  'agent.suspend.freeze_direct_players': '停用时允许级联冻结直属玩家',
  'agent.suspend.block_player_login': '上级代理停用时禁止直属玩家登录',
  'agent.suspend.cascade_disabled_hint': '未开启级联冻结，仅停用该代理操作权限，直属玩家不受影响。',
  'agent.freeze.confirm_freeze_title': '确认停用代理',
  'agent.freeze.confirm_freeze_body': '确定停用代理「{name}」？停用后该代理无法登录代理端。',
  'agent.freeze.confirm_unfreeze_body': '确定恢复代理「{name}」为正常状态？',
  'agent.freeze.cascade_hint': '是否同时冻结该代理名下所有直属玩家账号？',
  'agent.freeze.cascade_label': '级联冻结直属玩家',
  'agent.msg.cascade_freeze_done': '已停用代理并冻结其直属玩家',
  'agent.msg.freeze_done': '已{action}',

  'match.create_btn': '+ 新增赛事',
  'match.create_fixture_btn': '+ 新增单场',
  'match.btn.markets': '盘口',
  'match.filter.keyword_ph': '赛事名 / 球队代码',
  'match.filter.status_hint': '仅筛选展开后的单场列表与「单场」列计数，不会隐藏新建的空联赛',
  'match.col.league': '赛事',
  'match.col.league_en': '联赛（英文）',
  'match.col.fixture_count': '单场',
  'match.col.bet_count': '注单数',
  'match.col.total_stake': '总投注额',
  'match.col.pending_bets': '待结算',
  'match.col.league_code': '代码',
  'match.col.matchup': '对阵',
  'match.col.kickoff': '开赛时间',
  'match.dialog.create_league': '新增赛事',
  'match.dialog.create_fixture': '新增单场',
  'match.dialog.create': '新增单场',
  'match.dialog.edit': '编辑单场',
  'match.dialog.import': '导入赛事',
  'match.field.league_en': '联赛（英）',
  'match.field.league_zh': '联赛（中）',
  'match.field.league_ms': '联赛（马来）',
  'match.field.league_logo': '赛事 Logo',
  'match.field.lang_zh': '中',
  'match.field.lang_en': 'EN',
  'match.field.lang_ms': 'MS',
  'match.field.kickoff': '开赛时间',
  'match.field.home_team': '主队',
  'match.field.away_team': '客队',
  'match.field.home_en': '主队（英）',
  'match.field.home_zh': '主队（中）',
  'match.field.home_ms': '主队（马来）',
  'match.field.away_en': '客队（英）',
  'match.field.away_zh': '客队（中）',
  'match.field.away_ms': '客队（马来）',
  'match.field.featured': '热门',
  'match.hint.create_draft': '创建后为草稿，请展开赛事后在单场行点击「发布」并生成盘口。',
  'match.hint.create_league': '创建赛事（联赛）后，展开该行可添加多场单场比赛。',
  'match.hint.edit_published': '已发布：可修改开赛时间、热门及显示名称；封盘/已结算后不可编辑。',
  'match.expand_league_hint': '展开联赛可管理单场赛事；夺冠盘口请在「优胜赛配置（盘口）」中设置赔率。',
  'match.expand_outright_hint': '展开联赛可编辑夺冠赔率；单场球队会自动同步，也可手动补充尚未赛程的球队。',
  'outright.odds_only_hint': '单场赛程中的球队会自动加入；可手动添加尚未参赛的球队，并在此调整赔率。',
  'outright.col.teams_from_fixtures': '参赛球队（来自单场）',
  'outright.col.teams_total': '冠军盘球队',
  'outright.empty_no_teams': '暂无球队，请先在「赛事配置」添加单场或点击「添加队伍」。',
  'match.outright.setup': '配置',
  'match.outright.section_hint': '按联赛配置冠军盘，与下方单场列表同属本联赛',
  'match.expand_markets_hint': '在单场列表点击「盘口」进入单独页面设置盘口与赔率。',
  'match.no_fixtures': '该赛事下暂无单场。',
  'match.ph.league_ms': '2027 世界杯',

  'bet.filter.keyword_ph': '流水编号 / 玩家用户名',
  'bet.filter.date_from': '投注日起',
  'bet.filter.date_start_ph': '开始',
  'bet.filter.date_end_ph': '结束',
  'bet.col.serial': '单号',
  'bet.col.bet_no': '流水编号',
  'bet.col.player': '玩家',
  'bet.col.agent': '所属代理',
  'bet.col.selection': '选项',
  'bet.col.content': '投注内容',
  'bet.content.bet_counts': '{singles}单 · {parlays}串',
  'bet.col.match': '赛事',
  'bet.legs_more': '还有 {n} 项…',
  'bet.col.selection_count': '投注项数',
  'bet.col.stake': '投注额',
  'bet.col.odds': '赔率',
  'bet.col.payout': '派彩',
  'bet.col.placed_at': '投注时间',
  'bet.dialog.detail': '注单详情',
  'bet.field.total_odds': '总赔率',
  'bet.field.currency': '币种',
  'bet.field.potential_win': '可赢额',
  'bet.field.actual_payout': '实际派彩',
  'bet.field.bet_status': '注单状态',
  'bet.field.settlement_status': '结算状态',
  'bet.field.settled_at': '结算时间',
  'bet.field.request_id': '请求 ID',
  'bet.selections_title': '投注项（{n}）',
  'bet.col.market': '玩法',
  'bet.col.period': '时段',
  'bet.col.line': '盘口',
  'bet.col.result': '赛果',

  'audit.module_ph': '如 USERS、AGENTS',
  'audit.col.action': '操作',
  'audit.col.module': '模块',
  'audit.col.target_id': '目标 ID',
  'audit.col.time': '时间',
  'audit.action.CREATE_PLAYER': '新建玩家',
  'audit.action.UPDATE_PLAYER': '更新玩家',
  'audit.action.RESET_DATABASE': '重置数据库',
  'audit.action.CREATE_AGENT': '新建代理',
  'audit.action.UPDATE_AGENT': '更新代理',
  'audit.action.UPDATE_PLAYER_ACCOUNT_SETTINGS': '更新玩家账号设置',
  'audit.action.UPDATE_AGENT_SUSPEND_SETTINGS': '更新代理停押设置',
  'audit.action.UPDATE_BETTING_LIMITS': '更新投注限额',
  'audit.action.CONFIRM_SETTLEMENT': '确认结算',
  'audit.action.CONFIRM_RESETTLE': '确认重结算',
  'audit.action.CONFIRM_CASHBACK': '确认发放返水',
  'audit.action.CANCEL_CASHBACK': '作废返水批次',
  'audit.module.USERS': '玩家',
  'audit.module.AGENTS': '代理',
  'audit.module.SYSTEM': '系统',
  'audit.module.SETTINGS': '系统设置',
  'audit.module.SETTLEMENT': '结算',
  'audit.module.CASHBACK': '返水',

  'cashback.start_date': '开始日期',
  'cashback.end_date': '结束日期',
  'cashback.preview_btn': '生成预览',
  'cashback.preview_title': '返水预览',
  'cashback.stat.players': '涉及玩家数',
  'cashback.stat.total': '返水总金额',
  'cashback.stat.lines': '明细条数',
  'cashback.stat.effective_stake': '有效投注总额',
  'cashback.stat.bet_count': '计入注单数',
  'cashback.stat.avg_rate': '平均返水比例',
  'cashback.batch_no': '批次号',
  'cashback.history_title': '返水记录',
  'cashback.history_empty': '暂无返水批次记录',
  'cashback.filter_status': '批次状态',
  'cashback.status.PREVIEW': '待发放',
  'cashback.status.CONFIRMED': '已发放',
  'cashback.col.period': '统计周期',
  'cashback.col.status': '状态',
  'cashback.col.bet_count': '注单数',
  'cashback.col.created_at': '生成时间',
  'cashback.col.confirmed_at': '发放时间',
  'cashback.col.operator': '操作人',
  'cashback.view_detail': '查看明细',
  'cashback.detail_title': '返水批次明细',
  'cashback.detail_summary': '批次汇总',
  'cashback.table_title': '玩家返水明细',
  'cashback.table_total': '合计',
  'cashback.empty_items': '本周期内无符合条件的返水记录',
  'cashback.col.index': '#',
  'cashback.col.player': '玩家',
  'cashback.col.agent': '所属代理',
  'cashback.col.effective_stake': '有效投注',
  'cashback.col.rate': '返水比例',
  'cashback.col.amount': '返水金额',
  'cashback.confirm_issue': '确认发放',
  'cashback.cancel_issue': '作废',
  'cashback.confirm_prompt': '确认向玩家钱包发放本批次返水？此操作不可撤销。',
  'cashback.cancel_prompt': '确认作废该待发放批次？作废后不会入账，可重新生成预览。',
  'cashback.status.CANCELLED': '已作废',
  'cashback.rules_title': '返水规则说明',
  'cashback.rule_period': '选择开始/结束日期，统计该周期内、按注单结算时间落在区间内的有效投注。',
  'cashback.rule_eligible': '计入：已结算且结果为「赢」或「输」的注单（单关按本金，串关按整单本金计一次）。不计入：未结算、已取消、作废、走水，以及返水比例为 0 的注单。',
  'cashback.rule_formula': '单笔返水 = 投注本金 × 适用返水比例；同一玩家多笔注单汇总后生成一条返水明细。',
  'cashback.rule_rate': '返水比例优先级：玩家专属规则 > 代理线规则 > 全局规则 > 所属代理默认返水率（在代理/玩家管理中配置，如 0.01 表示 1%）。',
  'cashback.rule_flow': '操作流程：生成预览（同周期仅保留一条待发放）→ 核对明细 → 确认发放；不需要的可作废。已发放周期不可重复预览。',
  'cashback.rule_note_zero': '预览为 0 时，请检查：周期内是否有已结算输赢注单、代理/玩家是否配置了大于 0 的返水率。',

  'user.field.player_id': '玩家 ID',
  'user.field.bet_count': '注单数',
  'user.field.total_stake': '累计投注',
  'user.field.registered_at': '注册时间',
  'user.ph.remark_initial': '有初始余额时写入流水备注',
  'user.bets_edit_value': '{n} 笔 / {stake}',
  'user.login_fail_value': '{n} 次',

  'match.import_hint': '粘贴含 matches 的 JSON，导入后为草稿，需在列表发布。',
  'match.import_start': '开始导入',
  'match.import_json_ph': '{"matches":[...]}',
  'match.delete_confirm_title': '删除确认',
  'match.delete_confirm_body': '确定删除赛事「{title}」？仅草稿且无注单时可删除。',
  'match.ph.league_en': 'FIFA World Cup 2026',
  'match.ph.league_zh': '2026 世界杯',
  'match.ph.kickoff': '2026-06-11T19:00:00Z',
  'match.ph.home_en': 'Mexico',
  'match.ph.home_zh': '墨西哥',
  'match.ph.home_ms': 'Mexico',
  'match.ph.away_en': 'South Africa',
  'match.ph.away_zh': '南非',
  'match.ph.away_ms': 'Afrika Selatan',

  'matchEditor.manage_btn': '基本信息',
  'matchEditor.back': '返回列表',
  'matchEditor.title': '编辑基本信息',
  'matchEditor.section_info': '基本信息',
  'matchEditor.section_markets': '盘口与赔率',
  'matchEditor.field.league_logo': 'Logo',
  'matchEditor.field.home_logo': 'Logo',
  'matchEditor.field.away_logo': 'Logo',
  'matchEditor.field.pick_flag': '选择国旗',
  'matchEditor.field.custom_logo_url': '自定义图片 URL',
  'matchEditor.ph.logo_url': 'https://...',
  'matchEditor.field.match_name': '赛事显示名',
  'matchEditor.field.stage': '阶段',
  'matchEditor.field.group': '小组',
  'matchEditor.field.display_order': '排序',
  'matchEditor.field.promo_label': '促销标签',
  'matchEditor.field.promo_label_optional': '促销标签（可选）',
  'matchEditor.field.line_value': '盘口线',
  'matchEditor.ph.kickoff': '选择开赛日期与时间',
  'matchEditor.group.league': '联赛信息',
  'matchEditor.group.home': '主队',
  'matchEditor.group.away': '客队',
  'matchEditor.group.schedule': '赛程与展示',
  'matchEditor.save_info': '保存基本信息',
  'matchEditor.save_market': '保存盘口设置',
  'matchEditor.save_odds': '保存赔率',
  'matchEditor.generate_templates': '生成默认盘口',
  'matchEditor.templates_generated': '盘口模板已生成',
  'matchEditor.no_markets': '暂无盘口，请先发布赛事或点击「生成默认盘口」。',
  'matchEditor.market.FT_1X2': '全场 1X2',
  'matchEditor.market.FT_HANDICAP': '全场让球',
  'matchEditor.market.FT_OVER_UNDER': '全场大小',
  'matchEditor.market.FT_ODD_EVEN': '全场单双',
  'matchEditor.market.HT_1X2': '半场 1X2',
  'matchEditor.market.HT_HANDICAP': '半场让球',
  'matchEditor.market.HT_OVER_UNDER': '半场大小',
  'matchEditor.market.FT_CORRECT_SCORE': '全场波胆',
  'matchEditor.market.HT_CORRECT_SCORE': '半场波胆',
  'matchEditor.market.SH_CORRECT_SCORE': '下半场波胆',
  'matchEditor.period.FT': '全场',
  'matchEditor.period.HT': '半场',
  'matchEditor.period.SH': '下半场',
  'matchEditor.period.OUTRIGHT': '冠军',
  'matchEditor.selection.HOME': '主',
  'matchEditor.selection.DRAW': '和',
  'matchEditor.selection.AWAY': '客',
  'matchEditor.selection.OVER': '大',
  'matchEditor.selection.UNDER': '小',
  'matchEditor.selection.ODD': '单',
  'matchEditor.selection.EVEN': '双',
  'matchEditor.selection.OTHER_DRAW': '和局其它比分',
  'matchEditor.selection.OTHER_HOME': '主胜其它比分',
  'matchEditor.selection.OTHER_AWAY': '客胜其它比分',
  'matchEditor.col.selection_code': '选项',
  'matchEditor.col.selection_name': '显示名',
  'matchEditor.col.odds': '赔率',
  'matchEditor.ph.selection_name': '玩家端显示名称',

  'err.username_required': '请填写用户名',
  'err.username_player_invalid': '玩家用户名仅可使用英文字母和数字（3–32 位），不可含中文或特殊符号',
  'err.password_min': '密码至少 8 位',
  'err.password_mismatch': '两次密码不一致',
  'err.credit_negative': '授信额度不能为负',
  'err.insufficient_credit': '可用授信不足，请减少上分金额或联系上级调额',
  'err.kickoff_required': '请填写开赛时间',
  'err.team_country_required': '请选择主客队',
  'err.teams_required': '请填写主客队名称（中文、英文或马来文至少一项）',
  'err.teams_same': '主客队不能相同，请填写不同的队名',
  'err.league_required': '请填写联赛名称（中文、英文或马来文至少一项）',
  'err.user_required': '请选择用户',
  'err.agent_no_parent': '一级代理不可设置上级玩家',
  'err.agent_no_initial_deposit': '设为代理时请勿填写玩家初始余额',

  'settlement.back': '返回赛事列表',
  'settlement.kickoff': '开赛时间',
  'settlement.stats_title': '下注统计',
  'settlement.stats_total_bets': '注单数',
  'settlement.stats_single': '单关',
  'settlement.stats_parlay': '串关',
  'settlement.stats_total_stake': '总投注额',
  'settlement.stats_potential': '最大可赢',
  'settlement.chart.bet_type': '单关 / 串关占比',
  'settlement.chart.status': '注单状态分布',
  'settlement.chart.stake_by_selection': '选项单关投注额 TOP6',
  'settlement.stats_by_market': '按玩法 / 选项汇总',
  'settlement.bet_list': '相关注单',
  'settlement.bet_list_hint': '按注单聚合；同场串关含多腿时显示 ×腿数',
  'settlement.no_bets': '本场暂无注单',
  'settlement.col.market': '玩法',
  'settlement.col.selection': '选项',
  'settlement.col.legs': '腿数',
  'settlement.col.single_stake': '单关投注额',
  'settlement.col.parlay_legs': '串关腿数',
  'settlement.ht_score': '半场比分',
  'settlement.ft_score': '全场比分',
  'settlement.record_score': '录入比分',
  'settlement.preview_hint': '生成预览前会自动保存上方比分',
  'settlement.preview_btn': '生成结算预览',
  'settlement.preview_failed': '生成结算预览失败',
  'settlement.err_score_not_recorded': '请先录入半场与全场比分后再结算',
  'settlement.preview_title': '结算预览',
  'settlement.single_count': '单关注单数',
  'settlement.preview_pending_bets': '待结算注单',
  'settlement.preview_bet_mix': '单关 / 串关',
  'settlement.preview_items_title': '逐笔预览（{n} 笔）',
  'settlement.preview_items_scroll_hint': '笔数较多时可滚动查看',
  'settlement.preview_col.result': '本场结果',
  'settlement.preview_zero_parlay_hint':
    '预计派彩为 0：本场虽有 {legs} 条赢腿，但均在跨场串关内（{pending} 笔待其他场次），须等其他比赛结算后才派彩。',
  'settlement.preview_zero_lost_hint':
    '预计派彩为 0：{count} 笔串关在本场已有输腿，整单作废；其余单关/串关本场亦未中奖。',
  'settlement.preview_zero_default_hint': '预计派彩为 0：本场相关注单均未中奖或暂不满足派彩条件。',
  'settlement.preview.result.WIN': '赢',
  'settlement.preview.result.LOSE': '输',
  'settlement.preview.result.LOST': '整单输',
  'settlement.preview.result.WON': '整单赢',
  'settlement.preview.result.PUSH': '走盘',
  'settlement.preview.result.PENDING_OTHER_MATCHES': '待其他场次',
  'settlement.est_payout': '预计派彩',
  'settlement.refund_amount': '退款金额',
  'settlement.confirm_btn': '确认结算',
  'settlement.resettle_reason': '重结算原因',
  'settlement.resettle_preview': '重结算预览',
  'settlement.resettle_preview_title': '重结算预览',
  'settlement.resettle_affected': '影响注单数',
  'settlement.resettle_topup': '需补发金额',
  'settlement.resettle_clawback': '需扣回金额',
  'settlement.resettle_confirm': '确认重结算',
  'user.betting_limits': '投注限额',
  'user.betting_limits_hint': '全局下注校验：最小/最大投注、最高派彩、每日投注上限',
  'user.limit.min_stake': '最小投注',
  'user.limit.max_stake_single': '单关最大投注',
  'user.limit.max_stake_parlay': '串关最大投注',
  'user.limit.max_payout_single': '单关最高派彩',
  'user.limit.max_payout_parlay': '串关最高派彩',
  'user.limit.daily_stake': '每日投注上限',
  'settlement.smart.btn': '智能比分',
  'settlement.smart.title': '智能推荐比分',
  'settlement.smart.hint': '根据本场待结算单关注单，在合理比分范围内穷举并计算派彩；串关仅统计不参与推荐。点击方案可填入录分框。',
  'settlement.smart.target_hold': '目标平台留存',
  'settlement.smart.recalc': '重新计算',
  'settlement.smart.apply': '采用此比分',
  'settlement.smart.applied': '已填入推荐比分',
  'settlement.smart.no_bets': '本场无待结算单关注单',
  'settlement.smart.empty': '未找到可用方案',
  'settlement.smart.meta': '单关 {singles} 笔，串关 {parlays} 笔未参与，已比对 {n} 组比分',
  'settlement.smart.hold': '留存',
  'settlement.smart.payout': '派彩',
  'settlement.smart.win_stake': '玩家赢注占比',
  'settlement.smart.wl': '赢/输单',
  'settlement.smart.strategy.MIN_PAYOUT': '平台最大留存（最低派彩）',
  'settlement.smart.strategy.MAX_PAYOUT': '玩家最大派彩',
  'settlement.smart.strategy.BALANCED': '投注均衡（约50%赢注额）',
  'settlement.smart.strategy.TARGET_HOLD': '目标留存率',
  'msg.score_recorded': '比分已录入',
  'msg.settlement_confirmed': '结算已确认',
  'msg.resettle_confirmed': '重结算已确认',

  'agent_portal.create_player_section': '创建玩家',
  'agent_portal.deposit_section': '上分操作',
  'agent_portal.create_player_btn': '+ 创建玩家',
  'agent_portal.create_tier2_btn': '+ 创建二级代理',
  'agent_portal.username_ph': '输入用户名',
  'agent_portal.agent_username_ph': '代理用户名',
  'agent_portal.player_id_ph': '玩家 ID',
  'agent_portal.withdraw_btn': '下分 {amount}',
  'agent_portal.withdraw_btn_label': '下分',
  'agent_portal.transfer_title_deposit': '给 {name} 上分',
  'agent_portal.transfer_title_withdraw': '从 {name} 下分',
  'transfer.context.player_section': '玩家余额',
  'transfer.context.agent_section': '授信代理 · {name}（L{level}）',
  'transfer.context.withdrawable': '可下分金额',
  'transfer.context.deposit_cap': '本次最多可上分',
  'transfer.context.daily_used': '今日已上分',
  'transfer.context.unlimited': '不限',
  'transfer.context.no_agent': '平台直属玩家，上分不受代理授信约束',
  'transfer.context.admin_credit_only': '管理员上分仅受上级可用授信约束，不受单笔/日限',
  'transfer.context.withdraw_exceed': '下分金额不能超过玩家可用余额',
  'credit.context.target_section': '目标代理授信',
  'credit.context.parent_section': '上级代理 · {name}',
  'credit.context.max_increase': '最多可增加授信',
  'credit.context.no_parent': '一级代理由平台直管，增信不受上级约束',
  'credit.context.after_adjust': '调整后授信额度',
  'credit.context.direct_liability': '直属玩家占用',
  'credit.context.child_exposure': '下级代理占用',
  'credit.context.acting_agent': '当前代理',
  'agent_portal.create_player_dialog': '新建直属玩家',
  'agent_portal.edit_player_dialog': '编辑直属玩家',
  'agent_portal.credit_available_hint': '当前可用授信：{amount}（上分将从授信中扣除）',
  'agent_portal.sub_agent_players_readonly': '以下为该二级代理直属玩家，仅可查看；开户、上分等操作由二级代理自行处理。',
  'agent_portal.initial_deposit_hint': '可选。开户时从您的授信中给玩家上分，不能超过可用授信',
  'agent_portal.search_player_ph': '用户名或 ID',
  'agent_portal.no_players': '暂无直属玩家，点击右上角创建',
  'agent_portal.search_sub_agent_ph': '用户名或 ID',
  'agent_portal.no_sub_agents': '暂无二级代理，点击右上角创建',
  'agent_portal.create_sub_agent_dialog': '新建二级代理',
  'agent_portal.sub_agent_credit_hint': '初始授信从您的可用额度中划拨，不能超过可用授信',
  'agent_portal.adjust_credit_dialog': '调整 {name} 授信',
  'agent_portal.credit_adjust_hint': '正数为增加授信，负数为减少授信',
  'msg.agent_sub_created': '下级代理已创建',
  'msg.withdraw_ok': '下分成功',

  'msg.form_invalid': '请检查表单',
  'msg.player_created': '玩家已创建',
  'msg.agent_created': '一级代理已创建',
  'msg.create_failed': '创建失败',
  'msg.saved': '已保存',
  'msg.save_failed': '保存失败',
  'msg.deleted': '已删除',
  'msg.delete_failed': '删除失败',
  'msg.league_created': '赛事已创建',
  'msg.match_created_draft': '单场已创建（草稿）',
  'msg.published': '已发布并生成盘口',
  'msg.closed': '已封盘',
  'msg.invalid_json': 'JSON 格式无效',
  'msg.import_failed': '导入失败',
  'msg.import_done': '导入完成：成功 {imported}，跳过 {skipped}，失败 {failed} / 共 {total}',
  'msg.topup_ok': '上分成功',
  'msg.topup_failed': '上分失败',
  'msg.transfer_failed': '操作失败',
  'msg.amount_gt_zero': '金额须大于 0',
  'msg.credit_zero': '调整金额不能为 0',
  'msg.credit_adjusted': '授信已调整',
  'msg.credit_adjust_failed': '调整失败',
  'msg.outright_no_edit': '冠军盘不支持在此编辑',
  'msg.outright_odds_saved': '夺冠赔率已保存',
  'msg.load_failed': '加载失败',

  'content.btn.create': '新建内容',
  'content.btn.enable': '启用',
  'content.btn.disable': '停用',
  'content.dialog.create': '新建公共内容',
  'content.dialog.edit': '编辑公共内容',
  'content.confirm_delete': '确定删除「{title}」？',
  'content.type.BANNER': '首页轮播',
  'content.type.ANNOUNCEMENT': '公告滚动',
  'content.hint.announcement': '显示在玩家端顶部跑马灯；标题与正文填一项即可，建议正文为主',
  'content.status.DRAFT': '草稿',
  'content.status.ACTIVE': '已启用',
  'content.status.INACTIVE': '已停用',
  'content.col.sort': '排序',
  'content.col.preview': '预览',
  'content.col.title': '标题/摘要',
  'content.col.player_visible': '玩家可见',
  'content.col.schedule': '展示时段',
  'content.col.link': '跳转',
  'content.field.link_type': '链接类型',
  'content.field.link_target': '链接目标',
  'content.field.start_time': '开始时间',
  'content.field.end_time': '结束时间',
  'content.field.title': '标题',
  'content.field.title_ph': '选填，可与正文相同',
  'content.field.body': '正文',
  'content.field.announce_text': '滚动文案',
  'content.field.image_url': '图片地址',
  'content.link.none': '无跳转',
  'content.locale.zh-CN': '简体中文',
  'content.locale.en-US': 'English',
  'content.locale.ms-MY': 'Bahasa Melayu',
  'content.hidden_reason.NOT_ACTIVE': '未启用或草稿',
  'content.hidden_reason.NOT_STARTED': '未到开始时间',
  'content.hidden_reason.EXPIRED': '已过结束时间',
  'content.hidden_reason.INCOMPLETE': '多语言内容不完整',
  'content.batch.selected': '已选 {n} 项',
  'content.batch.enable': '批量启用',
  'content.batch.disable': '批量停用',
  'content.batch.delete': '批量删除',
  'content.confirm_batch_enable': '确定启用选中的 {n} 项？',
  'content.confirm_batch_disable': '确定停用选中的 {n} 项？',
  'content.confirm_batch_delete': '确定删除选中的 {n} 项？',
  'content.batch.all_ok': '已成功处理 {n} 项',
  'content.batch.partial': '成功 {ok} 项，失败 {fail} 项',

  'page.outrights.title': '优胜冠军',
  'page.outrights.desc': '可新建任意联赛冠军盘、编辑队伍与赔率；世界杯 48 强提供一键导入基准数据',
  'outright.col.rank': '排名',
  'outright.col.team_zh': '队伍（中文）',
  'outright.col.team_en': '队伍（英文）',
  'outright.col.code': '代码',
  'outright.col.country': '国家/地区',
  'outright.col.odds': '夺冠赔率',
  'outright.country_ph': '搜索或选择国家',
  'teamLogo.kind.flag': '国旗',
  'teamLogo.kind.crest': '队徽',
  'outright.err_country': '请选择国家',
  'outright.btn.save_odds': '保存全部赔率',
  'outright.btn.save_meta': '保存赛事信息',
  'outright.btn.publish': '发布',
  'outright.btn.unpublish': '撤回发布',
  'outright.back_list': '返回列表',
  'outright.section.edit': '编辑冠军赛事',
  'outright.col.teams': '队伍数',
  'outright.col.player_visible': '玩家端',
  'outright.col.league_en': '联赛（英文）',
  'outright.expand_no_teams': '暂无队伍，请进入编辑页添加',
  'outright.fixtures_sync_hint': '参赛队伍来自本联赛单场赛程，仅可调整赔率与发布状态。',
  'outright.empty_no_fixtures': '该联赛暂无单场，请先在「赛事配置」中添加比赛。',
  'outright.btn.add_team': '添加队伍',
  'outright.add.filter_fixture': '已有队伍',
  'outright.add.filter_all': '全部内置',
  'outright.add.select_all': '全选',
  'outright.add.clear_selection': '取消全选',
  'outright.add.selected_count': '已选 {n} 支',
  'outright.add.empty_fixture': '暂无待添加的参赛球队（单场中已有且未在冠军盘的球队会显示在此）',
  'outright.add.empty_all': '所有内置球队均已加入冠军盘',
  'outright.add.default_odds': '默认赔率',
  'outright.add.search_ph': '搜索队名或代码',
  'outright.add.err_none': '请至少选择一支球队',
  'outright.batch.mode': '批量管理',
  'outright.batch.exit': '退出批量',
  'outright.batch.apply_odds': '应用赔率',
  'outright.batch.remove': '批量移除',
  'outright.batch.confirm_remove': '确定移除选中的 {n} 支队伍？',
  'outright.batch.err_none': '请先选择队伍',
  'outright.batch.apply_ok': '已更新 {n} 支队伍的赔率，请点击「保存全部赔率」',
  'outright.batch.remove_ok': '已移除 {n} 支队伍',
  'outright.batch.remove_partial': '成功 {ok} 支，失败 {fail} 支',
  'outright.sort.label': '排序',
  'outright.sort.rank': '排名',
  'outright.sort.name': '队名',
  'outright.sort.code': '代码',
  'outright.sort.odds': '赔率（当前）',
  'outright.sort.saved_odds': '赔率（已保存）',
  'outright.sort.asc': '升序',
  'outright.sort.desc': '降序',
  'msg.outright_teams_added': '已添加 {n} 支球队（跳过 {skipped} 支）',
  'outright.btn.create_event': '新建冠军赛事',
  'outright.btn.import_wc2026': '导入世界杯 48 强',
  'outright.btn.apply_canonical': '应用世界杯基准表',
  'outright.field.league': '所属联赛',
  'outright.section.settings': '赛事设置',
  'outright.section.teams': '队伍与赔率',
  'outright.field.title': '赛事标题',
  'outright.field.title_placeholder': '玩家端展示的冠军赛事名称',
  'outright.field.title_zh': '标题（中文）',
  'outright.field.title_en': '标题（英文）',
  'outright.field.title_ms': '标题（马来）',
  'outright.field.status': '发布状态',
  'outright.status.draft': '草稿',
  'outright.status.published': '已发布',
  'msg.outright_canonical_applied': '已按基准表写入 48 强夺冠赔率',
  'outright.team_count': '已配置 {n} / {total} 队',
  'outright.team_count_open': '共 {n} 支队伍',
  'outright.empty_events': '暂无冠军赛事',
  'outright.empty_hint': '点击「新建冠军赛事」或「导入世界杯 48 强」开始配置',
  'outright.err_odds_min': '赔率须大于 1.00',
  'outright.err_team_code': '请填写队伍代码',
  'outright.err_league': '请选择联赛',
  'outright.confirm_remove': '确定移除「{name}」？（关闭该投注项）',
  'outright.not_on_player': '玩家端不可见',
  'outright.player_hidden_title': '此赛事尚未在玩家端展示',
  'outright.hidden_reason.NOT_PUBLISHED': '请将发布状态设为「已发布」并保存赛事信息。',
  'outright.hidden_reason.NO_SELECTIONS': '请至少添加 1 支开放状态的队伍。',
  'outright.hidden_reason.MARKET_CLOSED': '冠军盘口未开放，请联系技术检查盘口状态。',
  'msg.load_matches_failed': '加载赛事失败',
  'msg.cashback_issued': '返水已发放',
  'msg.cashback_cancelled': '返水批次已作废',
  'msg.cashback_preview_ready': '预览已生成，请核对后确认发放',
  'msg.cashback_preview_replaced': '已替换同周期 {n} 条旧预览',
  'msg.freeze_confirm_title': '{action}账号',
  'msg.freeze_confirm_body': '确定要{action}玩家「{name}」吗？{extra}',
  'msg.freeze_extra': '冻结后该账号将无法登录。',
  'msg.freeze_done': '已{action}',
  'msg.freeze_failed': '{action}失败',

  'smoke.intro': '在后台一键运行自动化冒烟测试，覆盖结算引擎、下注规则、代理额度逻辑、返水规则、数据库探针，以及下注→结算→钱包全链路集成用例。',
  'smoke.intro_rule': '规则类用例与 Jest 单元测试同源逻辑，不写入业务数据。',
  'smoke.intro_db': '「数据库」套件仅做连接与配置探针（只读）。',
  'smoke.intro_bet_flow': '「下注结算链路」套件会创建临时赛事/玩家并自动清理，验证冻结、派彩与代理额度。',
  'smoke.intro_note': '可替代大部分 UAT 手工回归；发返水等仍建议抽样人工确认。',
  'smoke.field.suites': '测试套件',
  'smoke.ph.suites': '选择要运行的套件',
  'smoke.btn.run': '运行测试',
  'smoke.last_run': '最近一次运行',
  'smoke.results_title': '用例结果',
  'smoke.empty': '尚未运行测试，请点击「运行测试」。',
  'smoke.stat.pass': '通过',
  'smoke.stat.fail': '失败',
  'smoke.stat.total': '合计',
  'smoke.col.id': '编号',
  'smoke.col.suite': '套件',
  'smoke.col.name': '用例',
  'smoke.col.uat': 'UAT',
  'smoke.col.duration': '耗时',
  'smoke.col.steps': '步骤',
  'smoke.col.message': '说明',
  'smoke.no_steps': '无步骤明细',
  'smoke.status.PASS': '通过',
  'smoke.status.FAIL': '失败',
  'smoke.status.SKIP': '跳过',
  'smoke.msg.all_passed': '全部通过（{n} 项）',
  'smoke.msg.has_failures': '有 {n} 项失败，请查看明细',
  'smoke.msg.run_failed': '测试运行失败',
  'smoke.log_title': '详细日志',
  'smoke.btn.copy_all': '复制全部日志',
  'smoke.btn.copy_one': '复制',
  'smoke.msg.copy_ok': '已复制到剪贴板',
  'smoke.msg.copy_failed': '复制失败，请手动选中日志复制',
  'audit.action.RUN_SMOKE_TESTS': '运行自动化测试',

  'media.title': '媒体库',
  'media.upload_btn': '上传文件',
  'media.category.all': '全部',
  'media.category.banners': 'Banner',
  'media.category.teams': '赛事 Logo',
  'media.category.contents': '内容图片',
  'media.col.preview': '预览',
  'media.col.filename': '文件名',
  'media.col.category': '分类',
  'media.col.size': '大小',
  'media.col.status': '使用状态',
  'media.col.uploaded': '上传时间',
  'media.col.actions': '操作',
  'media.status.used': '使用中',
  'media.status.unused': '未使用',
  'media.purge_btn': '清除未使用',
  'media.purge_confirm': '确认删除 {n} 个未使用的文件？此操作不可撤销。',
  'media.purge_none': '暂无未使用的文件',
  'media.purge_success': '已清除 {n} 个文件',
  'media.delete_confirm': '确认删除此文件？',
  'media.delete_success': '已删除',
  'media.upload_success': '上传成功',
  'media.upload_failed': '上传失败',
  'media.copy_url': '复制链接',
  'media.url_copied': '链接已复制',
  'media.upload_dialog': '上传文件',
  'media.upload_hint': '支持 PNG、JPG、WEBP、GIF、SVG，最大 5MB',
  'media.upload_category': '分类',
  'media.drop_hint': '拖拽文件至此，或点击选择',
  'media.no_files': '暂无文件',
  'media.refresh': '刷新',
  'media.unused_count': '{n} 个未使用',
};

export const adminPagesEn: Record<string, string> = {
  'common.detail': 'Details',
  'common.create': 'Create',
  'common.create_btn': '+ New',
  'common.save': 'Save',
  'common.close': 'Close',
  'common.import': 'Import',
  'common.publish': 'Publish',
  'common.topup': 'Top up',
  'common.adjust_credit': 'Adjust credit',
  'common.freeze': 'Freeze',
  'common.unfreeze': 'Unfreeze',
  'common.settle': 'Settle',
  'common.close_betting': 'Close',
  'common.never_login': 'Never signed in',
  'common.optional': 'Optional',
  'common.to': 'To',
  'common.module': 'Module',
  'common.col_id': 'ID',
  'common.times': 'times',
  'common.bets_count_unit': 'bets',

  'user.create_btn': '+ New player',
  'user.filter.username_ph': 'Username',
  'user.filter.agent': 'Agent',
  'user.filter.agent_ph': 'All',
  'user.col.username': 'Username',
  'user.col.agent': 'Agent',
  'user.col.balance': 'Available / Frozen',
  'user.col.bets': 'Bets',
  'user.col.stake_payout': 'Stake / Payout',
  'user.col.last_login': 'Last login',
  'user.col.created': 'Registered',
  'user.status.ACTIVE': 'Active',
  'user.status.SUSPENDED': 'Suspended',
  'user.dialog.create': 'New player',
  'user.dialog.edit': 'Edit player',
  'user.dialog.deposit': 'Top up player',
  'user.dialog.detail': 'Player details',
  'user.field.password': 'Password',
  'user.field.confirm_password': 'Confirm password',
  'user.field.initial_balance': 'Initial balance',
  'user.field.deposit_remark': 'Top-up note',
  'user.field.amount': 'Amount',
  'user.field.remark': 'Note',
  'user.field.account_status': 'Account status',
  'user.field.available': 'Available balance',
  'user.field.frozen_balance': 'Frozen balance',
  'user.field.bets_summary': 'Bets / stake',
  'user.field.total_payout': 'Total payout',
  'user.field.login_fail': 'Failed logins',
  'user.field.phone': 'Phone',
  'user.field.email': 'Email',
  'user.field.allow_password_change': 'Allow player password change',
  'user.field.allow_username_change': 'Allow player username change',
  'user.field.view_password': 'Login password',
  'user.field.reset_password': 'Reset password',
  'user.password_not_stored': 'Not stored (player changed it or never saved)',
  'user.btn.show_password': 'Show',
  'user.btn.hide_password': 'Hide',
  'user.ph.reset_password': 'Leave empty to keep; new value will be viewable',
  'user.ph.reset_password_short': 'Leave empty to keep',
  'user.page_settings': 'Global settings',
  'user.global_settings': 'Password & account (global)',
  'user.global_settings_hint': 'Controls whether all players can change password or username in the app',
  'user.reset_database': 'Reset database',
  'user.reset_database_hint': 'Wipes all business data and restores initial demo seed (users, matches, bets, ledger, etc.). This cannot be undone.',
  'user.reset_database_confirm_label': 'Type RESET to confirm',
  'user.reset_database_confirm_ph': 'RESET',
  'user.reset_database_btn': 'Reset to initial data',
  'user.reset_database_disabled_prod': 'Disabled in production unless ALLOW_DB_RESET=true is set on the server',
  'user.reset_database_success': 'Database reset complete. Sign in again with demo accounts.',
  'user.reset_database_accounts': 'Demo accounts',
  'user.section.password_mgmt': 'Password management',
  'user.field.current_password': 'Current password',
  'user.msg.created_with_password': 'Player created. Login password: {password}',
  'user.msg.password_saved': 'Password updated. Viewable password: {password}',
  'user.hint.password_reset_to_view': 'No stored password. Set one below under Reset password and save to view it here.',
  'user.ph.username_unique': 'Unique login username',
  'user.ph.username_player': 'Letters and digits, 3–32 chars',
  'user.hint.username_player': 'English letters and digits only; no Chinese or special characters',
  'user.ph.no_agent': 'None (platform direct)',
  'user.hint.no_agent': 'Leave empty for platform-managed player',
  'user.hint.platform_direct_player': 'This player belongs to the platform (admin direct).',
  'user.hint.initial_balance': 'Auto top-up on create; 0 = no bonus',
  'user.hint.deposit_remark': 'Written to ledger when initial balance > 0',
  'user.hint.freeze_in_list': 'Freeze/unfreeze from the list actions',
  'user.hint.agent_change': 'Empty = platform direct; changes recalc agent credit',
  'user.hint.agent_readonly': 'Agent assignment cannot be changed after creation',
  'user.hint.allow_password_change': 'When off, no player can change password in the app',
  'user.hint.allow_username_change': 'When on, all players can change login username in profile',
  'user.hint.view_password': 'Only passwords set on create/reset; cleared after player self-change',
  'user.hint.reset_password': 'Takes effect immediately and updates viewable password above',
  'user.btn.create': 'Create',
  'user.btn.save_profile': 'Save',
  'user.btn.confirm_deposit': 'Confirm top-up',
  'user.deposit_remark_default': 'Admin top-up',
  'user.field.account_type': 'Account type',
  'user.type.player': 'Player',
  'user.type.tier1_agent': 'Tier-1 agent',
  'user.type.sub_agent': 'Sub-agent',
  'user.hint.account_type': 'Agents use credit limits; players can belong to an agent and receive top-ups',

  'agent.create_btn': '+ New tier-1 agent',
  'agent.create_sub_btn': '+ New tier-2 agent',
  'agent.create_sub': 'Create sub-agent',
  'agent.hint.sub_agent_parent': 'Tier-2 agents must belong to a tier-1 agent',
  'agent.hint.creating_under_agent': 'Create account under this agent',
  'agent.filter.username_ph': 'Username',
  'agent_mgr.tab.players': 'Players',
  'agent_mgr.tab.agents': 'Agents',
  'agent.col.level': 'Level',
  'agent.col.credit': 'Limit / Used / Available',
  'agent.col.direct_players': 'Direct players',
  'agent.direct_players_title': 'Direct players · {name}',
  'agent.platform_row_name': 'Platform',
  'agent.col.sub_agents': 'Sub-agents',
  'agent.col.cashback': 'Cashback rate',
  'agent.col.phone': 'Phone',
  'agent.col.created': 'Created',
  'agent.dialog.create': 'New tier-1 agent',
  'agent.dialog.edit': 'Edit agent',
  'agent.dialog.credit': 'Adjust credit limit',
  'agent.field.agent_id': 'Agent ID',
  'agent.dialog.detail': 'Agent details',
  'agent.field.credit_limit': 'Credit limit',
  'agent.field.cashback_rate': 'Cashback rate',
  'agent.field.adjust_amount': 'Adjustment',
  'agent.field.used_credit': 'Used credit',
  'agent.field.available_credit': 'Available credit',
  'agent.field.player_liability': 'Player liability',
  'agent.field.sub_agent_exposure': 'Sub-agent exposure',
  'agent.hint.credit_limit': 'Max total top-up capacity for direct players',
  'agent.hint.cashback_example': 'e.g. 0.01 = 1%',
  'agent.field.max_single_deposit': 'Max single top-up',
  'agent.field.max_daily_deposit': 'Max daily top-up',
  'agent.hint.deposit_limit_empty': '0 = unlimited; sub-agents cannot exceed parent limits',
  'agent.hint.credit_adjust': 'Positive increases, negative decreases',
  'agent.hint.credit_remark': 'Optional, written to credit ledger',
  'agent.section.credit_log': 'Recent credit changes',
  'agent.credit.increase': 'Increase',
  'agent.credit.decrease': 'Decrease',
  'agent.col.credit_type': 'Type',
  'agent.col.credit_change': 'Change',
  'agent.col.credit_before': 'Before',
  'agent.col.credit_after': 'After',
  'agent.credit_tx.filter_agent_ph': 'Agent username',
  'agent.credit_tx.filter_agent_id': 'Agent ID',
  'agent.credit_tx.filter_agent_id_ph': 'User ID',
  'agent.credit_tx.col.operator': 'Operator',
  'agent.credit_tx.view_all': 'View all credit ledger',
  'agent.col.no_records': 'No records',
  'agent.btn.confirm_adjust': 'Confirm',
  'agent.field.select_user': 'Select user',
  'agent.ph.select_user': 'Search player username',
  'agent.hint.select_user': 'Pick an existing player account to promote to tier-1 agent (no new login)',
  'agent.suspend.settings_title': 'Agent suspension policy',
  'agent.suspend.settings_hint': 'MVP default: suspend agent operations only; do not auto-freeze or block direct players.',
  'agent.suspend.freeze_direct_players': 'Allow cascade freeze of direct players on suspend',
  'agent.suspend.block_player_login': 'Block direct player login when parent agent is suspended',
  'agent.suspend.cascade_disabled_hint': 'Cascade freeze is off; only the agent is suspended, direct players are unaffected.',
  'agent.freeze.confirm_freeze_title': 'Confirm suspend agent',
  'agent.freeze.confirm_freeze_body': 'Suspend agent "{name}"? They will not be able to sign in to the agent portal.',
  'agent.freeze.confirm_unfreeze_body': 'Restore agent "{name}" to active status?',
  'agent.freeze.cascade_hint': 'Also freeze all direct player accounts under this agent?',
  'agent.freeze.cascade_label': 'Cascade freeze direct players',
  'agent.msg.cascade_freeze_done': 'Agent suspended and direct players frozen',
  'agent.msg.freeze_done': '{action} completed',

  'match.create_btn': '+ New tournament',
  'match.create_fixture_btn': '+ Add fixture',
  'match.btn.markets': 'Markets',
  'match.filter.keyword_ph': 'Tournament / team code',
  'match.filter.status_hint': 'Filters fixtures inside a league and the fixture count column; empty leagues stay visible',
  'match.col.league': 'Tournament',
  'match.col.league_en': 'League (EN)',
  'match.col.fixture_count': 'Fixtures',
  'match.col.bet_count': 'Bets',
  'match.col.total_stake': 'Total stake',
  'match.col.pending_bets': 'Pending',
  'match.col.league_code': 'Code',
  'match.col.matchup': 'Matchup',
  'match.col.kickoff': 'Kickoff',
  'match.dialog.create_league': 'New tournament',
  'match.dialog.create_fixture': 'New fixture',
  'match.dialog.create': 'New fixture',
  'match.dialog.edit': 'Edit fixture',
  'match.dialog.import': 'Import matches',
  'match.field.league_en': 'League (EN)',
  'match.field.league_zh': 'League (ZH)',
  'match.field.league_ms': 'League (MS)',
  'match.field.league_logo': 'Tournament logo',
  'match.field.lang_zh': 'ZH',
  'match.field.lang_en': 'EN',
  'match.field.lang_ms': 'MS',
  'match.field.kickoff': 'Kickoff time',
  'match.field.home_team': 'Home team',
  'match.field.away_team': 'Away team',
  'match.field.home_en': 'Home (EN)',
  'match.field.home_zh': 'Home (ZH)',
  'match.field.home_ms': 'Home (MS)',
  'match.field.away_en': 'Away (EN)',
  'match.field.away_zh': 'Away (ZH)',
  'match.field.away_ms': 'Away (MS)',
  'match.field.featured': 'Featured',
  'match.hint.create_draft': 'Saved as draft; expand the tournament and publish each fixture to open markets.',
  'match.hint.create_league': 'Create a tournament first, then expand it to add fixtures.',
  'match.hint.edit_published': 'Published: edit kickoff, featured, display names; closed/settled are locked.',
  'match.expand_league_hint': 'Expand a league to manage fixtures; set winner odds under Outright odds.',
  'match.expand_outright_hint': 'Expand a league to edit winner odds; fixture teams sync automatically, and you can add teams not yet on the schedule.',
  'outright.odds_only_hint': 'Teams from fixtures are added automatically; add extra teams manually and edit winner odds here.',
  'outright.col.teams_from_fixtures': 'Teams (from fixtures)',
  'outright.col.teams_total': 'Outright teams',
  'outright.empty_no_teams': 'No teams yet — add fixtures under Fixtures or click Add team.',
  'match.outright.setup': 'Set up',
  'match.outright.section_hint': 'Winner market for this league; fixtures are listed below',
  'match.expand_markets_hint': 'Click Markets on a fixture to open the dedicated markets page.',
  'match.no_fixtures': 'No fixtures under this tournament yet.',
  'match.ph.league_ms': 'World Cup 2027',

  'bet.filter.keyword_ph': 'Bet no. / username',
  'bet.filter.date_from': 'Placed from',
  'bet.filter.date_start_ph': 'Start',
  'bet.filter.date_end_ph': 'End',
  'bet.col.serial': 'No.',
  'bet.col.bet_no': 'Bet no.',
  'bet.col.player': 'Player',
  'bet.col.agent': 'Agent',
  'bet.col.selection': 'Pick',
  'bet.col.content': 'Selections',
  'bet.content.bet_counts': '{singles} single · {parlays} parlay',
  'bet.col.match': 'Match',
  'bet.legs_more': '+{n} more…',
  'bet.col.selection_count': 'Legs',
  'bet.col.stake': 'Stake',
  'bet.col.odds': 'Odds',
  'bet.col.payout': 'Payout',
  'bet.col.placed_at': 'Placed at',
  'bet.dialog.detail': 'Bet details',
  'bet.field.total_odds': 'Total odds',
  'bet.field.currency': 'Currency',
  'bet.field.potential_win': 'Potential win',
  'bet.field.actual_payout': 'Actual payout',
  'bet.field.bet_status': 'Bet status',
  'bet.field.settlement_status': 'Settlement',
  'bet.field.settled_at': 'Settled at',
  'bet.field.request_id': 'Request ID',
  'bet.selections_title': 'Selections ({n})',
  'bet.col.market': 'Market',
  'bet.col.period': 'Period',
  'bet.col.line': 'Line',
  'bet.col.result': 'Result',

  'audit.module_ph': 'e.g. USERS, AGENTS',
  'audit.col.action': 'Action',
  'audit.col.module': 'Module',
  'audit.col.target_id': 'Target ID',
  'audit.col.time': 'Time',
  'audit.action.CREATE_PLAYER': 'Create player',
  'audit.action.UPDATE_PLAYER': 'Update player',
  'audit.action.RESET_DATABASE': 'Reset database',
  'audit.action.CREATE_AGENT': 'Create agent',
  'audit.action.UPDATE_AGENT': 'Update agent',
  'audit.action.UPDATE_PLAYER_ACCOUNT_SETTINGS': 'Update player account settings',
  'audit.action.UPDATE_AGENT_SUSPEND_SETTINGS': 'Update agent suspend settings',
  'audit.action.UPDATE_BETTING_LIMITS': 'Update betting limits',
  'audit.action.CONFIRM_SETTLEMENT': 'Confirm settlement',
  'audit.action.CONFIRM_RESETTLE': 'Confirm resettlement',
  'audit.action.CONFIRM_CASHBACK': 'Confirm cashback payout',
  'audit.action.CANCEL_CASHBACK': 'Cancel cashback batch',
  'audit.module.USERS': 'Players',
  'audit.module.AGENTS': 'Agents',
  'audit.module.SYSTEM': 'System',
  'audit.module.SETTINGS': 'Settings',
  'audit.module.SETTLEMENT': 'Settlement',
  'audit.module.CASHBACK': 'Cashback',

  'cashback.start_date': 'Start date',
  'cashback.end_date': 'End date',
  'cashback.preview_btn': 'Preview',
  'cashback.preview_title': 'Cashback preview',
  'cashback.stat.players': 'Players',
  'cashback.stat.total': 'Total cashback',
  'cashback.stat.lines': 'Line items',
  'cashback.stat.effective_stake': 'Total effective stake',
  'cashback.stat.bet_count': 'Eligible bets',
  'cashback.stat.avg_rate': 'Average rate',
  'cashback.batch_no': 'Batch no.',
  'cashback.history_title': 'Cashback history',
  'cashback.history_empty': 'No cashback batches yet',
  'cashback.filter_status': 'Status',
  'cashback.status.PREVIEW': 'Pending',
  'cashback.status.CONFIRMED': 'Paid out',
  'cashback.col.period': 'Period',
  'cashback.col.status': 'Status',
  'cashback.col.bet_count': 'Bets',
  'cashback.col.created_at': 'Created',
  'cashback.col.confirmed_at': 'Paid at',
  'cashback.col.operator': 'Operator',
  'cashback.view_detail': 'Details',
  'cashback.detail_title': 'Batch breakdown',
  'cashback.detail_summary': 'Batch summary',
  'cashback.table_title': 'Player cashback breakdown',
  'cashback.table_total': 'Total',
  'cashback.empty_items': 'No eligible cashback in this period',
  'cashback.col.index': '#',
  'cashback.col.player': 'Player',
  'cashback.col.agent': 'Agent',
  'cashback.col.effective_stake': 'Effective stake',
  'cashback.col.rate': 'Rate',
  'cashback.col.amount': 'Cashback',
  'cashback.confirm_issue': 'Confirm payout',
  'cashback.cancel_issue': 'Void',
  'cashback.confirm_prompt': 'Pay out this cashback batch to player wallets? This cannot be undone.',
  'cashback.cancel_prompt': 'Void this pending batch? No wallet credit will be made; you can preview again.',
  'cashback.status.CANCELLED': 'Voided',
  'cashback.rules_title': 'Cashback rules',
  'cashback.rule_period': 'Pick a date range. Bets are included by settlement time within that period.',
  'cashback.rule_eligible': 'Included: settled bets with result WON or LOST (singles by stake; parlays counted once by parlay stake). Excluded: pending, cancelled, void, push, and zero-rate bets.',
  'cashback.rule_formula': 'Per bet: stake × applicable cashback rate. Amounts are summed per player into one line item.',
  'cashback.rule_rate': 'Rate priority: player rule > agent rule > global rule > agent default rate (set under Agents/Players, e.g. 0.01 = 1%).',
  'cashback.rule_flow': 'Flow: preview (one pending batch per period) → review → confirm payout; void if not needed. Paid periods cannot be previewed again.',
  'cashback.rule_note_zero': 'If preview is 0, check for settled WON/LOST bets in the period and a cashback rate above 0.',

  'user.field.player_id': 'Player ID',
  'user.field.bet_count': 'Bet count',
  'user.field.total_stake': 'Total stake',
  'user.field.registered_at': 'Registered',
  'user.ph.remark_initial': 'Ledger note when initial balance > 0',
  'user.bets_edit_value': '{n} bets / {stake}',
  'user.login_fail_value': '{n} times',

  'match.import_hint': 'Paste JSON with matches array. Imports as draft; publish from the list.',
  'match.import_start': 'Import',
  'match.import_json_ph': '{"matches":[...]}',
  'match.delete_confirm_title': 'Delete match',
  'match.delete_confirm_body': 'Delete "{title}"? Draft with no bets only.',
  'match.ph.league_en': 'FIFA World Cup 2026',
  'match.ph.league_zh': '2026 World Cup',
  'match.ph.kickoff': '2026-06-11T19:00:00Z',
  'match.ph.home_en': 'Mexico',
  'match.ph.home_zh': 'Mexico',
  'match.ph.home_ms': 'Mexico',
  'match.ph.away_en': 'South Africa',
  'match.ph.away_zh': 'South Africa',
  'match.ph.away_ms': 'Afrika Selatan',

  'matchEditor.manage_btn': 'Basic info',
  'matchEditor.back': 'Back to list',
  'matchEditor.title': 'Edit basic info',
  'matchEditor.section_info': 'Basic info',
  'matchEditor.section_markets': 'Markets & odds',
  'matchEditor.field.league_logo': 'Logo',
  'matchEditor.field.home_logo': 'Logo',
  'matchEditor.field.away_logo': 'Logo',
  'matchEditor.field.pick_flag': 'Pick flag',
  'matchEditor.field.custom_logo_url': 'Custom image URL',
  'matchEditor.ph.logo_url': 'https://...',
  'matchEditor.field.match_name': 'Display name',
  'matchEditor.field.stage': 'Stage',
  'matchEditor.field.group': 'Group',
  'matchEditor.field.display_order': 'Sort order',
  'matchEditor.field.promo_label': 'Promo label',
  'matchEditor.field.promo_label_optional': 'Promo label (optional)',
  'matchEditor.field.line_value': 'Line',
  'matchEditor.ph.kickoff': 'Select kickoff date & time',
  'matchEditor.group.league': 'League',
  'matchEditor.group.home': 'Home team',
  'matchEditor.group.away': 'Away team',
  'matchEditor.group.schedule': 'Schedule & display',
  'matchEditor.save_info': 'Save info',
  'matchEditor.save_market': 'Save market',
  'matchEditor.save_odds': 'Save odds',
  'matchEditor.generate_templates': 'Generate templates',
  'matchEditor.templates_generated': 'Market templates created',
  'matchEditor.no_markets': 'No markets yet — publish the match or generate templates.',
  'matchEditor.market.FT_1X2': 'FT 1X2',
  'matchEditor.market.FT_HANDICAP': 'FT handicap',
  'matchEditor.market.FT_OVER_UNDER': 'FT O/U',
  'matchEditor.market.FT_ODD_EVEN': 'FT odd/even',
  'matchEditor.market.HT_1X2': 'HT 1X2',
  'matchEditor.market.HT_HANDICAP': 'HT handicap',
  'matchEditor.market.HT_OVER_UNDER': 'HT O/U',
  'matchEditor.market.FT_CORRECT_SCORE': 'FT correct score',
  'matchEditor.market.HT_CORRECT_SCORE': 'HT correct score',
  'matchEditor.market.SH_CORRECT_SCORE': '2H correct score',
  'matchEditor.period.FT': 'Full time',
  'matchEditor.period.HT': 'Half time',
  'matchEditor.period.SH': 'Second half',
  'matchEditor.period.OUTRIGHT': 'Outright',
  'matchEditor.selection.HOME': 'Home',
  'matchEditor.selection.DRAW': 'Draw',
  'matchEditor.selection.AWAY': 'Away',
  'matchEditor.selection.OVER': 'Over',
  'matchEditor.selection.UNDER': 'Under',
  'matchEditor.selection.ODD': 'Odd',
  'matchEditor.selection.EVEN': 'Even',
  'matchEditor.selection.OTHER_DRAW': 'Draw (other score)',
  'matchEditor.selection.OTHER_HOME': 'Home win (other score)',
  'matchEditor.selection.OTHER_AWAY': 'Away win (other score)',
  'matchEditor.col.selection_code': 'Option',
  'matchEditor.col.selection_name': 'Display name',
  'matchEditor.col.odds': 'Odds',
  'matchEditor.ph.selection_name': 'Name shown to players',

  'err.username_required': 'Username is required',
  'err.username_player_invalid': 'Player username must be 3–32 English letters or digits only',
  'err.password_min': 'Password must be at least 8 characters',
  'err.password_mismatch': 'Passwords do not match',
  'err.credit_negative': 'Credit limit cannot be negative',
  'err.insufficient_credit': 'Insufficient available credit. Reduce the amount or request a limit increase.',
  'err.kickoff_required': 'Kickoff time is required',
  'err.team_country_required': 'Select home and away teams',
  'err.teams_required': 'Enter home and away team names (ZH or EN)',
  'err.teams_same': 'Home and away teams must be different',
  'err.league_required': 'League name is required',
  'err.user_required': 'Please select a user',
  'err.agent_no_parent': 'Tier-1 agents cannot have a parent player',
  'err.agent_no_initial_deposit': 'Do not set initial player balance when creating an agent',

  'settlement.back': 'Back to matches',
  'settlement.kickoff': 'Kick-off',
  'settlement.stats_title': 'Betting statistics',
  'settlement.stats_total_bets': 'Bets',
  'settlement.stats_single': 'Singles',
  'settlement.stats_parlay': 'Parlays',
  'settlement.stats_total_stake': 'Total stake',
  'settlement.stats_potential': 'Max potential win',
  'settlement.chart.bet_type': 'Single vs parlay',
  'settlement.chart.status': 'Bet status mix',
  'settlement.chart.stake_by_selection': 'Top selections by single stake',
  'settlement.stats_by_market': 'By market / selection',
  'settlement.bet_list': 'Related bets',
  'settlement.bet_list_hint': 'Grouped by bet; same-match parlays show ×legs',
  'settlement.no_bets': 'No bets on this match',
  'settlement.col.market': 'Market',
  'settlement.col.selection': 'Selection',
  'settlement.col.legs': 'Legs',
  'settlement.col.single_stake': 'Single stake',
  'settlement.col.parlay_legs': 'Parlay legs',
  'settlement.ht_score': 'Half-time score',
  'settlement.ft_score': 'Full-time score',
  'settlement.record_score': 'Save score',
  'settlement.preview_hint': 'Current scores are saved automatically before preview',
  'settlement.preview_btn': 'Preview settlement',
  'settlement.preview_failed': 'Failed to generate settlement preview',
  'settlement.err_score_not_recorded': 'Enter half-time and full-time scores before settling',
  'settlement.preview_title': 'Settlement preview',
  'settlement.single_count': 'Single bets',
  'settlement.preview_pending_bets': 'Pending bets',
  'settlement.preview_bet_mix': 'Single / parlay',
  'settlement.preview_items_title': 'Per-bet preview ({n})',
  'settlement.preview_items_scroll_hint': 'Scroll when the list is long',
  'settlement.preview_col.result': 'Match result',
  'settlement.preview_zero_parlay_hint':
    'Est. payout is 0: {legs} winning leg(s) on this match are in cross-match parlays ({pending} bet(s) awaiting other fixtures).',
  'settlement.preview_zero_lost_hint':
    'Est. payout is 0: {count} parlay(s) already lost on this match; other bets did not win here either.',
  'settlement.preview_zero_default_hint':
    'Est. payout is 0: no winning or refundable outcome on this match yet.',
  'settlement.preview.result.WIN': 'Win',
  'settlement.preview.result.LOSE': 'Lose',
  'settlement.preview.result.LOST': 'Parlay lost',
  'settlement.preview.result.WON': 'Parlay won',
  'settlement.preview.result.PUSH': 'Push',
  'settlement.preview.result.PENDING_OTHER_MATCHES': 'Awaiting other matches',
  'settlement.est_payout': 'Est. payout',
  'settlement.refund_amount': 'Refund amount',
  'settlement.confirm_btn': 'Confirm settlement',
  'settlement.resettle_reason': 'Resettle reason',
  'settlement.resettle_preview': 'Resettle preview',
  'settlement.resettle_preview_title': 'Resettle preview',
  'settlement.resettle_affected': 'Affected bets',
  'settlement.resettle_topup': 'Top-up required',
  'settlement.resettle_clawback': 'Clawback required',
  'settlement.resettle_confirm': 'Confirm resettle',
  'user.betting_limits': 'Betting limits',
  'user.betting_limits_hint': 'Global stake/payout/daily limits for player bets',
  'user.limit.min_stake': 'Min stake',
  'user.limit.max_stake_single': 'Max single stake',
  'user.limit.max_stake_parlay': 'Max parlay stake',
  'user.limit.max_payout_single': 'Max single payout',
  'user.limit.max_payout_parlay': 'Max parlay payout',
  'user.limit.daily_stake': 'Daily stake limit',
  'settlement.smart.btn': 'Smart score',
  'settlement.smart.title': 'Smart score suggestions',
  'settlement.smart.hint': 'Enumerates valid scores from pending single bets and estimates payout. Parlays are excluded. Click a card to apply.',
  'settlement.smart.target_hold': 'Target house hold',
  'settlement.smart.recalc': 'Recalculate',
  'settlement.smart.apply': 'Apply score',
  'settlement.smart.applied': 'Score applied',
  'settlement.smart.no_bets': 'No pending single bets',
  'settlement.smart.empty': 'No suggestion found',
  'settlement.smart.meta': 'Singles {singles}, parlays {parlays} skipped, {n} scores compared',
  'settlement.smart.hold': 'Hold',
  'settlement.smart.payout': 'Payout',
  'settlement.smart.win_stake': 'Win stake %',
  'settlement.smart.wl': 'W/L bets',
  'settlement.smart.strategy.MIN_PAYOUT': 'Max house hold (min payout)',
  'settlement.smart.strategy.MAX_PAYOUT': 'Max player payout',
  'settlement.smart.strategy.BALANCED': 'Balanced (~50% win stake)',
  'settlement.smart.strategy.TARGET_HOLD': 'Target hold rate',
  'msg.score_recorded': 'Score saved',
  'msg.settlement_confirmed': 'Settlement confirmed',
  'msg.resettle_confirmed': 'Resettle confirmed',

  'agent_portal.create_player_section': 'Create player',
  'agent_portal.deposit_section': 'Top up',
  'agent_portal.create_player_btn': '+ New player',
  'agent_portal.create_tier2_btn': '+ New tier-2 agent',
  'agent_portal.username_ph': 'Enter username',
  'agent_portal.agent_username_ph': 'Agent username',
  'agent_portal.player_id_ph': 'Player ID',
  'agent_portal.withdraw_btn': 'Withdraw {amount}',
  'agent_portal.withdraw_btn_label': 'Withdraw',
  'agent_portal.transfer_title_deposit': 'Top up {name}',
  'agent_portal.transfer_title_withdraw': 'Withdraw from {name}',
  'transfer.context.player_section': 'Player balance',
  'transfer.context.agent_section': 'Credit agent · {name} (L{level})',
  'transfer.context.withdrawable': 'Withdrawable',
  'transfer.context.deposit_cap': 'Max top-up this time',
  'transfer.context.daily_used': 'Topped up today',
  'transfer.context.unlimited': 'No limit',
  'transfer.context.no_agent': 'Platform-direct player — not limited by agent credit',
  'transfer.context.admin_credit_only': 'Admin top-up is capped by parent available credit only (not single/daily limits)',
  'transfer.context.withdraw_exceed': 'Withdrawal cannot exceed player available balance',
  'credit.context.target_section': 'Target agent credit',
  'credit.context.parent_section': 'Parent agent · {name}',
  'credit.context.max_increase': 'Max increase',
  'credit.context.no_parent': 'Tier-1 agents are platform-managed; increases are not capped by a parent',
  'credit.context.after_adjust': 'Credit limit after adjustment',
  'credit.context.direct_liability': 'Direct player exposure',
  'credit.context.child_exposure': 'Sub-agent exposure',
  'credit.context.acting_agent': 'Current agent',
  'agent_portal.create_player_dialog': 'New direct player',
  'agent_portal.edit_player_dialog': 'Edit direct player',
  'agent_portal.credit_available_hint': 'Available credit: {amount} (top-ups deduct from your limit)',
  'agent_portal.sub_agent_players_readonly': 'Players under this sub-agent are read-only here. Account opening and top-ups are handled by the sub-agent.',
  'agent_portal.initial_deposit_hint': 'Optional. Initial top-up from your credit at account creation',
  'agent_portal.search_player_ph': 'Username or ID',
  'agent_portal.no_players': 'No direct players yet. Use the button above to create one.',
  'agent_portal.search_sub_agent_ph': 'Username or ID',
  'agent_portal.no_sub_agents': 'No tier-2 agents yet. Use the button above to create one.',
  'agent_portal.create_sub_agent_dialog': 'New tier-2 agent',
  'agent_portal.sub_agent_credit_hint': 'Initial credit is allocated from your available limit',
  'agent_portal.adjust_credit_dialog': 'Adjust credit for {name}',
  'agent_portal.credit_adjust_hint': 'Positive to increase, negative to decrease',
  'msg.agent_sub_created': 'Sub-agent created',
  'msg.withdraw_ok': 'Withdrawal successful',

  'msg.form_invalid': 'Please check the form',
  'msg.player_created': 'Player created',
  'msg.agent_created': 'Agent created',
  'msg.create_failed': 'Create failed',
  'msg.saved': 'Saved',
  'msg.save_failed': 'Save failed',
  'msg.deleted': 'Deleted',
  'msg.delete_failed': 'Delete failed',
  'msg.league_created': 'Tournament created',
  'msg.match_created_draft': 'Fixture created (draft)',
  'msg.published': 'Published with markets',
  'msg.closed': 'Betting closed',
  'msg.invalid_json': 'Invalid JSON',
  'msg.import_failed': 'Import failed',
  'msg.import_done': 'Import: {imported} ok, {skipped} skipped, {failed} failed / {total} total',
  'msg.topup_ok': 'Top-up successful',
  'msg.topup_failed': 'Top-up failed',
  'msg.transfer_failed': 'Operation failed',
  'msg.amount_gt_zero': 'Amount must be greater than 0',
  'msg.credit_zero': 'Adjustment cannot be 0',
  'msg.credit_adjusted': 'Credit updated',
  'msg.credit_adjust_failed': 'Adjustment failed',
  'msg.outright_no_edit': 'Outright cannot be edited here',
  'msg.outright_odds_saved': 'Outright odds saved',
  'msg.load_failed': 'Load failed',

  'content.btn.create': 'New content',
  'content.btn.enable': 'Enable',
  'content.btn.disable': 'Disable',
  'content.dialog.create': 'New public content',
  'content.dialog.edit': 'Edit public content',
  'content.confirm_delete': 'Delete "{title}"?',
  'content.type.BANNER': 'Home banners',
  'content.type.ANNOUNCEMENT': 'Announcements',
  'content.hint.announcement': 'Shown in the player top marquee; fill title or body (body recommended)',
  'content.status.DRAFT': 'Draft',
  'content.status.ACTIVE': 'Active',
  'content.status.INACTIVE': 'Inactive',
  'content.col.sort': 'Sort',
  'content.col.preview': 'Preview',
  'content.col.title': 'Title / summary',
  'content.col.player_visible': 'Player visible',
  'content.col.schedule': 'Schedule',
  'content.col.link': 'Link',
  'content.field.link_type': 'Link type',
  'content.field.link_target': 'Link target',
  'content.field.start_time': 'Start time',
  'content.field.end_time': 'End time',
  'content.field.title': 'Title',
  'content.field.title_ph': 'Optional; can match body',
  'content.field.body': 'Body',
  'content.field.announce_text': 'Marquee text',
  'content.field.image_url': 'Image URL',
  'content.link.none': 'No link',
  'content.locale.zh-CN': 'Chinese (Simplified)',
  'content.locale.en-US': 'English',
  'content.locale.ms-MY': 'Malay',
  'content.hidden_reason.NOT_ACTIVE': 'Not active or draft',
  'content.hidden_reason.NOT_STARTED': 'Not started yet',
  'content.hidden_reason.EXPIRED': 'Expired',
  'content.hidden_reason.INCOMPLETE': 'Incomplete translations',
  'content.batch.selected': '{n} selected',
  'content.batch.enable': 'Enable selected',
  'content.batch.disable': 'Disable selected',
  'content.batch.delete': 'Delete selected',
  'content.confirm_batch_enable': 'Enable {n} selected item(s)?',
  'content.confirm_batch_disable': 'Disable {n} selected item(s)?',
  'content.confirm_batch_delete': 'Delete {n} selected item(s)?',
  'content.batch.all_ok': '{n} item(s) processed',
  'content.batch.partial': '{ok} succeeded, {fail} failed',

  'page.outrights.title': 'Outrights',
  'page.outrights.desc': 'Create and edit any winner market; WC 2026 has one-click baseline import',
  'outright.col.rank': 'Rank',
  'outright.col.team_zh': 'Team (ZH)',
  'outright.col.team_en': 'Team (EN)',
  'outright.col.code': 'Code',
  'outright.col.country': 'Country',
  'outright.col.odds': 'Winner odds',
  'outright.country_ph': 'Search or select country',
  'teamLogo.kind.flag': 'Flag',
  'teamLogo.kind.crest': 'Crest',
  'outright.err_country': 'Please select a country',
  'outright.btn.save_odds': 'Save all odds',
  'outright.btn.save_meta': 'Save event info',
  'outright.btn.publish': 'Publish',
  'outright.btn.unpublish': 'Unpublish',
  'outright.back_list': 'Back to list',
  'outright.section.edit': 'Edit outright',
  'outright.col.teams': 'Teams',
  'outright.col.player_visible': 'Player',
  'outright.col.league_en': 'League (EN)',
  'outright.expand_no_teams': 'No teams — open Edit to add',
  'outright.fixtures_sync_hint': 'Teams come from league fixtures; adjust odds and publish status only.',
  'outright.empty_no_fixtures': 'No fixtures in this league — add matches under Fixtures first.',
  'outright.btn.add_team': 'Add team',
  'outright.add.filter_fixture': 'From fixtures',
  'outright.add.filter_all': 'All built-in',
  'outright.add.select_all': 'Select all',
  'outright.add.clear_selection': 'Clear selection',
  'outright.add.selected_count': '{n} selected',
  'outright.add.empty_fixture': 'No fixture teams to add (teams in matches but not yet on the outright market)',
  'outright.add.empty_all': 'All built-in teams are already on the outright market',
  'outright.add.default_odds': 'Default odds',
  'outright.add.search_ph': 'Search name or code',
  'outright.add.err_none': 'Select at least one team',
  'outright.batch.mode': 'Batch manage',
  'outright.batch.exit': 'Exit batch',
  'outright.batch.apply_odds': 'Apply odds',
  'outright.batch.remove': 'Remove selected',
  'outright.batch.confirm_remove': 'Remove {n} selected team(s)?',
  'outright.batch.err_none': 'Select teams first',
  'outright.batch.apply_ok': 'Updated odds for {n} team(s) — click Save all odds',
  'outright.batch.remove_ok': 'Removed {n} team(s)',
  'outright.batch.remove_partial': '{ok} removed, {fail} failed',
  'outright.sort.label': 'Sort',
  'outright.sort.rank': 'Rank',
  'outright.sort.name': 'Team name',
  'outright.sort.code': 'Code',
  'outright.sort.odds': 'Odds (current)',
  'outright.sort.saved_odds': 'Odds (saved)',
  'outright.sort.asc': 'Ascending',
  'outright.sort.desc': 'Descending',
  'msg.outright_teams_added': 'Added {n} team(s) ({skipped} skipped)',
  'outright.btn.create_event': 'New outright event',
  'outright.btn.import_wc2026': 'Import WC 2026 (48)',
  'outright.btn.apply_canonical': 'Apply WC baseline',
  'outright.field.league': 'League',
  'outright.section.settings': 'Event settings',
  'outright.section.teams': 'Teams & odds',
  'outright.field.title': 'Event title',
  'outright.field.title_placeholder': 'Title shown on player outright tab',
  'outright.field.title_zh': 'Title (ZH)',
  'outright.field.title_en': 'Title (EN)',
  'outright.field.title_ms': 'Title (MS)',
  'outright.field.status': 'Status',
  'outright.status.draft': 'Draft',
  'outright.status.published': 'Published',
  'msg.outright_canonical_applied': '48-team winner odds applied from baseline',
  'outright.team_count': '{n} / {total} teams',
  'outright.team_count_open': '{n} teams',
  'outright.empty_events': 'No outright events',
  'outright.empty_hint': 'Create an event or import WC 2026 baseline',
  'outright.err_odds_min': 'Odds must be greater than 1.00',
  'outright.err_team_code': 'Team code required',
  'outright.err_league': 'Select a league',
  'outright.confirm_remove': 'Remove "{name}"? (closes selection)',
  'outright.not_on_player': 'Hidden on player',
  'outright.player_hidden_title': 'Not visible on player app yet',
  'outright.hidden_reason.NOT_PUBLISHED': 'Set status to Published and save event info.',
  'outright.hidden_reason.NO_SELECTIONS': 'Add at least one open team selection.',
  'outright.hidden_reason.MARKET_CLOSED': 'Winner market is not open.',
  'msg.load_matches_failed': 'Failed to load matches',
  'msg.cashback_issued': 'Cashback issued',
  'msg.cashback_cancelled': 'Cashback batch voided',
  'msg.cashback_preview_ready': 'Preview ready — review and confirm payout',
  'msg.cashback_preview_replaced': 'Replaced {n} older preview(s) for this period',
  'msg.freeze_confirm_title': '{action} account',
  'msg.freeze_confirm_body': '{action} player "{name}"?{extra}',
  'msg.freeze_extra': ' They will not be able to sign in.',
  'msg.freeze_done': '{action} completed',
  'msg.freeze_failed': '{action} failed',

  'smoke.intro': 'Run automated smoke tests from the admin console: settlement, betting rules, agent credit logic, cashback rules, read-only DB probes, and bet→settle→wallet integration.',
  'smoke.intro_rule': 'Rule cases reuse the same logic as Jest unit tests; no business data is written.',
  'smoke.intro_db': 'The Database suite only checks connectivity and config (read-only).',
  'smoke.intro_bet_flow': 'The Bet-flow suite creates temporary matches/players, verifies freeze/payout/agent credit, then cleans up.',
  'smoke.intro_note': 'Covers most UAT regression; spot-check cashback payout manually if needed.',
  'smoke.field.suites': 'Suites',
  'smoke.ph.suites': 'Select suites to run',
  'smoke.btn.run': 'Run tests',
  'smoke.last_run': 'Last run',
  'smoke.results_title': 'Case results',
  'smoke.empty': 'No run yet. Click Run tests.',
  'smoke.stat.pass': 'Pass',
  'smoke.stat.fail': 'Fail',
  'smoke.stat.total': 'Total',
  'smoke.col.id': 'ID',
  'smoke.col.suite': 'Suite',
  'smoke.col.name': 'Case',
  'smoke.col.uat': 'UAT',
  'smoke.col.duration': 'Duration',
  'smoke.col.steps': 'Steps',
  'smoke.col.message': 'Message',
  'smoke.no_steps': 'No step details',
  'smoke.status.PASS': 'Pass',
  'smoke.status.FAIL': 'Fail',
  'smoke.status.SKIP': 'Skip',
  'smoke.msg.all_passed': 'All passed ({n})',
  'smoke.msg.has_failures': '{n} case(s) failed — see details',
  'smoke.msg.run_failed': 'Failed to run tests',
  'smoke.log_title': 'Detailed log',
  'smoke.btn.copy_all': 'Copy full log',
  'smoke.btn.copy_one': 'Copy',
  'smoke.msg.copy_ok': 'Copied to clipboard',
  'smoke.msg.copy_failed': 'Copy failed — select the log manually',
  'audit.action.RUN_SMOKE_TESTS': 'Run smoke tests',

  'media.title': 'Media Library',
  'media.upload_btn': 'Upload File',
  'media.category.all': 'All',
  'media.category.banners': 'Banners',
  'media.category.teams': 'Team Logos',
  'media.category.contents': 'Content Images',
  'media.col.preview': 'Preview',
  'media.col.filename': 'Filename',
  'media.col.category': 'Category',
  'media.col.size': 'Size',
  'media.col.status': 'Status',
  'media.col.uploaded': 'Uploaded',
  'media.col.actions': 'Actions',
  'media.status.used': 'In Use',
  'media.status.unused': 'Unused',
  'media.purge_btn': 'Purge Unused',
  'media.purge_confirm': 'Delete {n} unused file(s)? This cannot be undone.',
  'media.purge_none': 'No unused files',
  'media.purge_success': '{n} file(s) deleted',
  'media.delete_confirm': 'Delete this file?',
  'media.delete_success': 'Deleted',
  'media.upload_success': 'Upload successful',
  'media.upload_failed': 'Upload failed',
  'media.copy_url': 'Copy URL',
  'media.url_copied': 'URL copied',
  'media.upload_dialog': 'Upload File',
  'media.upload_hint': 'PNG, JPG, WEBP, GIF, SVG — max 5 MB',
  'media.upload_category': 'Category',
  'media.drop_hint': 'Drop file here or click to select',
  'media.no_files': 'No files yet',
  'media.refresh': 'Refresh',
  'media.unused_count': '{n} unused',
};
