diff --git a/resources/lang/en/dashboard.php b/resources/lang/en/dashboard.php new file mode 100644 index 00000000..91a195fe --- /dev/null +++ b/resources/lang/en/dashboard.php @@ -0,0 +1,14 @@ + 'Total Hours', + 'yourbalance' => 'Your Balance', + 'yourlastreport' => 'Your Last Report', + 'noreportsyet' => 'No reports yet.', + 'fileonenow' => 'File one now.', + 'weatherat' => 'Weather at :ICAO', + 'recentreports' => 'Recent Reports', +]; diff --git a/resources/lang/it/dashboard.php b/resources/lang/it/dashboard.php new file mode 100644 index 00000000..9bc8812d --- /dev/null +++ b/resources/lang/it/dashboard.php @@ -0,0 +1,14 @@ + 'Ore Totali', + 'yourbalance' => 'Bilancio', + 'yourlastreport' => 'Ultimo Rapporto', + 'noreportsyet' => 'Ancora nessun rapporto.', + 'fileonenow' => 'Inseriscine uno ora.', + 'weatherat' => 'Tempo a :ICAO', + 'recentreports' => 'Rapporti Recenti', +]; diff --git a/resources/views/layouts/default/dashboard/index.blade.php b/resources/views/layouts/default/dashboard/index.blade.php index 7497c976..09944366 100644 --- a/resources/views/layouts/default/dashboard/index.blade.php +++ b/resources/views/layouts/default/dashboard/index.blade.php @@ -26,7 +26,7 @@

{{ \App\Facades\Utils::minutesToTimeString($user->flight_time, false)}}

-
@lang('frontend.dashboard.totalhours')
+
@lang('dashboard.totalhours')
@@ -37,7 +37,7 @@

{{ $user->journal->balance }}

-
@lang('frontend.dashboard.yourbalance')
+
@lang('dashboard.yourbalance')
@@ -62,11 +62,11 @@
@if($last_pirep === null)
- @lang('frontend.dashboard.noreportsyet') @lang('frontend.dashboard.fileonenow') + @lang('dashboard.noreportsyet') @lang('dashboard.fileonenow')
@else @include('pireps.pirep_card', ['pirep' => $last_pirep]) @@ -81,7 +81,7 @@
@@ -93,7 +93,7 @@