对搜索返回的消息做中英双版本

This commit is contained in:
2026-04-28 15:22:50 +08:00
parent 85133ee92b
commit 9bc439ea5e
32 changed files with 575 additions and 183 deletions

View File

@@ -0,0 +1,186 @@
<?php
declare(strict_types=1);
return [
'Channel not found' => 'Channel not found',
'Settlement number conflict, please retry' => 'Settlement number conflict, please retry',
'No available admin share ratios under this channel; cannot settle' => 'No available admin share ratios under this channel; cannot settle',
'This flow pays commissions automatically after super admin settlement; channel admin does not need to settle again' => 'This flow pays commissions automatically after super admin settlement; channel admin does not need to settle again',
'Invalid channel data' => 'Invalid channel data',
'Invalid settlement period (start time is not earlier than now)' => 'Invalid settlement period (start time is not earlier than now)',
'Turnover agent commission rate is not configured' => 'Turnover agent commission rate is not configured',
'Affiliate agent fee rate is not configured' => 'Affiliate agent fee rate is not configured',
'Affiliate ladder rules are empty or invalid' => 'Affiliate ladder rules are empty or invalid',
'Unknown agent mode' => 'Unknown agent mode',
'Manual create next round is disabled' => 'Manual create next round is disabled',
'There is an unfinished round; cannot create a new one' => 'There is an unfinished round; cannot create a new one',
'New round created' => 'New round created',
'Idempotency key conflict' => 'Idempotency key conflict',
'Insufficient wallet balance' => 'Insufficient wallet balance',
'Game record is generated by system; manual creation is not allowed' => 'Game record is generated by system; manual creation is not allowed',
'Game record cannot be edited' => 'Game record cannot be edited',
'Game record cannot be deleted' => 'Game record cannot be deleted',
'Bet order is generated by game API; manual creation is not allowed' => 'Bet order is generated by game API; manual creation is not allowed',
'Bet order cannot be edited' => 'Bet order cannot be edited',
'Bet order cannot be deleted' => 'Bet order cannot be deleted',
'Sorting is not supported' => 'Sorting is not supported',
'Play record is generated by game API; manual creation is not allowed' => 'Play record is generated by game API; manual creation is not allowed',
'Play record cannot be edited' => 'Play record cannot be edited',
'Play record cannot be deleted' => 'Play record cannot be deleted',
'Wallet records are business-generated; manual creation is not allowed' => 'Wallet records are business-generated; manual creation is not allowed',
'Wallet record cannot be edited' => 'Wallet record cannot be edited',
'Wallet record cannot be deleted' => 'Wallet record cannot be deleted',
'Admin wallet does not allow manual creation' => 'Admin wallet does not allow manual creation',
'Admin wallet does not allow manual editing' => 'Admin wallet does not allow manual editing',
'Admin wallet does not allow deletion' => 'Admin wallet does not allow deletion',
'Admin wallet records do not allow manual creation' => 'Admin wallet records do not allow manual creation',
'Admin wallet records do not allow manual editing' => 'Admin wallet records do not allow manual editing',
'Admin wallet records do not allow deletion' => 'Admin wallet records do not allow deletion',
'Invalid parameters' => 'Invalid parameters',
'This config is locked by another operation, please try again later' => 'This config is locked by another operation, please try again later',
'Saved successfully' => 'Saved successfully',
'Please use approve/reject buttons to review' => 'Please use approve/reject buttons to review',
'This withdraw order has already been reviewed' => 'This withdraw order has already been reviewed',
'Approved' => 'Approved',
'Please provide reject reason' => 'Please provide reject reason',
'Rejected' => 'Rejected',
'Deposit orders are auto-settled; direct modification is not allowed. Use the dedicated tool for manual adjustment.' => 'Deposit orders are auto-settled; direct modification is not allowed. Use the dedicated tool for manual adjustment.',
'Missing required parameters' => 'Missing required parameters',
'Idempotency key is too long' => 'Idempotency key is too long',
'Withdraw amount must be greater than 0' => 'Withdraw amount must be greater than 0',
'Invalid receive type; only bank/ewallet/crypto are supported' => 'Invalid receive type; only bank/ewallet/crypto are supported',
'Withdraw request submitted; pending channel super admin review' => 'Withdraw request submitted; pending channel super admin review',
'Tier ID already exists' => 'Tier ID already exists',
'Items must be an array' => 'Items must be an array',
'Please save all registered channel rows (no missing rows)' => 'Please save all registered channel rows (no missing rows)',
'Please use approve/reject buttons to complete the review' => 'Please use approve/reject buttons to complete the review',
'Apply amount must be greater than 0' => 'Apply amount must be greater than 0',
'Fee cannot be negative' => 'Fee cannot be negative',
'Fee cannot be greater than apply amount' => 'Fee cannot be greater than apply amount',
'This order has already been reviewed' => 'This order has already been reviewed',
'Order is missing user info' => 'Order is missing user info',
'Related user does not exist' => 'Related user does not exist',
'User balance is insufficient to cover the adjustment difference' => 'User balance is insufficient to cover the adjustment difference',
'Please select exactly one role group' => 'Please select exactly one role group',
'Selected role group is not bound to a channel' => 'Selected role group is not bound to a channel',
'Selected role group channel does not match current account' => 'Selected role group channel does not match current account',
'Invalid operation type' => 'Invalid operation type',
'Invalid amount format' => 'Invalid amount format',
'Amount must be greater than 0' => 'Amount must be greater than 0',
'This user is being operated by another admin (wallet/concurrent save); please try again later' => 'This user is being operated by another admin (wallet/concurrent save); please try again later',
'Insufficient balance; deduction failed' => 'Insufficient balance; deduction failed',
'Save failed: user balance changed by another request; please refresh and retry' => 'Save failed: user balance changed by another request; please refresh and retry',
'Wallet adjusted successfully' => 'Wallet adjusted successfully',
'Please configure at least one share record' => 'Please configure at least one share record',
'There are no admins under this channel; cannot configure share ratios' => 'There are no admins under this channel; cannot configure share ratios',
'Share ratio must be between 0 and 100' => 'Share ratio must be between 0 and 100',
'Please configure at least one valid share record' => 'Please configure at least one valid share record',
'Sum of enabled share ratios must equal 100' => 'Sum of enabled share ratios must equal 100',
'Share ratios saved successfully' => 'Share ratios saved successfully',
'Only super admin can settle; after settlement, commissions will be automatically paid to admin wallets' => 'Only super admin can settle; after settlement, commissions will be automatically paid to admin wallets',
'Settlement failed' => 'Settlement failed',
'Super admin settlement completed; paid automatically by share ratios' => 'Super admin settlement completed; paid automatically by share ratios',
'Batch settlement completed' => 'Batch settlement completed',
'Invalid settlement cycle' => 'Invalid settlement cycle',
'Invalid settlement time format (HH:mm:ss)' => 'Invalid settlement time format (HH:mm:ss)',
'Weekly settlement must select Monday to Sunday' => 'Weekly settlement must select Monday to Sunday',
'Monthly settlement day must be between 1 and 31' => 'Monthly settlement day must be between 1 and 31',
'Turnover commission rate must be between 0 and 100' => 'Turnover commission rate must be between 0 and 100',
'Affiliate share/fee rates are required' => 'Affiliate share/fee rates are required',
'Affiliate share/fee rates must be between 0 and 1' => 'Affiliate share/fee rates must be between 0 and 1',
'Affiliate ladder rules are required' => 'Affiliate ladder rules are required',
'Affiliate ladder rules must be a valid JSON array' => 'Affiliate ladder rules must be a valid JSON array',
'Affiliate ladder rules must contain at least one row' => 'Affiliate ladder rules must contain at least one row',
'Affiliate ladder rules row format error' => 'Affiliate ladder rules row format error',
'Affiliate ladder rules minLoss format error' => 'Affiliate ladder rules minLoss format error',
'Affiliate ladder rules shareRate format error' => 'Affiliate ladder rules shareRate format error',
'Affiliate ladder rules minLoss cannot be negative' => 'Affiliate ladder rules minLoss cannot be negative',
'Affiliate ladder rules shareRate must be between 0 and 1' => 'Affiliate ladder rules shareRate must be between 0 and 1',
'Affiliate ladder rules must be strictly increasing by minLoss' => 'Affiliate ladder rules must be strictly increasing by minLoss',
'Withdraw apply failed' => 'Withdraw apply failed',
'Debit failed: user balance changed by another request; please refresh and retry' => 'Debit failed: user balance changed by another request; please refresh and retry',
'Deposit' => 'Deposit',
'Mock payment' => 'Mock payment',
'Mock third-party cashier' => 'Mock third-party cashier',
'Order No' => 'Order No',
'Pay channel' => 'Pay channel',
'Amount (fiat/pricing)' => 'Amount (fiat/pricing)',
'Bonus' => 'Bonus',
'coin' => 'coin',
'Click the button below to simulate successful third-party payment; the server will callback and settle the deposit.' => 'Click the button below to simulate successful third-party payment; the server will callback and settle the deposit.',
'Confirm payment (simulate success)' => 'Confirm payment (simulate success)',
'Order id is invalid' => 'Order id is invalid',
'Order does not exist' => 'Order does not exist',
'Order number is empty' => 'Order number is empty',
'Order status does not allow settlement' => 'Order status does not allow settlement',
'Order amount is invalid' => 'Order amount is invalid',
'Order user is invalid' => 'Order user is invalid',
'User does not exist' => 'User does not exist',
'Order state changed, please refresh and retry' => 'Order state changed, please refresh and retry',
'Row format error' => 'Row format error',
'Channel code is not registered' => 'Channel code is not registered',
'Duplicate channel code' => 'Duplicate channel code',
'Invalid channel row data' => 'Invalid channel row data',
'JSON encode failed' => 'JSON encode failed',
'Tier id is invalid' => 'Tier id is invalid',
'Duplicate tier id' => 'Duplicate tier id',
'Tier title (zh) is required' => 'Tier title (zh) is required',
'Tier title (zh) is too long' => 'Tier title (zh) is too long',
'Tier title (en) is too long' => 'Tier title (en) is too long',
'Currency is required' => 'Currency is required',
'Pay amount must be greater than 0' => 'Pay amount must be greater than 0',
'Base credit amount must be greater than 0' => 'Base credit amount must be greater than 0',
'Bonus amount cannot be negative' => 'Bonus amount cannot be negative',
'Description (zh) is too long' => 'Description (zh) is too long',
'Description (en) is too long' => 'Description (en) is too long',
'platform_coin format error' => 'platform_coin format error',
'Platform coin labels (zh/en) are required' => 'Platform coin labels (zh/en) are required',
'At least one currency is required' => 'At least one currency is required',
'Currency row format error' => 'Currency row format error',
'Currency code is invalid' => 'Currency code is invalid',
'Duplicate currency code' => 'Duplicate currency code',
'Deposit rate must be a number greater than 0' => 'Deposit rate must be a number greater than 0',
'Withdraw rate must be a number greater than 0' => 'Withdraw rate must be a number greater than 0',
'Bank row format error' => 'Bank row format error',
'Bank code is invalid' => 'Bank code is invalid',
'Duplicate bank code' => 'Duplicate bank code',
'Withdraw min limit must be a number not less than 0' => 'Withdraw min limit must be a number not less than 0',
'Please configure deposit channels' => 'Please configure deposit channels',
'Must be exactly 36 items' => 'Must be exactly 36 items',
'No must be numeric' => 'No must be numeric',
'No must be between 1 and 36' => 'No must be between 1 and 36',
'Duplicate no' => 'Duplicate no',
'Name is required' => 'Name is required',
'Category is invalid' => 'Category is invalid',
'Missing no' => 'Missing no',
'Failed to generate commission rows' => 'Failed to generate commission rows',
];

