i18n(workload): +10 translations + wrap capacity/hours/legend suffixes
Wrapped 'capacitate ref: Nh/zi' header, cell counters 'Nh / N progr.', and 3 previously-raw legend labels (liber / mediu / plin (peste capacitate)). +10 keys total. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<button class="wl-btn" wire:click="setWeek(-1)">{{ __('← Săpt. anterioară') }}</button>
|
||||
<span class="wl-week">{{ $data['weekLabel'] }}</span>
|
||||
<button class="wl-btn" wire:click="setWeek(1)">{{ __('Săpt. următoare →') }}</button>
|
||||
<span style="margin-left:auto;font-size:11px;color:#6b7280;">capacitate ref: {{ $data['capacity'] }}h/zi</span>
|
||||
<span style="margin-left:auto;font-size:11px;color:#6b7280;">{{ __('capacitate ref:') }} {{ $data['capacity'] }}{{ __('h/zi') }}</span>
|
||||
</div>
|
||||
|
||||
<div class="wl-card">
|
||||
@@ -71,8 +71,8 @@
|
||||
<td>
|
||||
<div class="wl-cell" style="background:{{ $bg }};color:{{ $fg }};">
|
||||
@if ($h > 0)
|
||||
<span class="wl-hours">{{ number_format($h, 1) }}h</span>
|
||||
<span class="wl-count">{{ $cell['count'] }} progr.</span>
|
||||
<span class="wl-hours">{{ number_format($h, 1) }}{{ __('h') }}</span>
|
||||
<span class="wl-count">{{ $cell['count'] }} {{ __('progr.') }}</span>
|
||||
@else
|
||||
<span style="color:#d1d5db;">—</span>
|
||||
@endif
|
||||
@@ -85,10 +85,10 @@
|
||||
</table>
|
||||
<div class="wl-legend">
|
||||
{{ __('Legendă:') }}
|
||||
<span class="wl-sw" style="background:#f3f4f6;"></span> liber
|
||||
<span class="wl-sw" style="background:#f3f4f6;"></span> {{ __('liber') }}
|
||||
<span class="wl-sw" style="background:rgba(64,200,80,0.3);"></span> {{ __('ușor') }}
|
||||
<span class="wl-sw" style="background:rgba(160,160,80,0.3);"></span> mediu
|
||||
<span class="wl-sw" style="background:rgba(255,80,80,0.3);"></span> plin (peste capacitate)
|
||||
<span class="wl-sw" style="background:rgba(160,160,80,0.3);"></span> {{ __('mediu') }}
|
||||
<span class="wl-sw" style="background:rgba(255,80,80,0.3);"></span> {{ __('plin (peste capacitate)') }}
|
||||
</div>
|
||||
</div>
|
||||
</x-filament-panels::page>
|
||||
|
||||
Reference in New Issue
Block a user