]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6641 @1:00
authorsoufiane <soufiane@cubedesigners.com>
Thu, 25 Apr 2024 15:53:17 +0000 (17:53 +0200)
committersoufiane <soufiane@cubedesigners.com>
Thu, 25 Apr 2024 15:53:17 +0000 (17:53 +0200)
js/quiz.animations.js
js/quiz.screen.outro.js
views/footer.blade.php
views/header_question.blade.php
views/screens/intro.blade.php
views/screens/outro.blade.php
views/screens/question_draganddrop.blade.php
views/screens/question_match.blade.php

index ab7c4bee89e5f49e8ac55c97b33823b2f323c4d7..95f18c881deb78c650aa652eb1d6fd77d11e31b3 100644 (file)
@@ -47,8 +47,8 @@ QuizAnimations.prototype = {
     },
 
     instantReviewAnimation: function (status) {
-        let ok = [this.quiz.l10n.__('Fantastic'), this.quiz.l10n.__('Impressive'), this.quiz.l10n.__('Perfect'), this.quiz.l10n.__('Well done'), this.quiz.l10n.__('Bravo'), this.quiz.l10n.__('Good job'), this.quiz.l10n.__('Excellent'), this.quiz.l10n.__('Impressive'), this.quiz.l10n.__('Great job'), this.quiz.l10n.__('Superb'), this.quiz.l10n.__('Terrific')];
-        let nok = [this.quiz.l10n.__('Keep trying'), this.quiz.l10n.__('Try again'), this.quiz.l10n.__('Double-check'), this.quiz.l10n.__('Reconsider')];
+        let ok = [this.quiz.l10n.__('Fantastic'), this.quiz.l10n.__('Impressive'), this.quiz.l10n.__('Perfect'), this.quiz.l10n.__('Well done'), this.quiz.l10n.__('Bravo'), this.quiz.l10n.__('Good job'), this.quiz.l10n.__('Excellent'), this.quiz.l10n.__('Impressive'), this.quiz.l10n.__('Great job'), this.quiz.l10n.__('Superb'), this.quiz.l10n.__('Nice one')];
+        let nok = [this.quiz.l10n.__('Unlucky'), this.quiz.l10n.__('Not this time'), this.quiz.l10n.__('Check the tip'), this.quiz.l10n.__('Oops!')];
 
         let selector = $("#instantReviewAnimation")
         let text = status === "NOK" ? nok[Math.floor(Math.random() * nok.length)] : ok[Math.floor(Math.random() * ok.length)];
index fbba9b0c7a59cb7cc4e1184e2b57c33dba8030e8..3033eacf593e8adbb3a663aaf5027ce8ac0740d5 100644 (file)
@@ -107,7 +107,7 @@ QuizScreenOutro.prototype = {
         let maxScore = this.quiz.score.maxScore, score = this.quiz.score.score
         let nok = {
             title: this.quiz.l10n.__("Ooops!"),
-            text: this.quiz.l10n.__("Unfortunately, you did not get enough correct answers (:score out of :maxScore).", {
+            text: this.quiz.l10n.__("Unfortunately, you didn't score enough answers correctly to unlock your digital badge. Review the content and have another go.", {
                 'score': score,
                 'maxScore': maxScore
             }) + " " + this.quiz.l10n.__("Please go back and review the content before retaking the quiz."),
@@ -117,7 +117,7 @@ QuizScreenOutro.prototype = {
         };
         let ok = {
             title: this.quiz.l10n.__("Congratulation!"),
-            text: this.quiz.l10n.__("You have completed the quiz with :score correct answers out of :maxScore", {
+            text: this.quiz.l10n.__("You have completed the quiz! You can now access your digital badge.", {
                 'score': score,
                 'maxScore': maxScore
             }),
@@ -261,7 +261,7 @@ QuizScreenOutro.prototype = {
             if (review.type === "draganddrop") {
                 titleType = ' - ' + this.quiz.l10n.__('Drag and Drop')
             } else if (review.type === "match") {
-                titleType = ' - ' + this.quiz.l10n.__('Match the answers')
+                titleType = ' - ' + this.quiz.l10n.__('Card Match')
             }
             html += '<li class="item ' + review.status + '">';
             html += '<p class="position title-section">' + this.quiz.l10n.__('Question :index', {index: i + 1}) + titleType + '</p>';
index 0e07da70e0894d8c25ef60680d66bbf85ee3437d..7f2659fac968d1a200a62632180e986dbeb6b589 100644 (file)
             @if(isset($matchMaking))
                 {{ $__('Confirm the match') }}
             @else
-                {{ $__('Validate answer') }}
+                {{ $__('Check') }}
             @endif
         </span>
-        <span class="access space">{{$__('space')}}</span>
+        <span class="access space">{{$__('Space')}}</span>
         <span class="runningman"></span>
 
         @isset($time)
@@ -33,7 +33,7 @@
     @if($data['instantReview'])
         <a class="btn primary action none continue" aria-keyshortcuts="Space">
             <span class="text">{{$__('Continue')}}</span>
-            <span class="access space">{{$__('space')}}</span>
+            <span class="access space">{{$__('Space')}}</span>
         </a>
     @endif
 
index 993f241ae48e4b276ffbb78389f46058563b6483..0a453b5aedc5c104e8ecdacee9c2d7f1c2da8841 100644 (file)
@@ -24,7 +24,7 @@
         <h1 class="{{$h1class}}" id="titleQuestion">
             <span
                 class="only-desktop">{{$question['question']}}</span>
-            <span class="only-mobile">{{$__('Swipe up or down each card in the right container')}}{{__(': ')}}<br>{{$question['question']}}</span>
+            <span class="only-mobile">{{$__('Drag the cards left or right to drop in the correct zone')}}{{__(': ')}}<br>{{$question['question']}}</span>
         </h1>
         <h2 class="subtitle only-desktop">{{$__('Use arrow keys to move the cards to the corresponding zone')}}</h2>
     @elseif($question['type']==='match')
@@ -32,7 +32,7 @@
             {{$question['question']}}
         </h1>
         <h2 class="subtitle"
-            class="only-desktop">{{$__('When you feel the answer is appropriate, confirm the match to move on to the next question')}}</h2>
+            class="only-desktop">{{$__('Swipe the cards left and right to change selection and confirm your match')}}</h2>
     @else
         <h1 class="{{$h1class}}" id="titleQuestion">{{$question['question']}}</h1>
     @endif
index 68338da20b9400c5cb13c568ba26f6ef097e198e..5fd5dceb8a637fbb943682ab72eac39ac1425376 100644 (file)
@@ -26,7 +26,7 @@
     </div>
     <footer class="footer">
         <a id="start" aria-keyshortcuts="Space" class="btn primary">
-            {{$data->intro_button?:$__('Let\'s start')}}<span class="access space">{{$__('space')}}</span>
+            {{$data->intro_button?:$__('Let\'s start')}}<span class="access space">{{$__('Space')}}</span>
         </a>
     </footer>
 </div>
index 073b7d89300f8337bc149edce682c41b80b3f2d1..08e8a89fc0992b9fee7a81409efaa6b67c6d1b92 100644 (file)
                         <p class="word"></p>
                     </div>
                     @if($data->restart_button)
-                        <div class="restart-sentence-mobile">{{$__('Want to improve your score?')}}</div>
+                        <div class="restart-sentence-mobile">{{$__('Want to gain certification?')}}</div>
                         <a class="btn secondary restart restart-mobile">
                             <span data-icon="reset"></span>
-                            {{$__('Restart')}}
+                            {{$__('Retake')}}
                         </a>
                     @endif
                 </div>
             </div>
             <footer>
                 @if($data->restart_button)
-                    <div class="restart-sentence">{{$__('Want to improve your score?')}}</div>
+                    <div class="restart-sentence">{{$__('Want to gain certification?')}}</div>
                 @endif
                 <div class="score-controls">
                     @if($data->restart_button)
                         <a class="btn secondary restart" aria-keyshortcuts="r">
-                            <span class="text">{{$__('Restart')}}</span>
+                            <span class="text">{{$__('Retake')}}</span>
                             <span class="access">R</span>
                         </a>
                     @endif
@@ -64,7 +64,7 @@
                     </a>
                     <a id="leave-quiz" class="btn primary action">
                         <span>{{$__('Leave')}}</span>
-                        <span class="access space">{{$__('space')}}</span>
+                        <span class="access space">{{$__('Space')}}</span>
                     </a>
                 </div>
             </footer>
index b5da27e1249e260868834cfc650ff63622624e1e..57c428a85d76216acbb9121fe99815a2f1dd6c9e 100644 (file)
@@ -23,5 +23,5 @@
         </div>
     </div>
     @include('screens.question_draganddrop_area',['data'=>$data,'area'=>2,'question'=>$question,'theme'=>$theme])
-    @include('footer', ['countdown' => $countdown,'question' => $question,'data' => $data, 'reset' => true, 'text' => $__('Validate answer'), 'info' => $info])
+    @include('footer', ['countdown' => $countdown,'question' => $question,'data' => $data, 'reset' => true, 'text' => $__('Check'), 'info' => $info])
 </div>
index f3dc49fa7a615dca4725b793e131d7faac3bf7e1..b9eb93245793bc12d262a74d8e86d4c34e690cb4 100644 (file)
@@ -44,5 +44,5 @@
             <div class="swiper-pagination-bottom"></div>
         </div>
     </div>
-    @include('footer', ['countdown' => $countdown,'question' => $question, 'data' => $data, 'reset' => true, 'text' => $__('Validate answer'), 'info' => $info, 'matchMaking' => true])
+    @include('footer', ['countdown' => $countdown,'question' => $question, 'data' => $data, 'reset' => true, 'text' => $__('Check'), 'info' => $info, 'matchMaking' => true])
 </div>