feat(i18n): mega-wrap 494 raw RO strings + 269 lang entries + 161 human RU/163 EN
Broad sweep across the whole codebase:
- Blade views (39 files, 315 wraps): tag-text and title/placeholder/alt
attributes wrapped with {{ __() }}. Excludes scripts, styles, @php,
@verbatim, {{ }}, {!! !!}, comments to avoid touching interpolations.
- PHP (54 files, 179 wraps): array 'key' => 'RO value' patterns and
list items with diacritics wrapped with __(). Reverted __() inside
const arrays (PHP disallows non-constant expressions).
- Added 269 new keys to lang/{ru,en}.json (identity fallback for
unknowns → 161 human RU + 163 EN translations added for the most
common enums, stages, roles, statuses, payment methods, vehicle
categories, warehouse, portal, form actions.
Missing translations fall back to RO so the UI never breaks. All 306
tests pass; view cache compiles cleanly.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -39,8 +39,8 @@
|
||||
<div class="ob-wrap">
|
||||
<div class="ob-intro">
|
||||
<h3>👋 Bun venit!</h3>
|
||||
Hai să facem 30 de secunde de configurare ca AutoCRM-ul tău să arate exact cum vrei tu.
|
||||
Toate aceste setări pot fi schimbate oricând din meniul „Setări".
|
||||
{{ __('Hai să facem 30 de secunde de configurare ca AutoCRM-ul tău să arate exact cum vrei tu.
|
||||
Toate aceste setări pot fi schimbate oricând din meniul „Setări".') }}
|
||||
</div>
|
||||
|
||||
{{-- Stepper --}}
|
||||
@@ -61,14 +61,14 @@
|
||||
<div class="ob-buttons">
|
||||
<div>
|
||||
@if ($step > 1)
|
||||
<button type="button" class="ob-btn ob-btn-secondary" wire:click="prev">← Înapoi</button>
|
||||
<button type="button" class="ob-btn ob-btn-secondary" wire:click="prev">{{ __('← Înapoi') }}</button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if ($step < 3)
|
||||
<button type="button" class="ob-btn ob-btn-primary" wire:click="next">Continuă →</button>
|
||||
<button type="button" class="ob-btn ob-btn-primary" wire:click="next">{{ __('Continuă →') }}</button>
|
||||
@else
|
||||
<button type="submit" class="ob-btn ob-btn-success">🎉 Termină configurarea</button>
|
||||
<button type="submit" class="ob-btn ob-btn-success">{{ __('🎉 Termină configurarea') }}</button>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user