isQuiz() || !Slide::supportsTimer($slide->type)) { return; } $limits = []; foreach (Slide::TIME_LIMITS as $seconds) { $limits[$seconds] = match (true) { $seconds === 0 => __('Kein Countdown'), $seconds < 60 => __('{0} Sekunden', $seconds), $seconds % 60 === 0 => __n('{0} Minute', '{0} Minuten', intdiv($seconds, 60), intdiv($seconds, 60)), default => __('{0} Minuten', number_format($seconds / 60, 1, ',', '')), }; } ?> = $this->Form->control('settings.time_limit', [ 'type' => 'select', 'options' => $limits, 'label' => __('Countdown'), 'value' => $slide->getSettings()['time_limit'], 'aria-describedby' => 'time-limit-hint', ]) ?>
= __('Mit Countdown zeigt die Präsentation zuerst nur die Frage. „Weiter“ startet den Countdown und die Abstimmung, am Ende (oder mit „Weiter“) wird geschlossen und das Ergebnis gezeigt. Ohne Countdown ist die Folie sofort offen.') ?>