fb9b4ae9ebc4124df6c7fb240d9442fc.yaml.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
  4. 'filename' => '/mnt/data/Sites/hehe.net/user/plugins/login/languages/en.yaml',
  5. 'modified' => 1533014916,
  6. 'data' => [
  7. 'PLUGIN_LOGIN' => [
  8. 'USERNAME' => 'Username',
  9. 'EMAIL' => 'Email',
  10. 'USERNAME_EMAIL' => 'Username/Email',
  11. 'PASSWORD' => 'Password',
  12. 'ACCESS_DENIED' => 'Access denied...',
  13. 'LOGIN_FAILED' => 'Login failed...',
  14. 'LOGIN_SUCCESSFUL' => 'You have been successfully logged in.',
  15. 'BTN_LOGIN' => 'Login',
  16. 'BTN_LOGOUT' => 'Logout',
  17. 'BTN_FORGOT' => 'Forgot',
  18. 'BTN_REGISTER' => 'Register',
  19. 'BTN_RESET' => 'Reset Password',
  20. 'BTN_SEND_INSTRUCTIONS' => 'Send Reset Instructions',
  21. 'RESET_LINK_EXPIRED' => 'Reset link has expired, please try again',
  22. 'RESET_PASSWORD_RESET' => 'Password has been reset',
  23. 'RESET_INVALID_LINK' => 'Invalid reset link used, please try again',
  24. 'FORGOT_INSTRUCTIONS_SENT_VIA_EMAIL' => 'Instructions to reset your password have been sent via email',
  25. 'FORGOT_FAILED_TO_EMAIL' => 'Failed to email instructions, please try again later',
  26. 'FORGOT_CANNOT_RESET_EMAIL_NO_EMAIL' => 'Cannot reset password for %s, no email address is set',
  27. 'FORGOT_CANNOT_RESET_EMAIL_NO_PASSWORD' => 'Cannot reset password for %s, this email is associated with a remote account',
  28. 'FORGOT_USERNAME_DOES_NOT_EXIST' => 'User with username <b>%s</b> does not exist',
  29. 'FORGOT_EMAIL_NOT_CONFIGURED' => 'Cannot reset password. This site is not configured to send emails',
  30. 'FORGOT_EMAIL_SUBJECT' => '%s Password Reset Request',
  31. 'FORGOT_EMAIL_BODY' => '<h1>Password Reset</h1><p>Dear %1$s,</p><p>A request was made on <b>%4$s</b> to reset your password.</p><p><br /><a href="%2$s" class="btn-primary">Click this to reset your password</a><br /><br /></p><p>Alternatively, copy the following URL into your browser\'s address bar:</p> <p class="word-break"><a href="%2$s">%2$s</a></p> <p><br />Kind regards,<br /><br />%3$s</p>',
  32. 'SESSION' => '&ldquo;Remember Me&rdquo;-Session',
  33. 'REMEMBER_ME' => 'Remember Me',
  34. 'REMEMBER_ME_HELP' => 'Sets a persistent cookie on your browser to allow persistent-login authentication between sessions.',
  35. 'REMEMBER_ME_STOLEN_COOKIE' => 'Someone else has used your login information to access this page! All sessions were logged out. Please log in with your credentials and check your data.',
  36. 'BUILTIN_CSS' => 'Use built in CSS',
  37. 'BUILTIN_CSS_HELP' => 'Include the CSS provided by the admin plugin',
  38. 'ROUTE' => 'Login path',
  39. 'ROUTE_HELP' => 'Custom route to a custom login page that your theme provides',
  40. 'ROUTE_REGISTER' => 'Registration path',
  41. 'ROUTE_REGISTER_HELP' => 'Route to the registration page. Set this if you want to use the built-in registration page. Leave it empty if you have your own registration form',
  42. 'USERNAME_NOT_VALID' => 'Username should be between 3 and 16 characters, including lowercase letters, numbers, underscores, and hyphens. Uppercase letters, spaces, and special characters are not allowed',
  43. 'USERNAME_NOT_AVAILABLE' => 'Username %s already exists, please pick another username',
  44. 'EMAIL_NOT_AVAILABLE' => 'Email address %s already exists, please pick another email address',
  45. 'PASSWORD_NOT_VALID' => 'Password must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters',
  46. 'PASSWORDS_DO_NOT_MATCH' => 'Passwords do not match. Double-check you entered the same password twice',
  47. 'USER_NEEDS_EMAIL_FIELD' => 'The user needs an email field',
  48. 'EMAIL_SENDING_FAILURE' => 'An error occurred while sending the email',
  49. 'ACTIVATION_EMAIL_SUBJECT' => 'Activate your account on %s',
  50. 'ACTIVATION_EMAIL_BODY' => '<h1>Account Activation</h1><p>Hi %1$s, </p><p>Your account has been successfully created on <b>%3$s</b>, but you cannot login until it is activated.</p><p><br/><a href="%2$s" class="btn-primary">Activate Your Account Now</a><br/><br/></p><p>Alternatively, copy the following URL into your browser\'s address bar:</p><p class="word-break"><a href="%2$s">%2$s</a></p><p><br/>Kind regards,<br/><br/>%4$s</p>',
  51. 'ACTIVATION_NOTICE_MSG' => 'Hi %s, your account is created, please check your email to fully activate it',
  52. 'WELCOME_EMAIL_SUBJECT' => 'Welcome to %s',
  53. 'WELCOME_EMAIL_BODY' => '<h1>Account Created</h1><p>Hi %1$s, </p><p>Your account has been successfully created on <b>%3$s</b>.</p><p><br/><a href="%2$s" class="btn-primary">Login Now</a><br/><br/></p><p>Alternatively, copy the following URL into your browser\'s address bar:</p><p class="word-break"><a href="%2$s">%2$s</a></p><p><br/>Kind regards,<br/><br/>%4$s</p>',
  54. 'WELCOME_NOTICE_MSG' => 'Hi %s, your account has been successfully created',
  55. 'NOTIFICATION_EMAIL_SUBJECT' => 'New user on %s',
  56. 'NOTIFICATION_EMAIL_BODY' => '<h1>New User</h1><p>Hi, a new user registered on %1$s.</p><p><ul><li>Username: <b>%2$s</b></li><li>Email: <b>%3$s</b></ul><p><p><br/><a href="%4$s" class="btn-primary">Visit %1$s</a><br/><br/></p>',
  57. 'EMAIL_FOOTER' => 'GetGrav.org',
  58. 'ACTIVATION_LINK_EXPIRED' => 'Activation link expired',
  59. 'USER_ACTIVATED_SUCCESSFULLY' => 'User activated successfully',
  60. 'INVALID_REQUEST' => 'Invalid request',
  61. 'USER_REGISTRATION' => 'User Registration',
  62. 'USER_REGISTRATION_ENABLED_HELP' => 'Enable the user registration',
  63. 'VALIDATE_PASSWORD1_AND_PASSWORD2' => 'Validate double entered password',
  64. 'VALIDATE_PASSWORD1_AND_PASSWORD2_HELP' => 'Validate and compare two different fields for the passwords, named `password1` and `password2`. Enable this if you have two password fields in the registration form',
  65. 'SET_USER_DISABLED' => 'Set the user as disabled',
  66. 'SET_USER_DISABLED_HELP' => 'Best used along with the `Send activation email` email. Adds the user to Grav, but sets it as disabled',
  67. 'LOGIN_AFTER_REGISTRATION' => 'Login the user after registration',
  68. 'LOGIN_AFTER_REGISTRATION_HELP' => 'Immediately login the user after the registration. If email activation is required, the user will be logged in immediately after activating the account',
  69. 'SEND_ACTIVATION_EMAIL' => 'Send activation email',
  70. 'SEND_ACTIVATION_EMAIL_HELP' => 'Sends an email to the user to activate his account. Enable the `Set the user as disabled` option when using this feature, so the user will be set as disabled and an email will be sent to activate the account',
  71. 'SEND_NOTIFICATION_EMAIL' => 'Send notification email',
  72. 'SEND_NOTIFICATION_EMAIL_HELP' => 'Notifies the site admin that a new user has registered. The email will be sent to the `To` field in the Email Plugin configuration',
  73. 'SEND_WELCOME_EMAIL' => 'Send welcome email',
  74. 'SEND_WELCOME_EMAIL_HELP' => 'Sends an email to the newly registered user',
  75. 'DEFAULT_VALUES' => 'Default values',
  76. 'DEFAULT_VALUES_HELP' => 'List of field names and values associated, that will be added to the user profile (yaml file) by default, without being configurable by the user. Separate multiple values with a comma, with no spaces between the values',
  77. 'ADDITIONAL_PARAM_KEY' => 'Parameter',
  78. 'ADDITIONAL_PARAM_VALUE' => 'Value',
  79. 'REGISTRATION_FIELDS' => 'Registration fields',
  80. 'REGISTRATION_FIELDS_HELP' => 'Add the fields that will be added to the user Yaml file. Fields not listed here will not be added even if present in the registration form',
  81. 'REGISTRATION_FIELD_KEY' => 'Field name',
  82. 'REDIRECT_AFTER_LOGIN' => 'Redirect after login',
  83. 'REDIRECT_AFTER_LOGIN_HELP' => 'Custom route to redirect after login',
  84. 'REDIRECT_AFTER_LOGOUT' => 'Redirect after logout',
  85. 'REDIRECT_AFTER_LOGOUT_HELP' => 'Custom route to redirect after logout',
  86. 'REDIRECT_AFTER_REGISTRATION' => 'Redirect after registration',
  87. 'REDIRECT_AFTER_REGISTRATION_HELP' => 'Custom route to redirect after the registration',
  88. 'OPTIONS' => 'Options',
  89. 'EMAIL_VALIDATION_MESSAGE' => 'Must be a valid email address',
  90. 'PASSWORD_VALIDATION_MESSAGE' => 'Password must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters',
  91. 'TIMEOUT_HELP' => 'Sets the session timeout in seconds when Remember Me is enabled and checked by the user. Minimum is 604800 which means 1 week',
  92. 'GROUPS_HELP' => 'List of groups the new registered user will be part of, if any',
  93. 'SITE_ACCESS_HELP' => 'List of site access levels the new registered user will have. Example: `login` -> `true` ',
  94. 'WELCOME' => 'Welcome',
  95. 'REDIRECT_AFTER_ACTIVATION' => 'Redirect after the user activation',
  96. 'REDIRECT_AFTER_ACTIVATION_HELP' => 'Used if the user is required to activate the account via email. Once activated, this route will be shown',
  97. 'REGISTRATION_DISABLED' => 'Registration disabled',
  98. 'USE_PARENT_ACL_LABEL' => 'Use parent access rules',
  99. 'USE_PARENT_ACL_HELP' => 'Check for parent access rules if no rules are defined',
  100. 'PROTECT_PROTECTED_PAGE_MEDIA_LABEL' => 'Protect a login-protected page media',
  101. 'PROTECT_PROTECTED_PAGE_MEDIA_HELP' => 'If enabled, media of a login protected page is login protected as well and cannot be seen unless logged in',
  102. 'SECURITY_TAB' => 'Security',
  103. 'MAX_RESETS_COUNT' => 'Max password resets count',
  104. 'MAX_RESETS_COUNT_HELP' => 'Password reset flood protection setting (0 - not limited)',
  105. 'MAX_RESETS_INTERVAL' => 'Max password resets interval',
  106. 'MAX_RESETS_INTERVAL_HELP' => 'The time interval for the max password resets count value',
  107. 'FORGOT_CANNOT_RESET_IT_IS_BLOCKED' => 'Cannot reset password for %s, password reset functionality temporarily blocked, please try later (maximum %s minutes)',
  108. 'MAX_LOGINS_COUNT' => 'Max logins count',
  109. 'MAX_LOGINS_COUNT_HELP' => 'Flood protection setting (0 - not limited)',
  110. 'MAX_LOGINS_INTERVAL' => 'Max logins interval',
  111. 'MAX_LOGINS_INTERVAL_HELP' => 'The time interval for the login count value',
  112. 'TOO_MANY_LOGIN_ATTEMPTS' => 'Too many failed login attempted in the configured time (%s minutes)',
  113. 'SECONDS' => 'seconds',
  114. 'RESETS' => 'resets',
  115. 'ATTEMPTS' => 'attempts',
  116. 'ROUTES' => 'Routes',
  117. 'ROUTE_FORGOT' => 'Forgot password route',
  118. 'ROUTE_RESET' => 'Reset password route',
  119. 'ROUTE_PROFILE' => 'User profile route',
  120. 'ROUTE_ACTIVATE' => 'User activation route',
  121. 'LOGGED_OUT' => 'You have been successfully logged out...',
  122. 'PAGE_RESTRICTED' => 'Access is restricted, please login...',
  123. 'DYNAMIC_VISIBILITY' => 'Dynamic Page Visibility',
  124. 'DYNAMIC_VISIBILITY_HELP' => 'Allows dynamic processing of page visibility base on access rules if login.visibility_requires_access is set to true on a page',
  125. 'USER_IS_REMOTE_ONLY' => 'This user authenticated with a remote service, so profile cannot be saved',
  126. '2FA_TITLE' => '2-Factor Authentication',
  127. '2FA_INSTRUCTIONS' => '##### 2-Factor Authentication
  128. You have **2FA** enabled on this account. Please use your **2FA** app to enter the current **6-digit code** to complete the login process.',
  129. '2FA_REGEN_HINT' => 'Regenerating the secret will require you to update your authenticator app',
  130. '2FA_FAILED' => 'Invalid 2-Factor Authentication code, please try again...',
  131. '2FA_ENABLED' => '2FA Enabled',
  132. '2FA_CODE_INPUT' => '000000',
  133. '2FA_SECRET' => '2FA Secret',
  134. '2FA_SECRET_HELP' => 'Scan this QR code into your [Authenticator App](https://learn.getgrav.org/admin-panel/2fa#apps). Also it\'s a good idea to backup the secret in a safe location, in case you need to reinstall your app. Check the [Grav docs](https://learn.getgrav.org/admin-panel/2fa) for more information ',
  135. '2FA_REGENERATE' => 'Regenerate',
  136. 'BTN_CANCEL' => 'Cancel'
  137. ]
  138. ]
  139. ];