|
| 1 | +<?php |
| 2 | + |
| 3 | +declare(strict_types=1); |
| 4 | + |
| 5 | +namespace CodeIgniter\Shield\Language\en; |
| 6 | + |
| 7 | +return [ |
| 8 | + // Exceptions |
| 9 | + 'unknownAuthenticator' => '{0} is not a valid authenticator.', |
| 10 | + 'unknownUserProvider' => 'Unable to determine the User Provider to use.', |
| 11 | + 'invalidUser' => 'Unable to locate the specified user.', |
| 12 | + 'badAttempt' => 'Unable to log you in. Please check your credentials.', |
| 13 | + 'noPassword' => 'Cannot validate a user without a password.', |
| 14 | + 'invalidPassword' => 'Unable to log you in. Please check your password.', |
| 15 | + 'noToken' => 'Every request must have a bearer token in the {0} header.', |
| 16 | + 'badToken' => 'The access token is invalid.', |
| 17 | + 'oldToken' => 'The access token has expired.', |
| 18 | + 'noUserEntity' => 'User Entity must be provided for password validation.', |
| 19 | + 'invalidEmail' => 'Unable to verify the email address matches the email on record.', |
| 20 | + 'unableSendEmailToUser' => 'Sorry, there was a problem sending the email. We could not send an email to "{0}".', |
| 21 | + 'throttled' => 'Too many requests made from this IP address. You may try again in {0} seconds.', |
| 22 | + |
| 23 | + 'email' => 'Email Address', |
| 24 | + 'username' => 'Username', |
| 25 | + 'password' => 'Password', |
| 26 | + 'passwordConfirm' => 'Password (again)', |
| 27 | + 'haveAccount' => 'Already have an account?', |
| 28 | + |
| 29 | + // Buttons |
| 30 | + 'confirm' => 'Confirm', |
| 31 | + 'send' => 'Send', |
| 32 | + |
| 33 | + // Registration |
| 34 | + 'register' => 'Register', |
| 35 | + 'registerDisabled' => 'Registration is not currently allowed.', |
| 36 | + 'registerSuccess' => 'Welcome aboard!', |
| 37 | + |
| 38 | + // Login |
| 39 | + 'login' => 'Login', |
| 40 | + 'needAccount' => 'Need an account?', |
| 41 | + 'rememberMe' => 'Remember me?', |
| 42 | + 'forgotPassword' => 'Forgot your password?', |
| 43 | + 'useMagicLink' => 'Use a Login Link', |
| 44 | + 'magicLinkSubject' => 'Your Login Link', |
| 45 | + 'magicTokenNotFound' => 'Unable to verify the link.', |
| 46 | + 'magicLinkExpired' => 'Sorry, link has expired.', |
| 47 | + 'checkYourEmail' => 'Check your email!', |
| 48 | + 'magicLinkDetails' => 'We just sent you an email with a Login link inside. It is only valid for {0} minutes.', |
| 49 | + 'successLogout' => 'You have successfully logged out.', |
| 50 | + |
| 51 | + // Passwords |
| 52 | + 'errorPasswordLength' => 'Passwords must be at least {0, number} characters long.', |
| 53 | + 'suggestPasswordLength' => 'Pass phrases - up to 255 characters long - make more secure passwords that are easy to remember.', |
| 54 | + 'errorPasswordCommon' => 'Password must not be a common password.', |
| 55 | + 'suggestPasswordCommon' => 'The password was checked against over 65k commonly used passwords or passwords that have been leaked through hacks.', |
| 56 | + 'errorPasswordPersonal' => 'Passwords cannot contain re-hashed personal information.', |
| 57 | + 'suggestPasswordPersonal' => 'Variations on your email address or username should not be used for passwords.', |
| 58 | + 'errorPasswordTooSimilar' => 'Password is too similar to the username.', |
| 59 | + 'suggestPasswordTooSimilar' => 'Do not use parts of your username in your password.', |
| 60 | + 'errorPasswordPwned' => 'The password {0} has been exposed due to a data breach and has been seen {1, number} times in {2} of compromised passwords.', |
| 61 | + 'suggestPasswordPwned' => '{0} should never be used as a password. If you are using it anywhere change it immediately.', |
| 62 | + 'errorPasswordEmpty' => 'A Password is required.', |
| 63 | + 'passwordChangeSuccess' => 'Password changed successfully', |
| 64 | + 'userDoesNotExist' => 'Password was not changed. User does not exist', |
| 65 | + 'resetTokenExpired' => 'Sorry. Your reset token has expired.', |
| 66 | + |
| 67 | + // Email Globals |
| 68 | + 'emailInfo' => 'Some information about the person:', |
| 69 | + 'emailIpAddress' => 'IP Address:', |
| 70 | + 'emailDevice' => 'Device:', |
| 71 | + 'emailDate' => 'Date:', |
| 72 | + |
| 73 | + // 2FA |
| 74 | + 'email2FATitle' => 'Two Factor Authentication', |
| 75 | + 'confirmEmailAddress' => 'Confirm your email address.', |
| 76 | + 'emailEnterCode' => 'Confirm your Email', |
| 77 | + 'emailConfirmCode' => 'Enter the 6-digit code we just sent to your email address.', |
| 78 | + 'email2FASubject' => 'Your authentication code', |
| 79 | + 'email2FAMailBody' => 'Your authentication code is:', |
| 80 | + 'invalid2FAToken' => 'The code was incorrect.', |
| 81 | + 'need2FA' => 'You must complete a two-factor verification.', |
| 82 | + 'needVerification' => 'Check your email to complete account activation.', |
| 83 | + |
| 84 | + // Activate |
| 85 | + 'emailActivateTitle' => 'Email Activation', |
| 86 | + 'emailActivateBody' => 'We just sent an email to you with a code to confirm your email address. Copy that code and paste it below.', |
| 87 | + 'emailActivateSubject' => 'Your activation code', |
| 88 | + 'emailActivateMailBody' => 'Please use the code below to activate your account and start using the site.', |
| 89 | + 'invalidActivateToken' => 'The code was incorrect.', |
| 90 | + 'needActivate' => 'You must complete your registration by confirming the code sent to your email address.', |
| 91 | + |
| 92 | + // Groups |
| 93 | + 'unknownGroup' => '{0} is not a valid group.', |
| 94 | + 'missingTitle' => 'Groups must have a title.', |
| 95 | + |
| 96 | + // Permissions |
| 97 | + 'unknownPermission' => '{0} is not a valid permission.', |
| 98 | +]; |
0 commit comments