From e075b9061e55ec0890ebe75e0314330e5bb0ee6c Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Wed, 18 Jan 2017 02:01:26 +0100 Subject: [PATCH] replace `{{ trans() }}` with `@lang()` --- .../themes/pterodactyl/auth/login.blade.php | 14 +++--- .../auth/passwords/email.blade.php | 10 ++--- .../auth/passwords/reset.blade.php | 18 ++++---- .../themes/pterodactyl/base/account.blade.php | 28 ++++++------ .../pterodactyl/base/api/index.blade.php | 20 ++++----- .../themes/pterodactyl/base/index.blade.php | 28 ++++++------ .../pterodactyl/base/security.blade.php | 44 +++++++++---------- .../pterodactyl/layouts/master.blade.php | 36 +++++++-------- .../themes/pterodactyl/server/index.blade.php | 4 +- .../server/settings/sftp.blade.php | 8 ++-- 10 files changed, 105 insertions(+), 105 deletions(-) diff --git a/resources/themes/pterodactyl/auth/login.blade.php b/resources/themes/pterodactyl/auth/login.blade.php index cddf1c2d9..6582356ad 100644 --- a/resources/themes/pterodactyl/auth/login.blade.php +++ b/resources/themes/pterodactyl/auth/login.blade.php @@ -28,7 +28,7 @@ @if (count($errors) > 0)
- {{ trans('auth.auth_error') }}

+ @lang('auth.auth_error')

@endforeach @endforeach -

{{ trans('auth.authentication_required') }}

+

@lang('auth.authentication_required')

- +
- +
- +
{!! csrf_field() !!} - +
- {{ trans('auth.forgot_password') }}
+ @lang('auth.forgot_password')
@endsection diff --git a/resources/themes/pterodactyl/auth/passwords/email.blade.php b/resources/themes/pterodactyl/auth/passwords/email.blade.php index ea5456bae..a8e8202bb 100644 --- a/resources/themes/pterodactyl/auth/passwords/email.blade.php +++ b/resources/themes/pterodactyl/auth/passwords/email.blade.php @@ -27,13 +27,13 @@
@if (session('status'))
- {{ trans('auth.email_sent') }} + @lang('auth.email_sent')
@endif - +
- + @if ($errors->has('email')) @@ -43,11 +43,11 @@
{!! csrf_field() !!} - +
diff --git a/resources/themes/pterodactyl/auth/passwords/reset.blade.php b/resources/themes/pterodactyl/auth/passwords/reset.blade.php index 4e730c867..cc1998e15 100644 --- a/resources/themes/pterodactyl/auth/passwords/reset.blade.php +++ b/resources/themes/pterodactyl/auth/passwords/reset.blade.php @@ -25,12 +25,12 @@ @section('content')