@props([ 'moduleConfig', 'availableFields', 'availableMatchFields' => [], 'activeJob' => null, 'routePrefix' => 'admin', 'defaultValues' => [], 'indexRouteName' => null, 'catalogLanguages' => collect(), 'supportsTranslation' => false, 'canTranslate' => false, ]) @php $moduleKey = $moduleConfig->key; $mappedAvailableFields = collect($availableFields)->map(function ($f) { $label = $f['label'] ?? ''; if (is_string($label) && str_starts_with($label, 'labels.')) { if (preg_match('/^labels\.([a-zA-Z0-9_]+)\s*\((.+)\)$/', $label, $matches)) { $label = __("labels.{$matches[1]}") . ' (' . $matches[2] . ')'; } else { $label = __($label); } } return array_merge($f, ['label' => $label]); })->values(); $mappedAvailableMatchFields = collect($availableMatchFields)->map(fn($f) => array_merge($f, ['label' => __($f['label'])]))->values(); @endphp @push('scripts') @endpush
{{ __('labels.bulk_upload_active_job_notice', [ 'file' => $activeJob->original_filename, 'processed' => $activeJob->processed_rows, 'total' => $activeJob->total_rows, ]) }}
{{ __('labels.bulk_upload_view_active_job') }}{{ __('labels.bulk_upload_logo_hosting_intro') }}
{{ __('labels.bulk_upload_logo_hosting_note', [ 'mb' => round(((int) config('bulk_upload.logo_max_bytes', 5242880)) / (1024 * 1024), 1), ]) }}
{{ __('labels.bulk_upload_translation_instructions_intro') }}
{{ __('labels.bulk_upload_translation_mode_standard_desc') }}