mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-05 07:23:59 +08:00
ba1be9d710
- Intended to prevent enumeration to check if a user exists. - Updated messages on both the reqest-reset and set-password elements. - Also updated notification auto-hide to be dynamic based upon the amount of words within the notification. - Added tests to cover. For #2016
77 lines
4.1 KiB
PHP
77 lines
4.1 KiB
PHP
<?php
|
|
/**
|
|
* Authentication Language Lines
|
|
* The following language lines are used during authentication for various
|
|
* messages that we need to display to the user.
|
|
*/
|
|
return [
|
|
|
|
'failed' => 'These credentials do not match our records.',
|
|
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
|
|
|
// Login & Register
|
|
'sign_up' => 'Sign up',
|
|
'log_in' => 'Log in',
|
|
'log_in_with' => 'Login with :socialDriver',
|
|
'sign_up_with' => 'Sign up with :socialDriver',
|
|
'logout' => 'Logout',
|
|
|
|
'name' => 'Name',
|
|
'username' => 'Username',
|
|
'email' => 'Email',
|
|
'password' => 'Password',
|
|
'password_confirm' => 'Confirm Password',
|
|
'password_hint' => 'Must be over 7 characters',
|
|
'forgot_password' => 'Forgot Password?',
|
|
'remember_me' => 'Remember Me',
|
|
'ldap_email_hint' => 'Please enter an email to use for this account.',
|
|
'create_account' => 'Create Account',
|
|
'already_have_account' => 'Already have an account?',
|
|
'dont_have_account' => 'Don\'t have an account?',
|
|
'social_login' => 'Social Login',
|
|
'social_registration' => 'Social Registration',
|
|
'social_registration_text' => 'Register and sign in using another service.',
|
|
|
|
'register_thanks' => 'Thanks for registering!',
|
|
'register_confirm' => 'Please check your email and click the confirmation button to access :appName.',
|
|
'registrations_disabled' => 'Registrations are currently disabled',
|
|
'registration_email_domain_invalid' => 'That email domain does not have access to this application',
|
|
'register_success' => 'Thanks for signing up! You are now registered and signed in.',
|
|
|
|
|
|
// Password Reset
|
|
'reset_password' => 'Reset Password',
|
|
'reset_password_send_instructions' => 'Enter your email below and you will be sent an email with a password reset link.',
|
|
'reset_password_send_button' => 'Send Reset Link',
|
|
'reset_password_sent' => 'A password reset link will be sent to :email if that email address is found in the system.',
|
|
'reset_password_success' => 'Your password has been successfully reset.',
|
|
'email_reset_subject' => 'Reset your :appName password',
|
|
'email_reset_text' => 'You are receiving this email because we received a password reset request for your account.',
|
|
'email_reset_not_requested' => 'If you did not request a password reset, no further action is required.',
|
|
|
|
|
|
// Email Confirmation
|
|
'email_confirm_subject' => 'Confirm your email on :appName',
|
|
'email_confirm_greeting' => 'Thanks for joining :appName!',
|
|
'email_confirm_text' => 'Please confirm your email address by clicking the button below:',
|
|
'email_confirm_action' => 'Confirm Email',
|
|
'email_confirm_send_error' => 'Email confirmation required but the system could not send the email. Contact the admin to ensure email is set up correctly.',
|
|
'email_confirm_success' => 'Your email has been confirmed!',
|
|
'email_confirm_resent' => 'Confirmation email resent, Please check your inbox.',
|
|
|
|
'email_not_confirmed' => 'Email Address Not Confirmed',
|
|
'email_not_confirmed_text' => 'Your email address has not yet been confirmed.',
|
|
'email_not_confirmed_click_link' => 'Please click the link in the email that was sent shortly after you registered.',
|
|
'email_not_confirmed_resend' => 'If you cannot find the email you can re-send the confirmation email by submitting the form below.',
|
|
'email_not_confirmed_resend_button' => 'Resend Confirmation Email',
|
|
|
|
// User Invite
|
|
'user_invite_email_subject' => 'You have been invited to join :appName!',
|
|
'user_invite_email_greeting' => 'An account has been created for you on :appName.',
|
|
'user_invite_email_text' => 'Click the button below to set an account password and gain access:',
|
|
'user_invite_email_action' => 'Set Account Password',
|
|
'user_invite_page_welcome' => 'Welcome to :appName!',
|
|
'user_invite_page_text' => 'To finalise your account and gain access you need to set a password which will be used to log-in to :appName on future visits.',
|
|
'user_invite_page_confirm_button' => 'Confirm Password',
|
|
'user_invite_success' => 'Password set, you now have access to :appName!'
|
|
]; |