i18n(calendar): translate 'h/zi', matrix howto, load legend, day-count word
- Post/mechanic meta 'h/zi' → __('h/zi') so RU shows 'ч/день', EN 'h/day'
- Wrap the 3 load-legend labels (0–5h/10, 5–8.5h/10, ≥9h/10) so 'h' → 'ч' on RU
- Split the long howto sentence so 'Pod'/'Mecanic' + 'Zile' translate
- Default fallback 'Pod 1 (default)' now uses __('Pod') + __('implicit')
Adds 5 new translations. Post NAMES themselves are DB rows (user data)
and are shown as-is — they're not translated by the app.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -239,7 +239,7 @@
|
||||
|
||||
<div class="cv-notes">
|
||||
<strong>{{ __('⚙ Cum funcționează:') }}</strong>
|
||||
{{ __('Matricea') }} <strong>{{ $groupBy === 'post' ? 'Pod' : 'Mecanic' }} × Zile</strong>{{ __('. Drag-and-drop între celule pentru a reprograma. Indicator de încărcare pe fiecare celulă (ore_planificate / capacitate). Click pe celulă goală → programare rapidă. Click pe eveniment → detalii.') }}
|
||||
{{ __('Matricea') }} <strong>{{ $groupBy === 'post' ? __('Pod') : __('Mecanic') }} × {{ __('Zile') }}</strong>. {{ __('Drag-and-drop între celule pentru a reprograma. Indicator de încărcare pe fiecare celulă (ore planificate / capacitate). Click pe celulă goală → programare rapidă. Click pe eveniment → detalii.') }}
|
||||
</div>
|
||||
|
||||
@if ($viewMode === 'list')
|
||||
@@ -353,8 +353,8 @@
|
||||
<div>
|
||||
<div class="cv-legend-col">{{ __('Încărcare celulă') }}</div>
|
||||
<div class="cv-legend-items">
|
||||
<div class="cv-legend-item"><span class="cv-load" style="position:static;">0–5h/10</span> {{ __('liber/ușor') }}</div>
|
||||
<div class="cv-legend-item"><span class="cv-load warn" style="position:static;">5–8.5h/10</span> {{ __('mediu') }}</div>
|
||||
<div class="cv-legend-item"><span class="cv-load" style="position:static;">{{ __('0–5h/10') }}</span> {{ __('liber/ușor') }}</div>
|
||||
<div class="cv-legend-item"><span class="cv-load warn" style="position:static;">{{ __('5–8.5h/10') }}</span> {{ __('mediu') }}</div>
|
||||
<div class="cv-legend-item"><span class="cv-load full" style="position:static;">{{ __('≥9h/10') }}</span> {{ __('plin') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user