Files
root 2f30a058a4 feat: add full i18n support to Commandocentrum
- Replace all hardcoded Dutch/English strings with __() translation calls
- Update 13 Blade components to use translation keys
- Update Commandocentrum.php controller with translation calls
- Add comprehensive Dutch (nl.json) and English (en.json) translations
- 150+ translation keys for UI labels, messages, and notifications
- Supports all 21 languages available in the lang/ directory
2026-05-19 21:49:39 +02:00

22 lines
1.1 KiB
PHP
Executable File

@props([
'version',
'serviceName',
'status',
'color',
])
<div style="display:grid;grid-template-columns:repeat(2,1fr);gap:16px;">
<div style="background:#f8fafc;border-radius:12px;padding:16px;border:1px solid #e2e8f0;">
<div style="font-size:12px;color:#64748b;margin-bottom:4px;">{{ __('commandocentrum.version') }}</div>
<div style="font-size:20px;font-weight:700;color:#1e293b;">{{ $version }}</div>
</div>
<div style="background:#f8fafc;border-radius:12px;padding:16px;border:1px solid #e2e8f0;">
<div style="font-size:12px;color:#64748b;margin-bottom:4px;">{{ __('commandocentrum.service') }}</div>
<div style="font-size:20px;font-weight:700;color:#1e293b;">{{ $serviceName }}</div>
</div>
<div style="background:{{ $color }}15;border-radius:12px;padding:16px;border:1px solid {{ $color }}30;grid-column:span 2;">
<div style="font-size:12px;color:#64748b;margin-bottom:4px;">{{ __('commandocentrum.status') }}</div>
<div style="font-size:24px;font-weight:700;color:{{ $color }};"> {{ $status }}</div>
</div>
</div>