]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6469
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 Nov 2023 15:04:15 +0000 (16:04 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 Nov 2023 15:04:15 +0000 (16:04 +0100)
app/Elearning/QuizCompiler.php

index f9b958714e6e2d0f4a4d252a620ce7b08a985e86..8875ba188d44bce4c588529c70d939ce1189c12a 100644 (file)
@@ -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;
             }