Mise en place de l'anglais comme deuxième langue pour l'application
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
|
||||
@if (!loading && rows.length === 0) {
|
||||
<p class="flags-empty">
|
||||
Aucun fait référencé. Ajoutez une condition « Quand un fait est vrai » sur
|
||||
au moins une quête pour qu'il apparaisse ici.
|
||||
{{ 'playthroughFlagsManager.empty' | translate }}
|
||||
</p>
|
||||
}
|
||||
|
||||
@@ -18,7 +17,7 @@
|
||||
<div class="flag-info">
|
||||
<span class="flag-name">{{ r.name }}</span>
|
||||
</div>
|
||||
<span class="flag-value">{{ r.value ? 'vrai' : 'faux' }}</span>
|
||||
<span class="flag-value">{{ (r.value ? 'playthroughFlagsManager.true' : 'playthroughFlagsManager.false') | translate }}</span>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
|
||||
@@ -2,6 +2,7 @@ import { Component, Input, OnInit, OnChanges, SimpleChanges } from '@angular/cor
|
||||
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { LucideAngularModule } from 'lucide-angular';
|
||||
import { TranslatePipe } from '@ngx-translate/core';
|
||||
import { CampaignFlagService } from '../../services/campaign-flag.service';
|
||||
import { PlaythroughFlagService } from '../../services/playthrough-flag.service';
|
||||
import { forkJoin } from 'rxjs';
|
||||
@@ -15,7 +16,7 @@ import { forkJoin } from 'rxjs';
|
||||
*/
|
||||
@Component({
|
||||
selector: 'app-playthrough-flags-manager',
|
||||
imports: [FormsModule, LucideAngularModule],
|
||||
imports: [FormsModule, LucideAngularModule, TranslatePipe],
|
||||
templateUrl: './playthrough-flags-manager.component.html',
|
||||
styleUrls: ['./playthrough-flags-manager.component.scss']
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user