From f2a3729145bdfd2b354181efa7b91ccb7d675f24 Mon Sep 17 00:00:00 2001 From: soufiane Date: Thu, 25 Apr 2024 17:53:17 +0200 Subject: [PATCH] wait #6641 @1:00 --- js/quiz.animations.js | 4 ++-- js/quiz.screen.outro.js | 6 +++--- views/footer.blade.php | 6 +++--- views/header_question.blade.php | 4 ++-- views/screens/intro.blade.php | 2 +- views/screens/outro.blade.php | 10 +++++----- views/screens/question_draganddrop.blade.php | 2 +- views/screens/question_match.blade.php | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/js/quiz.animations.js b/js/quiz.animations.js index ab7c4be..95f18c8 100644 --- a/js/quiz.animations.js +++ b/js/quiz.animations.js @@ -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)]; diff --git a/js/quiz.screen.outro.js b/js/quiz.screen.outro.js index fbba9b0..3033eac 100644 --- a/js/quiz.screen.outro.js +++ b/js/quiz.screen.outro.js @@ -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 += '
  • '; html += '

    ' + this.quiz.l10n.__('Question :index', {index: i + 1}) + titleType + '

    '; diff --git a/views/footer.blade.php b/views/footer.blade.php index 0e07da7..7f2659f 100644 --- a/views/footer.blade.php +++ b/views/footer.blade.php @@ -19,10 +19,10 @@ @if(isset($matchMaking)) {{ $__('Confirm the match') }} @else - {{ $__('Validate answer') }} + {{ $__('Check') }} @endif - {{$__('space')}} + {{$__('Space')}} @isset($time) @@ -33,7 +33,7 @@ @if($data['instantReview']) {{$__('Continue')}} - {{$__('space')}} + {{$__('Space')}} @endif diff --git a/views/header_question.blade.php b/views/header_question.blade.php index 993f241..0a453b5 100644 --- a/views/header_question.blade.php +++ b/views/header_question.blade.php @@ -24,7 +24,7 @@

    {{$question['question']}} - {{$__('Swipe up or down each card in the right container')}}{{__(': ')}}
    {{$question['question']}}
    + {{$__('Drag the cards left or right to drop in the correct zone')}}{{__(': ')}}
    {{$question['question']}}

    {{$__('Use arrow keys to move the cards to the corresponding zone')}}

    @elseif($question['type']==='match') @@ -32,7 +32,7 @@ {{$question['question']}}

    {{$__('When you feel the answer is appropriate, confirm the match to move on to the next question')}}

    + class="only-desktop">{{$__('Swipe the cards left and right to change selection and confirm your match')}} @else

    {{$question['question']}}

    @endif diff --git a/views/screens/intro.blade.php b/views/screens/intro.blade.php index 68338da..5fd5dce 100644 --- a/views/screens/intro.blade.php +++ b/views/screens/intro.blade.php @@ -26,7 +26,7 @@ diff --git a/views/screens/outro.blade.php b/views/screens/outro.blade.php index 073b7d8..08e8a89 100644 --- a/views/screens/outro.blade.php +++ b/views/screens/outro.blade.php @@ -39,22 +39,22 @@

    @if($data->restart_button) -
    {{$__('Want to improve your score?')}}
    +
    {{$__('Want to gain certification?')}}
    - {{$__('Restart')}} + {{$__('Retake')}} @endif diff --git a/views/screens/question_draganddrop.blade.php b/views/screens/question_draganddrop.blade.php index b5da27e..57c428a 100644 --- a/views/screens/question_draganddrop.blade.php +++ b/views/screens/question_draganddrop.blade.php @@ -23,5 +23,5 @@ @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]) diff --git a/views/screens/question_match.blade.php b/views/screens/question_match.blade.php index f3dc49f..b9eb932 100644 --- a/views/screens/question_match.blade.php +++ b/views/screens/question_match.blade.php @@ -44,5 +44,5 @@
    - @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]) -- 2.39.5