auth.php 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php
  2. declare(strict_types=1);
  3. return [
  4. 'accept_term' => 'I have read and agree to',
  5. 'active' => [
  6. 'attribute' => 'Activation',
  7. 'error' => [
  8. 'activated' => 'Account activated, please sign in!',
  9. 'disable' => 'Account activation is disabled, you can sign in directly!',
  10. 'throttle' => 'You have triggered an activation request limit, please try again later!',
  11. ],
  12. 'promotion' => 'Account not activated yet, please [:action] first!',
  13. 'sent' => 'Activation email has been sent to your mailbox, please check it (including the spam folder).',
  14. ],
  15. 'aup' => 'Acceptable Use Policy',
  16. 'captcha' => [
  17. 'attribute' => 'Captcha',
  18. 'error' => [
  19. 'failed' => 'Incorrect captcha. Please try again!',
  20. 'timeout' => 'The captcha has expired. Please refresh and try again!',
  21. ],
  22. 'required' => 'Please complete the captcha!',
  23. 'sent' => 'Captcha sent to your email, please check it (including the spam folder).',
  24. ],
  25. 'email' => [
  26. 'error' => [
  27. 'banned' => 'Your email provider is blocked, please use another email!',
  28. 'invalid' => 'The email you entered is not supported!',
  29. ],
  30. ],
  31. 'error' => [
  32. 'account_baned' => 'Your account has been suspended!',
  33. 'login_error' => 'Login error, please try again later!',
  34. 'login_failed' => 'Login failed, please check your username and password!',
  35. 'not_found_user' => 'No account found, please try other login methods!',
  36. 'repeat_request' => 'Please do not repeat requests, refresh and try again!',
  37. 'url_timeout' => 'The link has expired, please request again!',
  38. ],
  39. 'failed' => 'Invalid credentials.',
  40. 'invite' => [
  41. 'get' => 'Get invitation code',
  42. 'not_required' => 'No invitation code required, you can register directly!',
  43. 'unavailable' => 'This invitation code is invalid. Please try again!',
  44. ],
  45. 'login' => 'Login',
  46. 'logout' => 'Logout',
  47. 'maintenance' => 'System maintenance',
  48. 'maintenance_tip' => 'The system is under maintenance. Please check back later!',
  49. 'oauth' => [
  50. 'login_failed' => 'Third-party login failed!',
  51. 'register' => 'Quick Register',
  52. 'registered' => 'Already registered, please login directly.',
  53. ],
  54. 'one-click_login' => 'One-Click Login',
  55. 'optional' => 'Optional',
  56. 'password' => [
  57. 'forget' => 'Forgot password?',
  58. 'new' => 'Enter a new password',
  59. 'original' => 'Current Password',
  60. 'reset' => [
  61. 'attribute' => 'Reset Password',
  62. 'error' => [
  63. 'demo' => 'Demo environment prohibits changing admin password!',
  64. 'disabled' => 'Password reset disabled on this site!',
  65. 'same' => 'New password cannot be the same as the current one. Please choose a different password!',
  66. 'throttle' => 'You can reset your password up to :time times within 24 hours. Please try again later!',
  67. 'wrong' => 'Old password incorrect, please try again!',
  68. ],
  69. 'sent' => 'Reset link sent to your mailbox, please check it (including the spam folder).',
  70. 'success' => 'New password reset successfully, you can now login.',
  71. ],
  72. ],
  73. 'register' => [
  74. 'attribute' => 'Sign Up',
  75. 'code' => 'Registration Code',
  76. 'error' => [
  77. 'disable' => 'Sorry, we have temporarily stopped accepting new users.',
  78. 'throttle' => 'Anti-bot system activated! Please avoid frequent submissions!',
  79. ],
  80. 'failed' => 'Registration failed, please try again later.',
  81. 'promotion' => 'Don’t have an account yet? Please',
  82. ],
  83. 'remember_me' => 'Remember Me',
  84. 'request' => 'Request',
  85. 'throttle' => 'Too many attempts, please try again in :seconds seconds.',
  86. 'tos' => 'Terms of Service',
  87. ];