Name dynamic translation keys the way the catalogue test reads them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
{{ $row['title'] }}
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ __('panel.statistics.types.'.$row['type']) }}</td>
|
||||
<td>{{ __("panel.statistics.types.{$row['type']}") }}</td>
|
||||
<td class="num">{{ number_format($row['views'], 0, ',', '.') }}</td>
|
||||
<td @class(['num', 'st-up' => str_starts_with($delta, '+'), 'st-down' => str_starts_with($delta, '−')])>{{ $delta }}</td>
|
||||
</tr>
|
||||
@@ -88,7 +88,7 @@
|
||||
<ul class="st-unread">
|
||||
@foreach ($unread as $row)
|
||||
<li>
|
||||
<x-filament::badge color="gray" size="sm" style="display: inline-flex">{{ __('panel.statistics.types.'.$row['type']) }}</x-filament::badge>
|
||||
<x-filament::badge color="gray" size="sm" style="display: inline-flex">{{ __("panel.statistics.types.{$row['type']}") }}</x-filament::badge>
|
||||
@if ($row['url'])
|
||||
<x-filament::link :href="$row['url']">{{ $row['title'] }}</x-filament::link>
|
||||
@else
|
||||
|
||||
Reference in New Issue
Block a user