auth.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?php
  2. declare(strict_types=1);
  3. return [
  4. 'accept_term' => 'I have read and accepted',
  5. 'active' => [
  6. 'attribute' => 'Activate',
  7. 'error' => [
  8. 'activated' => 'Account already activated, no need to reactivate',
  9. 'disable' => 'Account activation disabled, you can sign in directly!',
  10. 'throttle' => 'Activation request limit reached, please do not operate too frequently! Contact :email if you have any questions.',
  11. ],
  12. 'promotion' => 'Account not yet activated, please [:action] first!',
  13. 'sent' => 'Activation email has been sent to your mailbox, please check including spam folder.',
  14. ],
  15. 'aup' => 'Acceptable Use Policy',
  16. 'captcha' => [
  17. 'attribute' => 'Captcha',
  18. 'error' => [
  19. 'failed' => 'Captcha verification failed, please try again',
  20. 'timeout' => 'Captcha expired, please refresh and retry.',
  21. ],
  22. 'required' => 'Please complete the captcha!',
  23. 'sent' => 'Captcha sent to your email, please check including spam folder.',
  24. ],
  25. 'email' => [
  26. 'error' => [
  27. 'banned' => 'Your email provider is blocked, please use another email.',
  28. 'invalid' => 'Your email is not supported.',
  29. ],
  30. ],
  31. 'error' => [
  32. 'account_baned' => 'Your account is banned!',
  33. 'login_error' => 'Login error, please retry later!',
  34. 'login_failed' => 'Login failed, please check email and password!',
  35. 'not_found_user' => 'No account found, please try other login methods.',
  36. 'repeat_request' => 'Please refresh and try again.',
  37. 'url_timeout' => 'Link expired, please request again.',
  38. ],
  39. 'failed' => 'Invalid credentials.',
  40. 'invite' => [
  41. 'attribute' => 'Invitation Code',
  42. 'error' => [
  43. 'unavailable' => 'Invalid invitation code, please retry.',
  44. ],
  45. 'get' => 'Get invitation code',
  46. 'not_required' => 'No invitation code required, you can register directly!',
  47. ],
  48. 'login' => 'Login',
  49. 'logout' => 'Logout',
  50. 'maintenance' => 'Maintenance',
  51. 'maintenance_tip' => 'Under maintenance',
  52. 'oauth' => [
  53. 'bind_failed' => 'Binding failed',
  54. 'bind_success' => 'Binding successful',
  55. 'login_failed' => 'Third-party login failed!',
  56. 'rebind_success' => 'Rebinding successful',
  57. 'register' => 'Quick Register',
  58. 'register_failed' => 'Registration failed',
  59. 'registered' => 'Already registered, please login directly.',
  60. 'unbind_failed' => 'Unbinding failed',
  61. 'unbind_success' => 'Unbinding successful',
  62. ],
  63. 'one-click_login' => 'One-Click Login',
  64. 'optional' => 'Optional',
  65. 'password' => [
  66. 'forget' => 'Forgot password?',
  67. 'new' => 'Enter a new password',
  68. 'original' => 'Current Password',
  69. 'reset' => [
  70. 'attribute' => 'Reset Password',
  71. 'error' => [
  72. 'demo' => 'Cannot change admin password in demo.',
  73. 'disabled' => 'Password reset disabled, please contact :email for assistance.',
  74. 'failed' => 'Password reset failed.',
  75. 'same' => 'New password cannot be the same as old, please re-enter.',
  76. 'throttle' => 'You can only reset password :time times in 24 hours, do not operate too frequently.',
  77. 'wrong' => 'Incorrect password, please try again.',
  78. ],
  79. 'sent' => 'Reset link sent to your mailbox, please check including spam folder.',
  80. 'success' => 'New password reset successfully, you can now login.',
  81. ],
  82. ],
  83. 'register' => [
  84. 'attribute' => 'Sign Up',
  85. 'code' => 'Registration Code',
  86. 'error' => [
  87. 'disable' => 'Sorry, we have temporarily stopped accepting new users.',
  88. 'throttle' => 'Anti-bot active! Please do not send registration forms too frequently!',
  89. ],
  90. 'failed' => 'Registration failed, please try later.',
  91. 'promotion' => 'No account yet? Please go to ',
  92. 'success' => 'Registration successful',
  93. ],
  94. 'remember_me' => 'Remember Me',
  95. 'request' => 'Request',
  96. 'throttle' => 'Too many attempts, please try again in :seconds seconds.',
  97. 'tos' => 'Terms of Service',
  98. ];