From 687272f47c4abdb35d7283b87c8748733283ecb6 Mon Sep 17 00:00:00 2001 From: Shailesh Date: Thu, 3 Feb 2022 16:18:26 +0530 Subject: [PATCH] fix: #32 add missing locale and update locale (#46) --- templates/scaffold/auth/login_locale.stub | 2 +- .../auth/passwords/confirm_locale.stub | 73 +++++++++++++++++++ .../scaffold/auth/passwords/email_locale.stub | 2 +- .../scaffold/auth/passwords/reset_locale.stub | 3 +- templates/scaffold/auth/register_locale.stub | 2 +- templates/scaffold/auth/verify_locale.stub | 26 +++++++ templates/scaffold/layouts/app.stub | 2 +- templates/scaffold/layouts/app_locale.stub | 2 +- 8 files changed, 105 insertions(+), 7 deletions(-) create mode 100644 templates/scaffold/auth/passwords/confirm_locale.stub create mode 100644 templates/scaffold/auth/verify_locale.stub diff --git a/templates/scaffold/auth/login_locale.stub b/templates/scaffold/auth/login_locale.stub index aa095b6..401b157 100644 --- a/templates/scaffold/auth/login_locale.stub +++ b/templates/scaffold/auth/login_locale.stub @@ -5,7 +5,7 @@ - Login | CoreUI | {{ config('app.name') }} + @lang('auth.sign_in') | CoreUI | {{ config('app.name') }} diff --git a/templates/scaffold/auth/passwords/confirm_locale.stub b/templates/scaffold/auth/passwords/confirm_locale.stub new file mode 100644 index 0000000..3a3d1da --- /dev/null +++ b/templates/scaffold/auth/passwords/confirm_locale.stub @@ -0,0 +1,73 @@ + + + + + + + + >@lang('auth.confirm_password') | CoreUI | {{ config('app.name') }} + + + + + + + + + + + + + +
+
+
+
+
+ @include('coreui-templates::common.errors') +
+ @csrf + +

@lang('auth.confirm_passwords.title')

+ +
+
+ + + +
+ + @error('password') + + {{ $message }} + + @enderror +
+ + +
+ + + @lang('auth.confirm_passwords.forgot_your_password') + +
+
+
+
+
+ + + + + + + + diff --git a/templates/scaffold/auth/passwords/email_locale.stub b/templates/scaffold/auth/passwords/email_locale.stub index fa1ca13..47d5e1b 100644 --- a/templates/scaffold/auth/passwords/email_locale.stub +++ b/templates/scaffold/auth/passwords/email_locale.stub @@ -5,7 +5,7 @@ - Password Reset | CoreUI | {{ config('app.name') }} + @lang('auth.reset_password.title') | CoreUI | {{ config('app.name') }} diff --git a/templates/scaffold/auth/passwords/reset_locale.stub b/templates/scaffold/auth/passwords/reset_locale.stub index bca4979..9564725 100644 --- a/templates/scaffold/auth/passwords/reset_locale.stub +++ b/templates/scaffold/auth/passwords/reset_locale.stub @@ -5,7 +5,7 @@ - Reset password | CoreUI | {{ config('app.name') }} + @lang('auth.reset_password.title') | CoreUI | {{ config('app.name') }} @@ -17,7 +17,6 @@ -
diff --git a/templates/scaffold/auth/register_locale.stub b/templates/scaffold/auth/register_locale.stub index fcbd451..587f684 100644 --- a/templates/scaffold/auth/register_locale.stub +++ b/templates/scaffold/auth/register_locale.stub @@ -5,7 +5,7 @@ - Register | CoreUI | {{ config('app.name') }} + >@lang('auth.registration.title') | CoreUI | {{ config('app.name') }} diff --git a/templates/scaffold/auth/verify_locale.stub b/templates/scaffold/auth/verify_locale.stub new file mode 100644 index 0000000..1b0b6f9 --- /dev/null +++ b/templates/scaffold/auth/verify_locale.stub @@ -0,0 +1,26 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+
+

@lang('auth.verify_email.title')

+ @if (session('resent')) + + @endif +

+ @lang('auth.verify_email.notice') +

+ + @lang('auth.verify_email.another_req') + . +
+
+
+
+
+@endsection \ No newline at end of file diff --git a/templates/scaffold/layouts/app.stub b/templates/scaffold/layouts/app.stub index d35925c..092a79b 100644 --- a/templates/scaffold/layouts/app.stub +++ b/templates/scaffold/layouts/app.stub @@ -87,7 +87,7 @@