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 -

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

+

@lang('auth.request_reset_text')

- + @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')
- +
- +
- + @if ($errors->has('email')) {{ $errors->first('email') }} @@ -39,21 +39,21 @@
- +
- + @if ($errors->has('password')) {{ $errors->first('password') }} @endif -

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

+

@lang('auth.password_requirements')

- +
- + @if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @@ -65,7 +65,7 @@
{!! csrf_field() !!} - +
diff --git a/resources/themes/pterodactyl/base/account.blade.php b/resources/themes/pterodactyl/base/account.blade.php index 9ab86ee87..0bb797fda 100644 --- a/resources/themes/pterodactyl/base/account.blade.php +++ b/resources/themes/pterodactyl/base/account.blade.php @@ -20,14 +20,14 @@ @extends('layouts.master') @section('title') - {{ trans('base.account.header') }} + @lang('base.account.header') @endsection @section('content-header') -

{{ trans('base.account.header') }}{{ trans('base.account.header_sub')}}

+

@lang('base.account.header')@lang('base.account.header_sub')

@endsection @@ -36,25 +36,25 @@
-

{{ trans('base.account.update_pass') }}

+

@lang('base.account.update_pass')

- +
- +
-

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

+

@lang('auth.password_requirements')

- +
@@ -62,7 +62,7 @@
@@ -70,18 +70,18 @@
-

{{ trans('base.account.update_email') }}

+

@lang('base.account.update_email')

- +
- +
@@ -89,7 +89,7 @@
diff --git a/resources/themes/pterodactyl/base/api/index.blade.php b/resources/themes/pterodactyl/base/api/index.blade.php index 8d59ba153..7a1776c34 100644 --- a/resources/themes/pterodactyl/base/api/index.blade.php +++ b/resources/themes/pterodactyl/base/api/index.blade.php @@ -20,14 +20,14 @@ @extends('layouts.master') @section('title') - {{ trans('base.api.index.header') }} + @lang('base.api.index.header') @endsection @section('content-header') -

{{ trans('base.api.index.header') }}{{ trans('base.api.index.header_sub')}}

+

@lang('base.api.index.header')@lang('base.api.index.header_sub')

@endsection @@ -36,16 +36,16 @@
-

{{ trans('base.api.index.list')}}

+

@lang('base.api.index.list')

- - - - + + + + @foreach ($keys as $key) @@ -72,7 +72,7 @@ diff --git a/resources/themes/pterodactyl/base/index.blade.php b/resources/themes/pterodactyl/base/index.blade.php index 88509988d..25e2e4f4b 100644 --- a/resources/themes/pterodactyl/base/index.blade.php +++ b/resources/themes/pterodactyl/base/index.blade.php @@ -20,14 +20,14 @@ @extends('layouts.master') @section('title') - {{ trans('base.index.header') }} + @lang('base.index.header') @endsection @section('content-header') -

{{ trans('base.index.header') }}{{ trans('base.index.header_sub')}}

+

@lang('base.index.header')@lang('base.index.header_sub')

@endsection @@ -36,10 +36,10 @@
-

{{ trans('base.index.list') }}

+

@lang('base.index.list')

- +
@@ -50,13 +50,13 @@
{{ trans('strings.public_key') }}{{ trans('strings.memo') }}@lang('strings.public_key')@lang('strings.memo')
- - - - - - - + + + + + + + @foreach($servers as $server) @@ -68,7 +68,7 @@
{{ trans('strings.id') }}{{ trans('strings.name') }}{{ trans('strings.node') }}{{ trans('strings.connection') }}{{ trans('strings.status') }}@lang('strings.id')@lang('strings.name')@lang('strings.node')@lang('strings.connection')@lang('strings.status')
@if($server->suspended === 1) - {{ trans('strings.suspended') }} + @lang('strings.suspended') @else @endif diff --git a/resources/themes/pterodactyl/base/security.blade.php b/resources/themes/pterodactyl/base/security.blade.php index d32ffe31f..cab949ea8 100644 --- a/resources/themes/pterodactyl/base/security.blade.php +++ b/resources/themes/pterodactyl/base/security.blade.php @@ -20,15 +20,15 @@ @extends('layouts.master') @section('title') - {{ trans('base.security.header') }} + @lang('base.security.header') @endsection @section('content-header') -

{{ trans('base.security.header') }}{{ trans('base.security.header_sub')}}

+

@lang('base.security.header')@lang('base.security.header_sub')

@endsection @@ -37,15 +37,15 @@
-

{{ trans('base.security.sessions') }}

+

@lang('base.security.sessions')

- - - + + + @foreach($sessions as $session) @@ -55,7 +55,7 @@ @@ -68,34 +68,34 @@
-

{{ trans('base.security.2fa_header') }}

+

@lang('base.security.2fa_header')

@if(Auth::user()->use_totp)
-

{{ trans('base.security.2fa_enabled') }}

+

@lang('base.security.2fa_enabled')

- +
-

{{ trans('base.security.2fa_token_help') }}

+

@lang('base.security.2fa_token_help')

@else
- {{ trans('base.security.2fa_disabled') }} + @lang('base.security.2fa_disabled')
@endif @@ -107,7 +107,7 @@ diff --git a/resources/themes/pterodactyl/layouts/master.blade.php b/resources/themes/pterodactyl/layouts/master.blade.php index 0baab1477..220b823fe 100644 --- a/resources/themes/pterodactyl/layouts/master.blade.php +++ b/resources/themes/pterodactyl/layouts/master.blade.php @@ -111,46 +111,46 @@
@endif
{{ trans('strings.id') }}{{ trans('strings.ip') }}{{ trans('strings.last_activity') }}@lang('strings.id')@lang('strings.ip')@lang('strings.last_activity')
{{ Carbon::createFromTimestamp($session->last_activity)->diffForHumans() }} - +