From 06479906cb18c609e250033b361627aec412ae23 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 26 Sep 2019 23:15:25 +1000 Subject: [PATCH] Fixes for lang --- resources/views/auth/login.blade.php | 16 +++---- .../views/auth/passwords/email.blade.php | 6 +-- .../views/auth/passwords/reset.blade.php | 10 ++-- .../client/partial/client_details.blade.php | 26 +++++----- .../client/partial/client_location.blade.php | 48 +++++++++---------- .../client/partial/client_settings.blade.php | 14 +++--- .../client/partial/contact_details.blade.php | 24 +++++----- resources/views/email/auth/verify.blade.php | 4 +- resources/views/header.blade.php | 6 +-- .../views/portal/default/auth/login.blade.php | 14 +++--- .../default/auth/passwords/email.blade.php | 6 +-- .../default/auth/passwords/reset.blade.php | 10 ++-- .../views/portal/default/header.blade.php | 12 ++--- .../settings/partial/localization.blade.php | 4 +- resources/views/sidebar.blade.php | 24 +++++----- resources/views/signup/index.blade.php | 16 +++---- .../views/vendor/mail/html/message.blade.php | 2 +- .../vendor/mail/markdown/message.blade.php | 2 +- .../views/vendor/mail/text/message.blade.php | 2 +- .../vendor/notifications/email.blade.php | 8 ++-- 20 files changed, 127 insertions(+), 127 deletions(-) diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index ab39ed8b8322..6b4da45785d5 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -10,7 +10,7 @@
@csrf -

@lang::get('texts.account_login')

+

@lang('texts.account_login')

@if (Session::has('error'))
  • {!! Session::get('error') !!}
  • @@ -23,7 +23,7 @@
    - + @if ($errors->has('email')) @@ -38,7 +38,7 @@
    - + @if ($errors->has('password')) @@ -49,11 +49,11 @@
    - +
    @@ -91,9 +91,9 @@
    -

    @lang::get('texts.sign_up_now')

    -

    @lang::get('texts.not_a_member_yet')

    - @lang::get('texts.login_create_an_account') +

    @lang('texts.sign_up_now')

    +

    @lang('texts.not_a_member_yet')

    + @lang('texts.login_create_an_account')
    diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index dddd0ce6fdb6..5cebb9178e1a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -16,7 +16,7 @@ @endif @csrf -

    @lang::get('texts.password_recovery')

    +

    trans('texts.password_recovery')

    @@ -24,7 +24,7 @@
    - + @if ($errors->has('email')) @@ -36,7 +36,7 @@
    - +
    diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index 460a59a6f0b8..5c8eb14e55e2 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -12,7 +12,7 @@
    @csrf -

    @lang::get('texts.change_password')

    +

    trans('texts.change_password')

    @@ -20,7 +20,7 @@
    - + @if ($errors->has('email')) @@ -36,7 +36,7 @@
    - + @if ($errors->has('password')) @@ -51,12 +51,12 @@
    - +
    - +
    diff --git a/resources/views/client/partial/client_details.blade.php b/resources/views/client/partial/client_details.blade.php index 4a095dff62cd..5aeae3032cfa 100644 --- a/resources/views/client/partial/client_details.blade.php +++ b/resources/views/client/partial/client_details.blade.php @@ -1,50 +1,50 @@
    -
    @lang::get('texts.edit_client')
    +
    trans('texts.edit_client')
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    diff --git a/resources/views/client/partial/client_location.blade.php b/resources/views/client/partial/client_location.blade.php index 23af5e98bc55..50ed78bb440e 100644 --- a/resources/views/client/partial/client_location.blade.php +++ b/resources/views/client/partial/client_location.blade.php @@ -14,46 +14,46 @@
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    @@ -62,46 +62,46 @@
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    diff --git a/resources/views/client/partial/client_settings.blade.php b/resources/views/client/partial/client_settings.blade.php index 439ffc28c4c9..259f394fda90 100644 --- a/resources/views/client/partial/client_settings.blade.php +++ b/resources/views/client/partial/client_settings.blade.php @@ -1,6 +1,6 @@
    -
    @lang::get('texts.settings')
    +
    trans('texts.settings')
    @@ -20,42 +20,42 @@
    - +
    {{ html()->input('name')->placeholder(__('texts.client_name'))->value($client->present()->name)->class('form-control')->id('name') }}
    - +
    {{ html()->input('id_number')->placeholder(__('texts.id_number'))->value($client->id_number)->class('form-control')->id('id_number') }}
    - +
    {{ html()->input('vat_number')->placeholder(__('texts.vat_number'))->value($client->vat_number)->class('form-control')->id('vat_number') }}
    - +
    {{ html()->input('website')->placeholder(__('texts.website'))->value($client->website)->class('form-control')->id('website') }}
    - +
    {{ html()->input('custom_value1')->placeholder(__('texts.custom_value1'))->value($client->custom_value1)->class('form-control')->id('custom_value1') }}
    - +
    {{ html()->input('custom_value2')->placeholder(__('texts.custom_value2'))->value($client->custom_value2)->class('form-control')->id('custom_value2') }}
    diff --git a/resources/views/client/partial/contact_details.blade.php b/resources/views/client/partial/contact_details.blade.php index da2346411931..bd21ddd0ecf8 100644 --- a/resources/views/client/partial/contact_details.blade.php +++ b/resources/views/client/partial/contact_details.blade.php @@ -1,49 +1,49 @@
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    diff --git a/resources/views/email/auth/verify.blade.php b/resources/views/email/auth/verify.blade.php index dc956d1ac535..c61fb0198fe5 100644 --- a/resources/views/email/auth/verify.blade.php +++ b/resources/views/email/auth/verify.blade.php @@ -9,10 +9,10 @@ Header Title {{-- Body --}} {{ $user }} -@lang::get('texts.confirmation_message') +trans('texts.confirmation_message') @component('mail::button', ['url' => url("/user/confirm/{$user->confirmation_code}")]) -@lang::get('texts.confirm') +trans('texts.confirm') @endcomponent {{-- Subcopy --}} diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index 79b84913ef98..f584d1bee202 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -83,7 +83,7 @@ @@ -119,7 +119,7 @@ Profile - @lang::get('texts.settings') + trans('texts.settings') diff --git a/resources/views/portal/default/auth/login.blade.php b/resources/views/portal/default/auth/login.blade.php index f2df501edee8..ffb599486077 100644 --- a/resources/views/portal/default/auth/login.blade.php +++ b/resources/views/portal/default/auth/login.blade.php @@ -29,7 +29,7 @@ @endif
    @csrf -

    {{ ('texts.account_login') }}

    +

    {{ trans('texts.account_login') }}

    @if (Session::has('error'))
  • {!! Session::get('error') !!}
  • @@ -42,7 +42,7 @@
    - + @if ($errors->has('email')) @@ -57,7 +57,7 @@
    - + @if ($errors->has('password')) @@ -72,7 +72,7 @@
    @@ -85,9 +85,9 @@