@extends('backend.layout.master-tailwind') @section('title', __('Edit All Words')) @section('admin_styles') @endsection @section('content')

{{ __('Edit All Words') }}

{{ $language->name }}

@can('language-word-add') @endcan {{ __('All Languages') }}
{{-- ── String list ── --}}
{{ __('Source Strings') }}
@php $count = is_object($all_word) ? count((array)$all_word) : count($all_word ?? []); @endphp {{ $count }} {{ __('strings') }}
{{ __('Source Text') }} {{ __('Translation') }}
@foreach((array)($all_word ?? []) as $key => $value)
{{ $key }}
{{ $key === $value ? '' : $value }}
@endforeach
{{-- ── Translate form ── --}}
{{ __('Translate To') }} {{ $language->name }}

{{ __('Click a source string on the left to edit its translation.') }}

@csrf
@can('language-word-edit') @endcan
{{-- ── Add New Word dialog ── --}}

{{ __('Add New Translatable String') }}

@csrf
@endsection @section('script') @endsection