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:
@@ -15,7 +15,7 @@
|
||||
<div class="card">
|
||||
<h1>⏰ Abonament expirat</h1>
|
||||
<p>Abonamentul pentru <b>{{ $company->name }}</b> a expirat.</p>
|
||||
<p>Pentru a continua să folosiți aplicația, vă rugăm să achitați factura.</p>
|
||||
<p>{{ __('Pentru a continua să folosiți aplicația, vă rugăm să achitați factura.') }}</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<div class="card">
|
||||
<h1>⛔ Cont suspendat</h1>
|
||||
<p>Contul <b>{{ $company->name }}</b> a fost suspendat.</p>
|
||||
<p>Pentru detalii, contactați administratorul platformei.</p>
|
||||
<p>{{ __('Pentru detalii, contactați administratorul platformei.') }}</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user