@extends('layouts.app') @php $reg = new \App\Support\SubdomainRegistry(); $en = $reg->currentLocale() === 'en'; $lc = $en ? 'en' : 'de'; $t = fn ($de, $enT) => $en ? $enT : $de; $L = fn (array $pair) => $en ? ($pair[1] ?? $pair[0]) : $pair[0]; // [de, en] $O = fn (array $o) => $en ? $o[2] : $o[1]; // [value, de, en] $bySection = collect($q['questions'])->groupBy('section'); $quick = $quick ?? false; $secList = array_keys($q['sections']); @endphp @section('title', $t('Die große Problemumfrage — ProblemRadar', 'The full problem survey — ProblemRadar')) @section('meta_description', $t('Der vollständige Fragebogen — 5 bis 8 Minuten. Anonym und freiwillig.', 'The complete questionnaire — 5 to 8 minutes. Anonymous and voluntary.')) @section('content') @include('umfrage._shell')
{{ $quick ? $t('Nur die wichtigsten Fragen — in rund zwei Minuten.', 'Only the key questions — in about two minutes.') : $t('Etwa 5–8 Minuten. Nicht jede Frage muss beantwortet werden — persönliche Angaben sind freiwillig.', 'About 5–8 minutes. Not every question is required — personal details are voluntary.') }}
{{ $t('Anonym · dein Name erscheint nie in Statistiken · keine E-Mail nötig.', 'Anonymous · your name never appears in statistics · no email needed.') }}
@if ($errors->any())