<?php
declare(strict_types=1);

/**
 * API 英文文案（对外接口推荐：英文 key）
 * 请求头 lang=en 时使用，key 为英文错误码，value 为英文展示文案
 */
return [
    'SUCCESS' => 'Success',
    'FAIL' => 'Fail',
    'TOKEN_REQUIRED' => 'Please provide token',
    'TOKEN_INVALID' => 'Invalid or expired token',
    'TOKEN_EXPIRED_RELOGIN' => 'Token expired, please login again',
    'TOKEN_FORMAT_INVALID' => 'Token format invalid',
    'AUTH_TOKEN_REQUIRED' => 'Please provide auth-token',
    'AUTH_TOKEN_EXPIRED' => 'auth-token expired',
    'AUTH_TOKEN_INVALID' => 'auth-token invalid',
    'AUTH_TOKEN_FORMAT_INVALID' => 'auth-token format invalid',
    'AUTH_TOKEN_INVALID_OR_EXPIRED' => 'auth-token invalid or expired',
    'USER_NOT_FOUND' => 'User not found',
    'USERNAME_REQUIRED' => 'username is required',
    'USERNAME_PASSWORD_REQUIRED' => 'username and password are required',
    'PASSWORD_WRONG' => 'Wrong password',
    'ACCOUNT_DISABLED' => 'Account is disabled and cannot log in',
    'BUY_TICKET_ERROR' => 'Invalid lottery ticket purchase',
    'INSUFFICIENT_BALANCE' => 'Insufficient balance',
    'INSUFFICIENT_TICKETS' => 'Insufficient lottery tickets',
    'DIRECTION_INVALID' => 'direction must be 0 or 1',
    'BALANCE_LESS_THAN_MIN' => 'Balance %s is less than %s, cannot continue',
    'LOTTERY_CONFIG_NOT_FOUND' => 'Lottery config not found',
    'LOTTERY_POOL_CONFIG_NOT_FOUND_DEFAULT' => 'Lottery pool config not found (name=default required)',
    'LOTTERY_POOL_CONFIG_DEFAULT_NOT_FOUND' => 'No name=default pool config found, please create one first',
    'NO_AVAILABLE_REWARD_CONFIG' => 'No available reward config',
    'CONFIG_ID_NOT_FOUND_OR_TIER_EMPTY' => 'Config ID %s not found or tier is empty',
    'DATA_NOT_FOUND' => 'Data not found',
    'BATCH_DELETE_FORBIDDEN' => 'Batch delete is not allowed',
    'SUPER_ADMIN_CANNOT_DELETE' => 'Super admin cannot be deleted',
    'OLD_PASSWORD_WRONG' => 'Old password is incorrect',
    'ADD_SUCCESS' => 'Added successfully',
    'UPDATE_SUCCESS' => 'Updated successfully',
    'DELETE_SUCCESS' => 'Deleted successfully',
    'ADD_FAILED' => 'Add failed',
    'UPDATE_FAILED' => 'Update failed',
    'DELETE_FAILED' => 'Delete failed',
    'NOT_FOUND' => 'Data not found',
    'ANTE_MUST_POSITIVE' => 'Ante must be greater than 0',
    'ANTE_NOT_ALLOWED' => 'Ante %s is not available for current channel, please select from ante config',
    'ANTE_CONFIG_NOT_FOUND' => 'Ante config not found',
    'ANTE_CONFIG_NOT_IN_CHANNEL' => 'Ante config does not belong to current channel',
    'POOL_CONFIG_NOT_IN_CHANNEL' => 'Pool config does not belong to current channel',
    'CHANNEL_DEPT_ID_REQUIRED' => 'Please select a channel, or assign a valid administrator/player for this record',
    'INVALID_CHANNEL_DEPT_ID' => 'Invalid channel. Please reselect channel or administrator',
    'PLAYER_USERNAME_DEPT_UNIQUE' => 'Username already exists in this channel',
    'NO_PERMISSION_UPDATE' => 'No permission to update this record',
    'NO_PERMISSION_VIEW' => 'No permission to view this record',
    'NO_PERMISSION_OPERATE_PLAYER' => 'No permission to operate this player',
    'PLEASE_SELECT_DATA' => 'Please select data to delete',
    'OPERATION_SUCCESS' => 'Operation successful',
    'TEST_DATA_CLEARED' => 'Test data cleared',
    'CLEAR_FAILED' => 'Clear failed: %s',
];