View File

@@ -0,0 +1,186 @@
<?php
declare(strict_types=1);
return [
'Channel not found' => '渠道不存在',
'Settlement number conflict, please retry' => '结算单号冲突,请重试',
'No available admin share ratios under this channel; cannot settle' => '渠道下无可用管理员分配比例,无法结算',
'This flow pays commissions automatically after super admin settlement; channel admin does not need to settle again' => '当前流程为超管结算后自动发放,渠道管理员无需二次结算',
'Invalid channel data' => '渠道数据异常',
'Invalid settlement period (start time is not earlier than now)' => '结算区间无效(开始时间不早于当前)',
'Turnover agent commission rate is not configured' => '普通返水代理未配置返水分红比例',
'Affiliate agent fee rate is not configured' => '联营代理未配置成本扣除比例',
'Affiliate ladder rules are empty or invalid' => '联营阶梯规则无效或为空',
'Unknown agent mode' => '未知的代理模式',
'Manual create next round is disabled' => '未开启「手动创建下一局」开关',
'There is an unfinished round; cannot create a new one' => '存在未结束对局,无法新建',
'New round created' => '已创建新对局',
'Idempotency key conflict' => '幂等键冲突',
'Insufficient wallet balance' => '钱包余额不足',
'Game record is generated by system; manual creation is not allowed' => '游戏对局记录由系统自动生成,禁止后台手工新增',
'Game record cannot be edited' => '游戏对局记录不可编辑',
'Game record cannot be deleted' => '游戏对局记录不可删除',
'Bet order is generated by game API; manual creation is not allowed' => '注单由游戏接口生成,禁止后台手工新增',
'Bet order cannot be edited' => '注单不可编辑',
'Bet order cannot be deleted' => '注单不可删除',
'Sorting is not supported' => '不支持排序',
'Play record is generated by game API; manual creation is not allowed' => '游玩记录由游戏接口生成,禁止后台手工新增',
'Play record cannot be edited' => '游玩记录不可编辑',
'Play record cannot be deleted' => '游玩记录不可删除',
'Wallet records are business-generated; manual creation is not allowed' => '钱包流水仅允许业务入账,禁止后台手工新增',
'Wallet record cannot be edited' => '钱包流水不可编辑',
'Wallet record cannot be deleted' => '钱包流水不可删除',
'Admin wallet does not allow manual creation' => '管理员钱包不允许手动新增',
'Admin wallet does not allow manual editing' => '管理员钱包不允许手动编辑',
'Admin wallet does not allow deletion' => '管理员钱包不允许删除',
'Admin wallet records do not allow manual creation' => '管理员钱包流水不允许手动新增',
'Admin wallet records do not allow manual editing' => '管理员钱包流水不允许手动编辑',
'Admin wallet records do not allow deletion' => '管理员钱包流水不允许删除',
'Invalid parameters' => '参数错误',
'This config is locked by another operation, please try again later' => '该配置正在被其他操作占用,请稍后再试',
'Saved successfully' => '保存成功',
'Please use approve/reject buttons to review' => '请使用通过/拒绝按钮审核',
'This withdraw order has already been reviewed' => '该提现订单已审核',
'Approved' => '审核通过',
'Please provide reject reason' => '请填写拒绝原因',
'Rejected' => '审核拒绝完成',
'Deposit orders are auto-settled; direct modification is not allowed. Use the dedicated tool for manual adjustment.' => '充值订单为自动入账,禁止直接修改,如需补单请走专用工具',
'Missing required parameters' => '参数缺失',
'Idempotency key is too long' => '幂等键过长',
'Withdraw amount must be greater than 0' => '提现金额必须大于0',
'Invalid receive type; only bank/ewallet/crypto are supported' => '收款类型不合法,仅支持 bank/ewallet/crypto',
'Withdraw request submitted; pending channel super admin review' => '提现申请已提交,待渠道超管审核',
'Tier ID already exists' => '档位 ID 已存在',
'Items must be an array' => 'items 必须为数组',
'Please save all registered channel rows (no missing rows)' => '请保存全部已注册渠道行(不可缺行)',
'Please use approve/reject buttons to complete the review' => '请使用通过/拒绝按钮完成审核',
'Apply amount must be greater than 0' => '申请金额必须大于 0',
'Fee cannot be negative' => '手续费不能为负',
'Fee cannot be greater than apply amount' => '手续费不能大于申请金额',
'This order has already been reviewed' => '该订单已审核,无需重复操作',
'Order is missing user info' => '订单缺少用户信息',
'Related user does not exist' => '关联用户不存在',
'User balance is insufficient to cover the adjustment difference' => '用户余额不足以补扣调整差额',
'Please select exactly one role group' => '请选择且仅选择一个角色组',
'Selected role group is not bound to a channel' => '所选角色组未绑定渠道',
'Selected role group channel does not match current account' => '所选角色组渠道与当前账号不一致',
'Invalid operation type' => '操作类型不正确',
'Invalid amount format' => '金额格式不正确',
'Amount must be greater than 0' => '金额必须大于0',
'This user is being operated by another admin (wallet/concurrent save); please try again later' => '该用户正在被其他管理员操作(钱包/并发保存),请稍后再试',
'Insufficient balance; deduction failed' => '余额不足,扣点失败',
'Save failed: user balance changed by another request; please refresh and retry' => '保存失败:该用户余额已被其他请求修改(如下注、派彩或其他管理员已保存),请刷新后重试',
'Wallet adjusted successfully' => '钱包调整成功',
'Please configure at least one share record' => '请至少配置一条分配记录',
'There are no admins under this channel; cannot configure share ratios' => '该渠道下暂无管理员,无法配置分配比例',
'Share ratio must be between 0 and 100' => '分配比例必须在0到100之间',
'Please configure at least one valid share record' => '请至少配置一条有效分配记录',
'Sum of enabled share ratios must equal 100' => '启用的分配比例总和必须等于100',
'Share ratios saved successfully' => '分配比例保存成功',
'Only super admin can settle; after settlement, commissions will be automatically paid to admin wallets' => '仅超管可执行结算,结算后系统会自动发放至管理员钱包',
'Settlement failed' => '结算失败',
'Super admin settlement completed; paid automatically by share ratios' => '超管结算完成,已按分配比例自动发放给管理员',
'Batch settlement completed' => '批量结算完成',
'Invalid settlement cycle' => '结算周期不合法',
'Invalid settlement time format (HH:mm:ss)' => '结算时间格式不正确HH:mm:ss',
'Weekly settlement must select Monday to Sunday' => '周结必须选择周一到周日',
'Monthly settlement day must be between 1 and 31' => '月结日期必须在1到31之间',
'Turnover commission rate must be between 0 and 100' => '返水分红比例必须在0到100之间',
'Affiliate share/fee rates are required' => '联营占成比例不能为空',
'Affiliate share/fee rates must be between 0 and 1' => '联营占成比例必须在0到1之间',
'Affiliate ladder rules are required' => '联营阶梯规则不能为空',
'Affiliate ladder rules must be a valid JSON array' => '联营阶梯规则必须是有效JSON数组',
'Affiliate ladder rules must contain at least one row' => '联营阶梯规则至少需要一条',
'Affiliate ladder rules row format error' => '联营阶梯规则行格式错误',
'Affiliate ladder rules minLoss format error' => '联营阶梯规则起始客损格式错误',
'Affiliate ladder rules shareRate format error' => '联营阶梯规则占成比例格式错误',
'Affiliate ladder rules minLoss cannot be negative' => '联营阶梯规则起始客损不能为负',
'Affiliate ladder rules shareRate must be between 0 and 1' => '联营阶梯规则占成比例必须在0到1之间',
'Affiliate ladder rules must be strictly increasing by minLoss' => '联营阶梯规则需按起始客损递增',
'Withdraw apply failed' => '提现申请失败',
'Debit failed: user balance changed by another request; please refresh and retry' => '扣款失败:该用户余额已被其他请求修改(如下注、派彩或其他管理员已保存),请刷新后重试',
'Deposit' => '充值',
'Mock payment' => '模拟支付',
'Mock third-party cashier' => '模拟第三方收银台',
'Order No' => '订单号',
'Pay channel' => '支付渠道',
'Amount (fiat/pricing)' => '金额(法币/标价)',
'Bonus' => '赠送',
'coin' => '币',
'Click the button below to simulate successful third-party payment; the server will callback and settle the deposit.' => '点击下方按钮即视为第三方支付成功,服务端会回调并到账。',
'Confirm payment (simulate success)' => '确认支付(模拟成功)',
'Order id is invalid' => '订单 ID 非法',
'Order does not exist' => '订单不存在',
'Order number is empty' => '订单号为空',
'Order status does not allow settlement' => '订单状态不允许结算',
'Order amount is invalid' => '订单金额异常',
'Order user is invalid' => '订单所属玩家无效',
'User does not exist' => '玩家不存在',
'Order state changed, please refresh and retry' => '订单状态已变更,请刷新后重试',
'Row format error' => '行格式错误',
'Channel code is not registered' => '渠道 code 未注册',
'Duplicate channel code' => '渠道 code 重复',
'Invalid channel row data' => '渠道数据无效',
'JSON encode failed' => 'JSON 编码失败',
'Tier id is invalid' => '档位 ID 非法',
'Duplicate tier id' => '档位 ID 重复',
'Tier title (zh) is required' => '中文充值名称不能为空',
'Tier title (zh) is too long' => '中文充值名称过长',
'Tier title (en) is too long' => '英文充值名称过长',
'Currency is required' => '支付货币不能为空',
'Pay amount must be greater than 0' => '支付货币额度必须大于 0',
'Base credit amount must be greater than 0' => '基础平台币到账必须大于 0',
'Bonus amount cannot be negative' => '赠送金额不能为负数',
'Description (zh) is too long' => '中文描述过长',
'Description (en) is too long' => '英文描述过长',
'platform_coin format error' => 'platform_coin 格式错误',
'Platform coin labels (zh/en) are required' => '请填写平台币中英文名称',
'At least one currency is required' => '至少保留一条货币',
'Currency row format error' => '货币列表行格式错误',
'Currency code is invalid' => '货币代码非法',
'Duplicate currency code' => '货币代码不能重复',
'Deposit rate must be a number greater than 0' => '充值汇率须为大于 0 的数字',
'Withdraw rate must be a number greater than 0' => '提现汇率须为大于 0 的数字',
'Bank row format error' => '银行行格式错误',
'Bank code is invalid' => '银行代码非法',
'Duplicate bank code' => '银行代码重复',
'Withdraw min limit must be a number not less than 0' => '提现最低限额须为不小于 0 的数字',
'Please configure deposit channels' => '请配置充值渠道',
'Must be exactly 36 items' => '必须恰好 36 条',
'No must be numeric' => '编号必须为数字',
'No must be between 1 and 36' => '编号必须在 136',
'Duplicate no' => '编号重复',
'Name is required' => '名称不能为空',
'Category is invalid' => '类型无效',
'Missing no' => '缺少编号',
'Failed to generate commission rows' => '生成待分红记录失败',
];