diff --git a/app/Filament/Resources/Applications/Schemas/ApplicationInfolist.php b/app/Filament/Resources/Applications/Schemas/ApplicationInfolist.php
index 682741e..da5981d 100644
--- a/app/Filament/Resources/Applications/Schemas/ApplicationInfolist.php
+++ b/app/Filament/Resources/Applications/Schemas/ApplicationInfolist.php
@@ -88,7 +88,7 @@ class ApplicationInfolist
->state(fn (ApplicationReply $record) => __('panel.replies.by', [
'name' => $record->user_name ?? '—',
'when' => $record->created_at?->isoFormat('LLL'),
- ]).' · '.__('panel.replies.channels.'.$record->channel))
+ ]).' · '.__("panel.replies.channels.{$record->channel}"))
->color('gray'),
TextEntry::make('body')
diff --git a/app/Notifications/ExpiringSoon.php b/app/Notifications/ExpiringSoon.php
index d5b57b7..066418f 100644
--- a/app/Notifications/ExpiringSoon.php
+++ b/app/Notifications/ExpiringSoon.php
@@ -32,7 +32,7 @@ class ExpiringSoon extends Notification
return FilamentNotification::make()
->title(trans_choice('panel.expiring.notification.title', $this->items->count(), ['count' => $this->items->count()]))
->body($this->items
- ->map(fn (array $item) => $item['title'].' — '.__('panel.expiring.events.'.$item['event'], [
+ ->map(fn (array $item) => $item['title'].' — '.__("panel.expiring.events.{$item['event']}", [
'when' => $item['at']->diffForHumans(),
'date' => $item['at']->isoFormat('LL'),
]))
diff --git a/resources/views/filament/pages/editorial-calendar.blade.php b/resources/views/filament/pages/editorial-calendar.blade.php
index ec1d350..edaafdf 100644
--- a/resources/views/filament/pages/editorial-calendar.blade.php
+++ b/resources/views/filament/pages/editorial-calendar.blade.php
@@ -35,7 +35,7 @@
@foreach (['published', 'scheduled', 'unpublishes', 'opens', 'closes'] as $event)
- {{ __('panel.calendar.events.'.$event) }}
+ {{ __("panel.calendar.events.{$event}") }}
@endforeach
@@ -73,8 +73,8 @@
@foreach ($day['events'] as $event)
- {{ __('panel.calendar.events.'.$event['event']) }}:
- {{ __('panel.calendar.types.'.$event['type']) }} · {{ $event['title'] }}
+ {{ __("panel.calendar.events.{$event['event']}") }}:
+ {{ __("panel.calendar.types.{$event['type']}") }} · {{ $event['title'] }}
@endforeach
diff --git a/resources/views/filament/pages/statistics.blade.php b/resources/views/filament/pages/statistics.blade.php
index 750cb54..f5cd692 100644
--- a/resources/views/filament/pages/statistics.blade.php
+++ b/resources/views/filament/pages/statistics.blade.php
@@ -70,7 +70,7 @@
{{ $row['title'] }}
@endif
- {{ __('panel.statistics.types.'.$row['type']) }} |
+ {{ __("panel.statistics.types.{$row['type']}") }} |
{{ number_format($row['views'], 0, ',', '.') }} |
str_starts_with($delta, '+'), 'st-down' => str_starts_with($delta, '−')])>{{ $delta }} |
@@ -88,7 +88,7 @@
@foreach ($unread as $row)
-
- {{ __('panel.statistics.types.'.$row['type']) }}
+ {{ __("panel.statistics.types.{$row['type']}") }}
@if ($row['url'])
{{ $row['title'] }}
@else
diff --git a/resources/views/filament/pages/translation-assistant.blade.php b/resources/views/filament/pages/translation-assistant.blade.php
index 1d87d39..853b392 100644
--- a/resources/views/filament/pages/translation-assistant.blade.php
+++ b/resources/views/filament/pages/translation-assistant.blade.php
@@ -40,7 +40,7 @@
@foreach ($pending as $item)
|
- {{ __('panel.statistics.types.'.$item['type']) }}
+ {{ __("panel.statistics.types.{$item['type']}") }}
{{ $item['title'] }}
|
diff --git a/resources/views/filament/widgets/expiring-soon.blade.php b/resources/views/filament/widgets/expiring-soon.blade.php
index 5226904..ebfe224 100644
--- a/resources/views/filament/widgets/expiring-soon.blade.php
+++ b/resources/views/filament/widgets/expiring-soon.blade.php
@@ -9,7 +9,7 @@
-
- {{ __('panel.expiring.types.'.$item['type']) }}
+ {{ __("panel.expiring.types.{$item['type']}") }}
@@ -18,7 +18,7 @@
- {{ __('panel.expiring.events.'.$item['event'], ['when' => $item['at']->diffForHumans(), 'date' => $item['at']->isoFormat('LL')]) }}
+ {{ __("panel.expiring.events.{$item['event']}", ['when' => $item['at']->diffForHumans(), 'date' => $item['at']->isoFormat('LL')]) }}
@endforeach
|