messages.php 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. use App\Constants\HttpStatus;
  3. return [
  4. HttpStatus::CUSTOM_ERROR => '',
  5. HttpStatus::UNKNOWN_ERROR => 'Unknown error.',
  6. HttpStatus::OK => 'OK',
  7. HttpStatus::USER_DOES_NOT_EXIST => "User does not exist.",
  8. HttpStatus::PASSWORDS_ERROR => "Password error",
  9. HttpStatus::VERIFICATION_CODE_ERROR => 'Verification code error.',
  10. HttpStatus::VERIFICATION_CODE_EXPIRED => 'The verification code has expired.',
  11. HttpStatus::PASSWORD_INCONSISTENCY => 'Password inconsistency.',
  12. HttpStatus::USERNAME_ALREADY_EXISTS => 'The user name already exists. Please log in directly.',
  13. HttpStatus::EMAIL_ALREADY_EXISTS => 'Email already exists, please login directly.',
  14. HttpStatus::USERNAME_ERROR => 'User name error.',
  15. HttpStatus::VALIDATION_FAILED => 'Parameter validation failure.',
  16. HttpStatus::SYSTEM_ERROR => 'System error.',
  17. HttpStatus::AUTHORIZATION_HEADER_NOT_FOUND => 'Please log in.',
  18. HttpStatus::NO_COLLECT_YOURSELF => "Don't collect yourself.",
  19. HttpStatus::NO_BASIC_INFO => 'Please fill in the basic information first.',
  20. HttpStatus::NOT_FOUND => 'Not Found.',
  21. HttpStatus::AVATAR_MUST_SQUARE => 'Please crop the picture and upload it again.',
  22. HttpStatus::PAIRING_FAILURE => 'Pairing failure.',
  23. HttpStatus::COLLECT_COUNT_REACH_MAX => 'The number of collectibles reached the maximum.',
  24. HttpStatus::SEND_CODE_ERROR => 'Send failure',
  25. HttpStatus::PHONE_ERROR => 'The phone number is incorrect',
  26. HttpStatus::POST_DOES_NOT_EXIST => 'Post does not exist',
  27. HttpStatus::FILE_UPLOAD_ERROR => 'File upload error.',
  28. HttpStatus::INVITATION_CODE_ERROR => "Invitation code error.",
  29. HttpStatus::USER_ANOTHER_DEVICE => "The user has logged in to another device.",
  30. HttpStatus::INSUFFICIENT => "The remaining times are insufficient.",
  31. HttpStatus::MAXIMUM_NUMBER_OF_ADDRESSES => 'A maximum of 10 addresses can be added.',
  32. HttpStatus::HTTP_POST_ERROR => 'HTTP Post error.',
  33. HttpStatus::IM_ERROR => 'Im error',
  34. HttpStatus::PHONE_ALREADY_EXISTS => 'Phone number already exists, please login directly.',
  35. HttpStatus::GOOGLE_ERROR => 'Google login error.',
  36. HttpStatus::INSUFFICIENT_CHAT_BALANCE => 'Insufficient chat balance',
  37. HttpStatus::INSUFFICIENT_WALLET => 'Insufficient wallet balance',
  38. HttpStatus::FACEBOOK_ERROR => 'Facebook error',
  39. HttpStatus::VERIFY_ERROR => 'Verification failure',
  40. HttpStatus::PAY_VERIFY_ERROR => 'PAY_VERIFY_ERROR',
  41. HttpStatus::IM_SYSTEM_ERROR => 'Im system error',
  42. 'ok' => 'ok',
  43. "迁移失败" => "Migration failed",
  44. "可用余额不足,请重试" => "⚠️ Insufficient available balance, please try again.",
  45. '提现不能少于100 RMB,请重试' => "⚠️ Withdrawal cannot be less than 100 RMB, please try again.",
  46. "最多提现 49999 RMB,请重试" => "⚠️ Maximum withdrawal is 49999 RMB, please try again.",
  47. "密码错误" => "Incorrect password",
  48. "秘钥" => "Secret Key",
  49. "请保管好你的秘钥" => "Please keep your secret key safe",
  50. "请输入查看密码" => "Please enter the viewing password",
  51. "已完成迁移" => "Migration completed",
  52. "输入错误,请重新输入" => "Incorrect input, please try again",
  53. "取消" => "Cancel",
  54. "确认" => "Confirm",
  55. "原账号信息" => "Original account information",
  56. "用户ID" => "User ID",
  57. "用户名" => "Username",
  58. "昵称" => "Nickname",
  59. "余额" => "Balance"
  60. ];