Commit bd4be811 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #14136 TIME 1:45 front language

parent c175c6ea
......@@ -23,7 +23,7 @@ export class AboutUsComponent implements OnInit {
commitHash: string = this.translate.instant('lang.undefined');
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
private headerService: HeaderService,
......
......@@ -47,7 +47,7 @@ export class ActionsListComponent implements OnInit {
@Output('refreshPanelFolders') refreshPanelFolders = new EventEmitter<string>();
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
public dialog: MatDialog,
......
......@@ -67,7 +67,7 @@ export class ActionsService implements OnDestroy {
private eventAction = new Subject<any>();
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
public dialog: MatDialog,
private notify: NotificationService,
......
......@@ -35,7 +35,7 @@
</p>
<ul>
<li *ngFor="let ressource of resourcesErrors">
<b>{{ressource.alt_identifier}}</b> : {{lang[ressource.reason]}}
<b>{{ressource.alt_identifier}}</b> : {{'lang.' + ressource.reason | translate}}
</li>
</ul>
</div>
......@@ -43,7 +43,7 @@
role="alert">
<ul style="margin: 0;padding-bottom: 0px;">
<li *ngFor="let ressource of resourcesWarnings">
<b>{{ressource.alt_identifier}}</b> : {{lang[ressource.reason]}}
<b>{{ressource.alt_identifier}}</b> : {{'lang.' + ressource.reason | translate}}
</li>
</ul>
</div>
......
......@@ -33,7 +33,7 @@ export class ContinueAvisCircuitActionComponent implements OnInit {
@ViewChild('appAvisWorkflow', { static: false }) appAvisWorkflow: AvisWorkflowComponent;
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
public dialogRef: MatDialogRef<ContinueAvisCircuitActionComponent>,
......
......@@ -29,7 +29,7 @@
</p>
<ul>
<li *ngFor="let ressource of resourcesErrors">
<b>{{ressource.alt_identifier}}</b> : {{lang[ressource.reason]}}
<b>{{ressource.alt_identifier}}</b> : {{'lang.' + ressource.reason | translate}}
</li>
</ul>
</div>
......@@ -37,7 +37,7 @@
role="alert">
<ul style="margin: 0;padding-bottom: 0px;">
<li *ngFor="let ressource of resourcesWarnings">
<b>{{ressource.alt_identifier}}</b> : {{lang[ressource.reason]}}
<b>{{ressource.alt_identifier}}</b> : {{'lang.' + ressource.reason | translate}}
</li>
</ul>
</div>
......
......@@ -31,7 +31,7 @@ export class GiveAvisParallelActionComponent implements OnInit {
@ViewChild('noteEditor', { static: true }) noteEditor: NoteEditorComponent;
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
public dialogRef: MatDialogRef<GiveAvisParallelActionComponent>,
......
......@@ -20,7 +20,7 @@
</p>
<ul>
<li *ngFor="let ressource of resourcesError">
<b>{{ressource.alt_identifier}}</b> : {{lang[ressource.reason]}}
<b>{{ressource.alt_identifier}}</b> : {{'lang.' + ressource.reason | translate}}
</li>
</ul>
</div>
......
......@@ -33,7 +33,7 @@ export class SendAvisParallelComponent implements AfterViewInit {
@ViewChild('appAvisWorkflow', { static: false }) appAvisWorkflow: AvisWorkflowComponent;
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
public dialogRef: MatDialogRef<SendAvisParallelComponent>,
......
......@@ -29,7 +29,7 @@
</p>
<ul>
<li *ngFor="let ressource of resourcesErrors">
<b>{{ressource.alt_identifier}}</b> : {{lang[ressource.reason]}}
<b>{{ressource.alt_identifier}}</b> : {{'lang.' + ressource.reason | translate}}
</li>
</ul>
</div>
......
......@@ -38,7 +38,7 @@ export class ValidateAvisParallelComponent implements OnInit, AfterViewInit {
@ViewChild('appAvisWorkflow', { static: false }) appAvisWorkflow: AvisWorkflowComponent;
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
public dialogRef: MatDialogRef<ValidateAvisParallelComponent>,
......
......@@ -20,7 +20,7 @@
</p>
<ul>
<li *ngFor="let ressource of resourcesError">
<b>{{ressource.alt_identifier}}</b> : {{lang[ressource.reason]}}
<b>{{ressource.alt_identifier}}</b> : {{'lang.' + ressource.reason | translate}}
</li>
</ul>
</div>
......
......@@ -31,7 +31,7 @@ export class SendAvisWorkflowComponent implements AfterViewInit {
@ViewChild('appAvisWorkflow', { static: false }) appAvisWorkflow: AvisWorkflowComponent;
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
public dialogRef: MatDialogRef<SendAvisWorkflowComponent>,
......
......@@ -20,7 +20,7 @@ export class CloseAndIndexActionComponent implements OnInit {
@ViewChild('noteEditor', { static: true }) noteEditor: NoteEditorComponent;
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
public dialogRef: MatDialogRef<CloseAndIndexActionComponent>,
......
......@@ -25,7 +25,7 @@ export class CloseMailActionComponent implements OnInit {
requiredFields: any;
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
public dialogRef: MatDialogRef<CloseMailActionComponent>,
......
......@@ -25,7 +25,7 @@ export class closeMailWithAttachmentsOrNotesActionComponent implements OnInit {
@ViewChild('noteEditor', { static: false }) noteEditor: NoteEditorComponent;
loadingExport: boolean;
constructor(private translate: TranslateService, public http: HttpClient, private notify: NotificationService, public dialogRef: MatDialogRef<closeMailWithAttachmentsOrNotesActionComponent>, @Inject(MAT_DIALOG_DATA) public data: any) { }
constructor(public translate: TranslateService, public http: HttpClient, private notify: NotificationService, public dialogRef: MatDialogRef<closeMailWithAttachmentsOrNotesActionComponent>, @Inject(MAT_DIALOG_DATA) public data: any) { }
ngOnInit(): void {
this.loadingInit = true;
......
......@@ -20,7 +20,7 @@ export class ConfirmActionComponent implements OnInit {
@ViewChild('noteEditor', { static: true }) noteEditor: NoteEditorComponent;
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
public dialogRef: MatDialogRef<ConfirmActionComponent>,
......
......@@ -48,7 +48,7 @@ export class CreateAcknowledgementReceiptActionComponent implements OnInit, OnDe
loadingExport: boolean;
constructor(
private translate: TranslateService,
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
public dialogRef: MatDialogRef<CreateAcknowledgementReceiptActionComponent>,
......
......@@ -19,7 +19,7 @@ export class DisabledBasketPersistenceActionComponent implements OnInit {
@ViewChild('noteEditor', { static: true }) noteEditor: NoteEditorComponent;
constructor(private translate: TranslateService, public http: HttpClient, private notify: NotificationService, public dialogRef: MatDialogRef<DisabledBasketPersistenceActionComponent>, @Inject(MAT_DIALOG_DATA) public data: any) { }
constructor(public translate: TranslateService, public http: HttpClient, private notify: NotificationService, public dialogRef: MatDialogRef<DisabledBasketPersistenceActionComponent>, @Inject(MAT_DIALOG_DATA) public data: any) { }
ngOnInit(): void { }
......
......@@ -19,7 +19,7 @@ export class EnabledBasketPersistenceActionComponent implements OnInit {
@ViewChild('noteEditor', { static: true }) noteEditor: NoteEditorComponent;
constructor(private translate: TranslateService, public http: HttpClient, private notify: NotificationService, public dialogRef: MatDialogRef<EnabledBasketPersistenceActionComponent>, @Inject(MAT_DIALOG_DATA) public data: any) { }
constructor(public translate: TranslateService, public http: HttpClient, private notify: NotificationService, public dialogRef: MatDialogRef<EnabledBasketPersistenceActionComponent>, @Inject(MAT_DIALOG_DATA) public data: any) { }
ngOnInit(): void { }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment