👽 translate stepper component

This commit is contained in:
Tykayn 2022-02-04 18:50:39 +01:00 committed by tykayn
parent df0481a187
commit c9b0888d6f
3 changed files with 15 additions and 5 deletions

View File

@ -76,10 +76,12 @@
{{ pollService.form.value.title }}
</span>
<span class="step-title-poll poll-title-empty" *ngIf="!pollService.form.value.title.length">
(Aucun titre)
{{ 'nav.no_title' | translate }}
</span>
</span>
<span class="step-counter-text">Étape {{ step_current }} sur {{ step_max }} </span>
<span class="step-counter-text"
>{{ 'nav.step' | translate }} {{ step_current }} {{ 'nav.on' | translate }} {{ step_max }}
</span>
</h1>
</div>
<div class="column has-text-right">
@ -132,10 +134,10 @@
class="button is-primary is-fullwidth cancel-button-reject-bottom pull-right"
(click)="goToHome()"
>
Oui, annuler sondage
{{ 'popup.cancel.validate' | translate }}
</button>
<button class="button cancel-button-confirm is-outlined pull-right" (click)="focusOnCancelButton()">
Non
{{ 'popup.cancel.reject' | translate }}
</button>
</div>
</div>

View File

@ -15,6 +15,9 @@
"leave": "Leave",
"previous": "Previous",
"next": "Next",
"step": "Step",
"on": "on",
"no_title": "(no title)",
"save": "Save"
},
"PAGE_NOT_FOUND": {
@ -61,7 +64,9 @@
"popup": {
"cancel": {
"title": "You will cancel your poll creation",
"main": "Do you really want to leave the poll creation ?"
"main": "Do you really want to leave the poll creation ?",
"validate": "Yes, cancel poll",
"reject": "No",
}
},
"dates": {

View File

@ -14,6 +14,9 @@
"nav": {
"leave": "Quitter",
"previous": "Précédent",
"step": "Étape",
"on": "sur",
"no_title": "(aucun titre)",
"next": "Suivant",
"save": "Enregistrer"
},