@extends('dashboard.admin.layouts.master') @php $languageNames = ['ar' => 'العربية', 'en' => 'English']; @endphp @section('toolbar')

{{ trans('core.translations.title') }}

{{ trans('core.translations.intro') }}
@endsection @section('content')
{{ trans('core.translations.keys_count', ['count' => count($lines)]) }}
{!! str_replace(':name', ':name', e(trans('core.translations.placeholder_hint'))) !!}
@if (empty($lines))

{{ trans('core.translations.no_lines') }}

@else
@foreach ($locales as $locale) @endforeach @foreach ($lines as $key => $line) @php($isEdited = collect($line['override'])->filter()->isNotEmpty()) @foreach ($locales as $locale) @php($file = $line['file'][$locale]) @php($override = $line['override'][$locale]) @endforeach @endforeach
{{ trans('core.translations.key') }}{{ $languageNames[$locale] ?? strtoupper($locale) }}
{{ $key }}
{{ trans('core.translations.edited') }}
{{ trans('core.translations.default') }}: {{ $file ?? '—' }}
@endif
@endsection @section('js') @endsection