diff --git a/resources/lang/en/messages.php b/resources/lang/en/messages.php index 0c28265..e8a6ecc 100644 --- a/resources/lang/en/messages.php +++ b/resources/lang/en/messages.php @@ -60,5 +60,36 @@ EOT, // ======================== AUTHENTICATION MESSAGES =========================== + '2fa_txt' => 'Two-Factor Authentication', + '2fa_sronly' => 'Two-factor secret code (You can find this on Google Authenticator)', + '2fa_lostcode' => 'Don\'t know the code?', + '2fa_cancel_login' => 'Cancel login (logout)', + + 'terms' => 'Terms of Use', + 'ppolicy' => 'Privacy Policy', + + 'signin_cta' => 'Sign into your account', + 'password' => 'Password', + 'remember_me' => 'Remember me', + 'forgot_pw' => 'Forgot password?', + 'register_cta' => 'Register here', + 'no_acc' => 'Don\'t have an account?', + 'register_acc' => 'Register a new account', + 'pwsec' => [ + 'line1' => 'Basic password security', + 'line2' => 'For your security, we implement strict password policies. It\'s also advisable to let your password manager or browser generate and save passwords for you (if it\'s a private device).', + 'line3' => 'Passwords must be a combination of: ', + 'line4' => 'A minimum of 10 characters;', + 'line5' => 'At least 3 uppercase characters;', + 'line6' => 'At least 3 numbers;', + 'line7' => 'Any number of special characters.' + ], + 'sronly_confirmpassword' => 'Confirm Password', // hint: sronly stands for screen-reader only + 'sronly_mcusername' => 'Minecraft Username (Premium)', + 'have_account' => 'Have an account with us?', + 'login_here' => 'Login here', + 'register_txt' => 'Register', + + // ===================== DASHBOARD & COMPONENT MESSAGES =========================== ]; diff --git a/resources/views/auth/2fa.blade.php b/resources/views/auth/2fa.blade.php index 43d515e..07570f6 100644 --- a/resources/views/auth/2fa.blade.php +++ b/resources/views/auth/2fa.blade.php @@ -13,19 +13,19 @@
Two-factor Authentication
+{{__('messages.2fa_txt')}}
- + diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 85fa936..ec69b70 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -13,28 +13,28 @@Sign into your account
+{{__('messages.signin_cta')}}
- Forgot password? - + {{__('messages.forgot_pw')}} + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index 8458eed..8170367 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -13,57 +13,57 @@Register a new account
+{{__('messages.register_acc')}}
Basic password security
-For your security, we implement strict password policies. It's also advisable to let your password manager or browser generate and save passwords for you (if it's a private device).
+{{__('messages.pwsec.line1')}}
+{{__('messages.pwsec.line2')}}
-Passwords must be a combination of:
+{{__('messages.pwsec.line3')}}