},
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)];
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."),
};
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
}),
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>';
@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)
@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
<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')
{{$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
</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>
<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
</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>
</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>
<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>