feat(i18n): convert 38 hardcoded static labels + safe blade wrap + 226 keys
- Convert all remaining static \$modelLabel/\$pluralModelLabel to getter methods with __() (AppointmentResource, WorkOrderResource, MasterResource, ServiceTemplateResource, LaborResource, and 33 others) - Safe blade wrap v2 (37 files, 201 wraps): fixed the regex to not match `->`, `=>`, `!<` — previous aggressive pass broke @if directives - Bulk-translate lowercase model-label keys (programări, fișe lucru, tehnicieni, șabloane servicii, norme-ore, etc.) — these were the RO strings appearing in page titles/breadcrumbs - Add human RU/EN for mechanic-kpi (Mecanic/Lucrări/Norma ore/etc.) and calendar-board words Tests 306 green. Blade compiles cleanly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
</p>
|
||||
<ul class="bk-list">
|
||||
<li>{{ __('Backup periodic (descarcă local sau sincronizează cu cloud)') }}</li>
|
||||
<li>Migrare la alt sistem CRM</li>
|
||||
<li>{{ __('Migrare la alt sistem CRM') }}</li>
|
||||
<li>{{ __('Audit / verificări fiscale') }}</li>
|
||||
<li>{{ __('Conformitate GDPR (la cererea ștergerii datelor)') }}</li>
|
||||
</ul>
|
||||
@@ -31,12 +31,12 @@
|
||||
depozit, furnizori, achiziții, plăți, cheltuieli, salarii, useri, logo + favicon, manifest cu metadata.') }}
|
||||
</p>
|
||||
<p class="bk-p">
|
||||
<b>Format:</b> {{ __('ZIP cu fișiere JSON (1 per tabel) + media + manifest.json.') }}
|
||||
<b>{{ __('Format:') }}</b> {{ __('ZIP cu fișiere JSON (1 per tabel) + media + manifest.json.') }}
|
||||
</p>
|
||||
|
||||
<button type="button" class="bk-btn" wire:click="downloadBackup" wire:loading.attr="disabled">
|
||||
<span wire:loading.remove wire:target="downloadBackup">{{ __('⬇ Descarcă backup acum') }}</span>
|
||||
<span wire:loading wire:target="downloadBackup">Generez ZIP...</span>
|
||||
<span wire:loading wire:target="downloadBackup">{{ __('Generez ZIP...') }}</span>
|
||||
</button>
|
||||
|
||||
<p class="bk-p" style="margin-top:24px;font-size:11px;color:#9ca3af;">
|
||||
|
||||
Reference in New Issue
Block a user