<footer class="footer-question footer">
@isset($reset)
<a class="btn secondary reset" aria-keyshortcuts="R">
- <span class="text">Reset</span>
+ <span class="text">{{__('Reset')}}</span>
<span class="access">R</span>
</a>
@endisset
- <a class="btn primary action validate {{$question['countdown_enable'] ? 'countdown' : ''}}" aria-keyshortcuts="Space">
- <span class="text">Validate answer</span>
- <span class="access space">space</span>
+ <a class="btn primary action validate {{$question['countdown_enable'] ? 'countdown' : ''}}"
+ aria-keyshortcuts="Space">
+ <span class="text">{{__('Validate answer')}}</span>
+ <span class="access space">{{__('space')}}</span>
<span class="runningman"></span>
-
+
@isset($time)
<span data-icon="running-man"></span>
@endisset
</a>
@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="text">{{__('Continue')}}</span>
+ <span class="access space">{{__('space')}}</span>
</a>
@endif
@isset($info)
<a class="btn secondary none" aria-keyshortcuts="F1">
- More infos
+ {{__('More infos')}}
<span class="access infos">F1</span>
</a>
@endisset
</div>
<h1 id="titleQuestion">{{$question['question']}}</h1>
@if($data['type'] === "draganddrop")
- <h2 class="subtitle">Use arrow keys to move the cards to the corresponding zone</h2>
+ <h2 class="subtitle">{{__('Use arrow keys to move the cards to the corresponding zone')}}</h2>
@endif
</header>
</div>
</div>
<div class="score-text">
- <h1>Congratulation!</h1>
+ <h1>{{__('Congratulation!')}}</h1>
<div class="subtitle">
<p class="word">You have completed the quiz</p><br/>
<p class="word">with <span id="score-text"></span>
</p>
</div>
@if($data->restart_button)
- <div class="restart-sentence-mobile">Want to improve your score?</div>
+ <div class="restart-sentence-mobile">{{__('Want to improve your score?')}}</div>
<a class="btn secondary restart restart-mobile">
<span data-icon="reset"></span>
- Restart
+ {{__('Restart')}}
</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 improve your score?')}}</div>
@endif
<div class="controls">
@if($data->restart_button)
<a class="btn secondary restart" aria-keyshortcuts="r">
- Restart
+ {{__('Restart')}}
<span class="access">R</span>
</a>
@endif
<a class="btn secondary toggle-answers-review">
<span data-icon=""></span>
- Review answers
+ {{__('Review answers')}}
</a>
<a class="btn primary action">
- Leave
- <span class="access space">space</span>
+ {{__('Leave')}}
+ <span class="access space">{{__('space')}}</span>
</a>
</div>
</footer>
</div>
<div class="score-answers-review_container">
<div class="score-answers-review">
- <h2>Answers review<span class="toggle-answers-review" id="close-answers" data-icon="wrong"></span></h2>
- <p class="subtitle">Review your answers before you go</p>
+ <h2>{{__('Answers review')}}<span class="toggle-answers-review" id="close-answers" data-icon="wrong"></span></h2>
+ <p class="subtitle">{{__('Review your answers before you go')}}</p>
<ul id="answers-list">
@verbatim
<script id="template-answers-review" type="text/x-handlebars-template">
@include('header_question', ['data' => $data, 'max' => $max, 'position' => $position])
<div class="screen question-draganddrop">
<div class="controls left">
- <p>Move left</p>
+ <p>{{__('Move left')}}</p>
<button class="access"><span data-icon="arrow"></span></button>
</div>
<ul class="list">
@endforeach
</ul>
<div class="controls right">
- <p>Move right</p>
+ <p>{{__('Move right')}}</p>
<button class="access"><span data-icon="arrow"></span></button>
</div>
</div>
</form>
</div>
</div>
- @include('footer', ['data' => $data, 'reset' => true, 'text' => 'Validate answer', 'info' => true])
+ @include('footer', ['data' => $data, 'reset' => true, 'text' => __('Validate answer'), 'info' => true])
</div>