ACS-8198 add translation pipe

This commit is contained in:
Darya Balvanovich
2024-06-19 17:29:34 +02:00
committed by Darya Blavanovich
parent 5b599d90f5
commit 98c60f9442

View File

@@ -32,13 +32,13 @@
[ngTemplateOutlet]="data.descriptionTemplate" [ngTemplateOutlet]="data.descriptionTemplate"
[ngClass]="{ 'adf-description': data.description || data.descriptionTemplate }" [ngClass]="{ 'adf-description': data.description || data.descriptionTemplate }"
> >
<ng-container>{{ data.description }}</ng-container> <ng-container>{{ data.description | translate }}</ng-container>
</div> </div>
<mat-dialog-content *ngIf="data.contentTemplate || data.contentComponent || data.contentText" class="adf-dialog-content"> <mat-dialog-content *ngIf="data.contentTemplate || data.contentComponent || data.contentText" class="adf-dialog-content">
<ng-container [ngTemplateOutlet]="data.contentTemplate"></ng-container> <ng-container [ngTemplateOutlet]="data.contentTemplate"></ng-container>
<ng-container *ngComponentOutlet="data.contentComponent; injector: dataInjector"></ng-container> <ng-container *ngComponentOutlet="data.contentComponent; injector: dataInjector"></ng-container>
<ng-container>{{ data.contentText }}</ng-container> <ng-container>{{ data.contentText | translate }}</ng-container>
</mat-dialog-content> </mat-dialog-content>
<mat-dialog-actions <mat-dialog-actions