Skip to content

Commit f1480e4

Browse files
authored
chore: add missing translation strings (alexjustesen#2639)
1 parent 82fdd6f commit f1480e4

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

lang/en/general.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@
7373
'healthy' => 'Healthy',
7474
'not_measured' => 'Not measured',
7575
'unhealthy' => 'Unhealthy',
76+
'last_results' => 'Last results',
77+
'total_failed' => 'Total failed tests',
78+
'total_complted' => 'Total completed tests',
79+
'total' => 'Total',
7680

7781
// Units
7882
'ms' => 'ms',

resources/views/dashboard.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="grid grid-cols-1 gap-6">
1010
<h2 class="flex items-center gap-x-2 text-base md:text-lg font-semibold text-zinc-900 dark:text-zinc-100 col-span-full">
1111
<x-tabler-chart-histogram class="size-5" />
12-
Metrics
12+
{{ __('general.metrics') }}
1313
</h2>
1414

1515
@livewire(\App\Filament\Widgets\RecentDownloadChartWidget::class)

resources/views/livewire/latest-result-stats.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div>
77
<h2 class="flex items-center gap-x-2 text-base md:text-lg font-semibold text-zinc-900 dark:text-zinc-100">
88
<x-tabler-rocket class="size-5" />
9-
Latest result
9+
{{ __('general.last_results') }}
1010
</h2>
1111

1212
<p class="mt-1 text-sm font-medium text-zinc-600 dark:text-zinc-400">{{ $this->latestResult->created_at->timezone(config('app.display_timezone'))->format(config('app.datetime_format')) }}</p>

resources/views/livewire/next-speedtest-banner.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<div class="ml-3 flex-1">
1010
<p class="text-sm text-blue-700 dark:text-blue-300">
11-
Next scheduled test at <span class="font-medium">{{ $this->nextSpeedtest->timezone(config('app.display_timezone'))->format(config('app.datetime_format')) }}</span>.
11+
{{ __('dashboard.next_speedtest_at') }} <span class="font-medium">{{ $this->nextSpeedtest->timezone(config('app.display_timezone'))->format(config('app.datetime_format')) }}</span>.
1212
</p>
1313
</div>
1414
</div>

resources/views/livewire/platform-stats.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,23 @@
2525

2626
<x-filament::section class="col-span-1" icon="tabler-hash" icon-size="md" :compact="true">
2727
<x-slot name="heading">
28-
Total tests
28+
{{ __('general.total') }}
2929
</x-slot>
3030

3131
<p class="text-xl font-semibold tracking-tight text-zinc-900 dark:text-zinc-100">{{ $this->platformStats['total'] }}</p>
3232
</x-filament::section>
3333

3434
<x-filament::section class="col-span-1" icon="tabler-circle-check" icon-size="md" :compact="true">
3535
<x-slot name="heading">
36-
Total completed tests
36+
{{ __('general.total_complted') }}
3737
</x-slot>
3838

3939
<p class="text-xl font-semibold tracking-tight text-zinc-900 dark:text-zinc-100">{{ $this->platformStats['completed'] }}</p>
4040
</x-filament::section>
4141

4242
<x-filament::section class="col-span-1" icon="tabler-alert-circle" icon-size="md" :compact="true">
4343
<x-slot name="heading">
44-
Total failed tests
44+
{{ __('general.total_failed') }}
4545
</x-slot>
4646

4747
<p class="text-xl font-semibold tracking-tight text-zinc-900 dark:text-zinc-100">{{ $this->platformStats['failed'] }}</p>

0 commit comments

Comments
 (0)