mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
add translated sentences in creation steps
This commit is contained in:
parent
2912c3bbab
commit
19e5e07d26
@ -2,7 +2,7 @@
|
|||||||
<h2 class="title is-2">Consulter le sondage</h2>
|
<h2 class="title is-2">Consulter le sondage</h2>
|
||||||
<button class="btn is-primary" [routerLink]="'/administration'">
|
<button class="btn is-primary" [routerLink]="'/administration'">
|
||||||
<i class="fa fa-pencil"></i>
|
<i class="fa fa-pencil"></i>
|
||||||
modifier
|
{{ 'resume.edit' | translate }}
|
||||||
</button>
|
</button>
|
||||||
<div>
|
<div>
|
||||||
<h2>{{ form.value.title }}</h2>
|
<h2>{{ form.value.title }}</h2>
|
||||||
@ -10,7 +10,11 @@
|
|||||||
<div *ngIf="poll">
|
<div *ngIf="poll">
|
||||||
<h2>{{ poll.title }}</h2>
|
<h2>{{ poll.title }}</h2>
|
||||||
|
|
||||||
Créé le {{ poll.created_at | date }} par {{ poll.owner.pseudo }}, {{ poll.owner.email }}
|
{{ 'participation.created_at' | translate }} {{ poll.created_at | date }} {{ 'validation.by' | translate }}
|
||||||
|
{{ poll.owner.pseudo }}
|
||||||
|
<span class="creator_email">
|
||||||
|
{{ poll.owner.email }}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<div class="custom-day-time-slices" *ngIf="environment.creation_display_hour_per_day">
|
<div class="custom-day-time-slices" *ngIf="environment.creation_display_hour_per_day">
|
||||||
<h2 class="title is-2">
|
<h2 class="title is-2">
|
||||||
Choisissez les horaires
|
{{ 'hours.title' | translate }}
|
||||||
</h2>
|
</h2>
|
||||||
<div
|
<div
|
||||||
class="days-list-having-separated-time-slices rounded-block"
|
class="days-list-having-separated-time-slices rounded-block"
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<section class="time-slice-list-of-a-day">
|
<section class="time-slice-list-of-a-day">
|
||||||
<div *ngFor="let timeSlice of dayChoice.timeSlices; index as id" class="time-choice padded">
|
<div *ngFor="let timeSlice of dayChoice.timeSlices; index as id" class="time-choice padded">
|
||||||
<label for="dateChoices_{{ id }}"> Horaire / option {{ id + 1 }} </label>
|
<label for="dateChoices_{{ id }}"> {{ 'hours.element' | translate }} {{ id + 1 }} </label>
|
||||||
<input
|
<input
|
||||||
class="input is-fullwidth"
|
class="input is-fullwidth"
|
||||||
type="text"
|
type="text"
|
||||||
@ -25,13 +25,13 @@
|
|||||||
[(ngModel)]="timeSlice.literal"
|
[(ngModel)]="timeSlice.literal"
|
||||||
/>
|
/>
|
||||||
<button class="button input is-full" (click)="pollService.timeList.splice(id, 1)">
|
<button class="button input is-full" (click)="pollService.timeList.splice(id, 1)">
|
||||||
<i class="fa fa-trash"></i> supprimer
|
<i class="fa fa-trash"></i> {{ 'choices.delete' | translate }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="add-time-choice">
|
<div class="add-time-choice">
|
||||||
<button (click)="addChoiceForDay(dayChoice)">
|
<button (click)="addChoiceForDay(dayChoice)">
|
||||||
<i class="fa fa-plus"></i>
|
<i class="fa fa-plus"></i>
|
||||||
Ajouter horaire / option
|
{{ 'hours.add' | translate }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
<section class="same-time-slices">
|
<section class="same-time-slices">
|
||||||
<section class="same-time-slices" *ngIf="pollService.form.value.hasSeveralHours">
|
<section class="same-time-slices" *ngIf="pollService.form.value.hasSeveralHours">
|
||||||
<h2 class="title is-2">
|
<h2 class="title is-2">
|
||||||
Choisissez les horaires
|
{{ 'hours.title' | translate }}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<section class="proposals" *ngIf="environment.creation_display_proposals_time_slices">
|
<section class="proposals" *ngIf="environment.creation_display_proposals_time_slices">
|
||||||
@ -55,7 +55,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<div *ngFor="let timeSlice of pollService.timeList; index as id" class="time-choice">
|
<div *ngFor="let timeSlice of pollService.timeList; index as id" class="time-choice">
|
||||||
<label for="timeList_{{ id }}"> Horaire / option {{ id + 1 }} </label>
|
<label for="timeList_{{ id }}"> {{ 'hours.element' | translate }} {{ id + 1 }} </label>
|
||||||
<input
|
<input
|
||||||
class="input is-fullwidth"
|
class="input is-fullwidth"
|
||||||
type="text"
|
type="text"
|
||||||
@ -64,7 +64,7 @@
|
|||||||
[(ngModel)]="timeSlice.literal"
|
[(ngModel)]="timeSlice.literal"
|
||||||
/>
|
/>
|
||||||
<button class="button is-block" (click)="pollService.timeList.splice(id, 1)">
|
<button class="button is-block" (click)="pollService.timeList.splice(id, 1)">
|
||||||
<i class="fa fa-trash"></i> supprimer
|
<i class="fa fa-trash"></i> {{ 'choices.delete' | translate }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="title" *ngIf="pollService.timeList.length">
|
<div class="title" *ngIf="pollService.timeList.length">
|
||||||
@ -73,7 +73,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<span class="count-dates-txt">
|
<span class="count-dates-txt">
|
||||||
{{ 'dates.count_time' | translate }}
|
{{ 'dates.count_time' | translate }}
|
||||||
(pour chaque jour)
|
<!-- (pour chaque jour)-->
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
@ -97,7 +97,7 @@
|
|||||||
id="remove_time_button"
|
id="remove_time_button"
|
||||||
>
|
>
|
||||||
<i class="fa fa-trash" aria-hidden="true"></i>
|
<i class="fa fa-trash" aria-hidden="true"></i>
|
||||||
Aucune plage horaire
|
{{ 'hours.empty' | translate }}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
(click)="pollService.resetTimes()"
|
(click)="pollService.resetTimes()"
|
||||||
@ -106,13 +106,13 @@
|
|||||||
id="reset_time_button"
|
id="reset_time_button"
|
||||||
>
|
>
|
||||||
<i class="fa fa-refresh" aria-hidden="true"></i>
|
<i class="fa fa-refresh" aria-hidden="true"></i>
|
||||||
réinitialiser
|
{{ 'hours.reinit' | translate }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
Appliquer le même horaire / option à toutes les dates
|
{{ 'hours.apply_same' | translate }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -43,11 +43,11 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="list-texts" *ngIf="!pollService.form.value.isAboutDate">
|
<div class="list-texts" *ngIf="!pollService.form.value.isAboutDate">
|
||||||
<!-- <ul *ngFor="let choice of pollService.choices">-->
|
<ul *ngFor="let choice of pollService.choices">
|
||||||
<!-- <li>-->
|
<li>
|
||||||
<!-- {{ choice }}-->
|
{{ choice }}
|
||||||
<!-- </li>-->
|
</li>
|
||||||
<!-- </ul>-->
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<div class="go-to-step" [routerLink]="['/administration/step/3']">
|
<div class="go-to-step" [routerLink]="['/administration/step/3']">
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<label for="email">
|
<label for="email">
|
||||||
{{ 'owner.email_label' | translate }}
|
{{ 'owner.email_label' | translate }}
|
||||||
<span class="required-label" *ngIf="environment.creation_email_is_required">
|
<span class="required-label" *ngIf="environment.creation_email_is_required">
|
||||||
(obligatoire)
|
{{ 'validation.required' | translate }}
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<p>
|
<p>
|
||||||
|
@ -96,6 +96,8 @@
|
|||||||
"element": "Time span",
|
"element": "Time span",
|
||||||
"apply_same": "Apply the same time spans to all dates",
|
"apply_same": "Apply the same time spans to all dates",
|
||||||
"add": "Add time span",
|
"add": "Add time span",
|
||||||
|
"empty": "No time span",
|
||||||
|
"reinit": "Reinitialize",
|
||||||
"modal": {
|
"modal": {
|
||||||
"title": "Choose the time spans to apply for all dates",
|
"title": "Choose the time spans to apply for all dates",
|
||||||
"validate": "Apply"
|
"validate": "Apply"
|
||||||
@ -247,6 +249,8 @@
|
|||||||
"You must enter a value": "You must enter a value"
|
"You must enter a value": "You must enter a value"
|
||||||
},
|
},
|
||||||
"participation": {
|
"participation": {
|
||||||
|
"created_at": "Créé le",
|
||||||
|
"by": "par",
|
||||||
"vote": "Voter",
|
"vote": "Voter",
|
||||||
"menu_label": "Options",
|
"menu_label": "Options",
|
||||||
"end_of_poll": "Poll votes end on",
|
"end_of_poll": "Poll votes end on",
|
||||||
|
@ -97,6 +97,8 @@
|
|||||||
"element": "Horaire",
|
"element": "Horaire",
|
||||||
"apply_same": "Appliquer le même horaire à toutes les dates",
|
"apply_same": "Appliquer le même horaire à toutes les dates",
|
||||||
"add": "Ajouter horaire",
|
"add": "Ajouter horaire",
|
||||||
|
"empty": "Aucune plage horaire",
|
||||||
|
"reinit": "Réinitialiser",
|
||||||
"modal": {
|
"modal": {
|
||||||
"title": "Choisissez les horaires ou options à appliquer à toutes les dates",
|
"title": "Choisissez les horaires ou options à appliquer à toutes les dates",
|
||||||
"validate": "Appliquer"
|
"validate": "Appliquer"
|
||||||
@ -249,10 +251,12 @@
|
|||||||
"lang": "Sélectionner la langue"
|
"lang": "Sélectionner la langue"
|
||||||
},
|
},
|
||||||
"validation": {
|
"validation": {
|
||||||
"required": "champ requis",
|
"required": "(obligatoire)",
|
||||||
"You must enter a value": "Vous devez entrer une valeur"
|
"You must enter a value": "Vous devez entrer une valeur"
|
||||||
},
|
},
|
||||||
"participation": {
|
"participation": {
|
||||||
|
"created_at": "Créé le",
|
||||||
|
"by": "par",
|
||||||
"vote": "Voter",
|
"vote": "Voter",
|
||||||
"menu_label": "Options",
|
"menu_label": "Options",
|
||||||
"end_of_poll": "Fin du sondage le",
|
"end_of_poll": "Fin du sondage le",
|
||||||
|
Loading…
Reference in New Issue
Block a user