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:
@@ -54,7 +54,7 @@
|
||||
<div class="wiz-field">
|
||||
<label>{{ __('Furnizor *') }}</label>
|
||||
<select wire:model="supplierId">
|
||||
<option value="">— alege —</option>
|
||||
<option value="">{{ __('— alege —') }}</option>
|
||||
@foreach ($this->getSupplierOptions() as $id => $name)
|
||||
<option value="{{ $id }}">{{ $name }}</option>
|
||||
@endforeach
|
||||
@@ -102,21 +102,21 @@
|
||||
|
||||
<div class="wiz-grid">
|
||||
<div class="wiz-field">
|
||||
<label>Coloana Articol *</label>
|
||||
<label>{{ __('Coloana Articol *') }}</label>
|
||||
<select wire:model="mapping.article_col">
|
||||
<option value="">—</option>
|
||||
@foreach ($headersPreview['columns'] as $c)<option value="{{ $c }}">{{ $c }}</option>@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="wiz-field">
|
||||
<label>Coloana Denumire *</label>
|
||||
<label>{{ __('Coloana Denumire *') }}</label>
|
||||
<select wire:model="mapping.name_col">
|
||||
<option value="">—</option>
|
||||
@foreach ($headersPreview['columns'] as $c)<option value="{{ $c }}">{{ $c }}</option>@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div class="wiz-field">
|
||||
<label>Coloana Cantitate *</label>
|
||||
<label>{{ __('Coloana Cantitate *') }}</label>
|
||||
<select wire:model="mapping.qty_col">
|
||||
<option value="">—</option>
|
||||
@foreach ($headersPreview['columns'] as $c)<option value="{{ $c }}">{{ $c }}</option>@endforeach
|
||||
@@ -151,7 +151,7 @@
|
||||
|
||||
<div class="wiz-actions">
|
||||
<button class="wiz-btn" wire:click="$set('step', 1)">{{ __('← Înapoi') }}</button>
|
||||
<button class="wiz-btn wiz-btn-primary" wire:click="goToStep3">Previzualizare →</button>
|
||||
<button class="wiz-btn wiz-btn-primary" wire:click="goToStep3">{{ __('Previzualizare →') }}</button>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
<table class="wiz-preview-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Articol</th><th>Denumire</th><th>Brand</th><th>Cant.</th><th>{{ __('Preț') }}</th><th>Status</th>
|
||||
<th>{{ __('Articol') }}</th><th>{{ __('Denumire') }}</th><th>{{ __('Brand') }}</th><th>{{ __('Cant.') }}</th><th>{{ __('Preț') }}</th><th>{{ __('Status') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user