From: Vincent Vanwaelscappel Date: Mon, 13 Nov 2023 15:04:15 +0000 (+0100) Subject: wait #6469 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=cd2c132aa4bb60ee7a3ef3730cc4dcc3cdb866f4;p=fluidbook-toolbox.git wait #6469 --- diff --git a/app/Elearning/QuizCompiler.php b/app/Elearning/QuizCompiler.php index f9b958714..8875ba188 100644 --- a/app/Elearning/QuizCompiler.php +++ b/app/Elearning/QuizCompiler.php @@ -90,7 +90,7 @@ class QuizCompiler extends Base $l10n = $this->data->l10n; $blade = new Blade($this->_resourcesPath() . '/views', $this->_resourcesPath() . '/cache/' . md5(rand(100000, 10000000)) . '/'); $html = $blade->make('index', ['data' => $this->data, 'quiz' => $this->quiz, 'theme' => $this->theme, '__' => function ($str, $replace = [], $locale = null) use ($l10n) { - $str = $l10n[$str] ?? $str; + $str = $l10n[$str] ?? '~' . $str; if (!$replace) { return $str; }