diff --git a/stubs/auth/resources/lang/en/auth.php b/stubs/auth/resources/lang/en/auth.php new file mode 100644 index 0000000..894ac27 --- /dev/null +++ b/stubs/auth/resources/lang/en/auth.php @@ -0,0 +1,75 @@ + 'These credentials do not match our records.', + 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', + 'passwords' => [ + 'confirm' => [ + 'title' => 'Confirm your password', + 'subtitle' => 'Please continue your password before continuing', + 'forgot_password_link' => 'Forgot your password?', + 'confirm_password_action' => 'Confirm password' + ], + 'email' => [ + 'title' => 'Reset password', + 'send_password_reset_link_action' => 'Send password reset link' + ], + 'reset' => [ + 'title' => 'Reset password', + 'confirm_password_action' => 'Confirm Password', + 'reset_password_action' => 'Reset Password' + ], + ], + 'login' => [ + 'title' => 'Sign in to your account', + 'subtitle' => [ + 'pre' => 'Or', + 'link' => 'create a new account', + ], + 'remember_label' => 'Remember', + 'forgot_password_link' => 'Forgot your password?', + 'sign_in_action' => 'Sign in', + ], + 'register' => [ + 'title' => 'Create a new account', + 'subtitle' => [ + 'pre' => 'Or', + 'link' => 'sign in to your account', + ], + 'confirm_password_label' => 'Confirm Password', + 'register_action' => 'Register' + ], + 'verify' => [ + 'title' => 'Verify your email address', + 'subtitle' => [ + 'pre' => 'Or', + 'link' => 'sign out', + ], + 'resent_verification_link' => 'A fresh verification link has been sent to your email address.', + 'check_email_for_link' => 'Before proceeding, please check your email for a verification link.', + 'email_not_received' => [ + 'pre' => 'If you did not receive the email, ', + 'link' => 'click here to request another.', + ] + ], + 'links' => [ + 'register' => 'Register', + 'login' => 'Login', + 'logout' => 'Log out' + ], + 'labels' => [ + 'email' => 'Email address', + 'password' => 'Password', + 'username' => 'Name', + ], +]; diff --git a/stubs/auth/resources/views/auth/login.blade.php b/stubs/auth/resources/views/auth/login.blade.php index eac7864..9fca72b 100644 --- a/stubs/auth/resources/views/auth/login.blade.php +++ b/stubs/auth/resources/views/auth/login.blade.php @@ -1,5 +1,5 @@ @extends('layouts.auth') -@section('title', 'Sign in to your account') +@section('title', __('auth.login.title')) @section('content')
diff --git a/stubs/auth/resources/views/auth/passwords/confirm.blade.php b/stubs/auth/resources/views/auth/passwords/confirm.blade.php index 0f39ec7..b13d4ca 100644 --- a/stubs/auth/resources/views/auth/passwords/confirm.blade.php +++ b/stubs/auth/resources/views/auth/passwords/confirm.blade.php @@ -1,5 +1,5 @@ @extends('layouts.auth') -@section('title', 'Confirm your password') +@section('title', __('auth.passwords.confirm.title')) @section('content')
diff --git a/stubs/auth/resources/views/auth/passwords/email.blade.php b/stubs/auth/resources/views/auth/passwords/email.blade.php index 0155273..7c6a1c0 100644 --- a/stubs/auth/resources/views/auth/passwords/email.blade.php +++ b/stubs/auth/resources/views/auth/passwords/email.blade.php @@ -1,5 +1,5 @@ @extends('layouts.auth') -@section('title', 'Reset password') +@section('title', __('auth.passwords.email.title')) @section('content')
diff --git a/stubs/auth/resources/views/auth/passwords/reset.blade.php b/stubs/auth/resources/views/auth/passwords/reset.blade.php index 7b9ab06..cddcd57 100644 --- a/stubs/auth/resources/views/auth/passwords/reset.blade.php +++ b/stubs/auth/resources/views/auth/passwords/reset.blade.php @@ -1,5 +1,5 @@ @extends('layouts.auth') -@section('title', 'Reset password') +@section('title', __('auth.passwords.reset.title')) @section('content')
diff --git a/stubs/auth/resources/views/auth/register.blade.php b/stubs/auth/resources/views/auth/register.blade.php index b2e06ba..e1ca258 100644 --- a/stubs/auth/resources/views/auth/register.blade.php +++ b/stubs/auth/resources/views/auth/register.blade.php @@ -1,5 +1,5 @@ @extends('layouts.auth') -@section('title', 'Create a new account') +@section('title', __('auth.register.title')) @section('content')
diff --git a/stubs/auth/resources/views/auth/verify.blade.php b/stubs/auth/resources/views/auth/verify.blade.php index a4128b6..7f9d459 100644 --- a/stubs/auth/resources/views/auth/verify.blade.php +++ b/stubs/auth/resources/views/auth/verify.blade.php @@ -1,5 +1,5 @@ @extends('layouts.auth') -@section('title', 'Verify your email address') +@section('title', __('auth.verify.title')) @section('content')
diff --git a/stubs/auth/resources/views/livewire/auth/login.blade.php b/stubs/auth/resources/views/livewire/auth/login.blade.php index 01afb80..9685fdb 100644 --- a/stubs/auth/resources/views/livewire/auth/login.blade.php +++ b/stubs/auth/resources/views/livewire/auth/login.blade.php @@ -4,13 +4,13 @@ -

- Sign in to your account +

+ {{ __('auth.login.title') }}

-

- Or - - create a new account +

+ {{ __('auth.login.subtitle.pre') }} + + {{ __('auth.login.subtitle.link') }}

@@ -19,8 +19,8 @@
-