mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
ACS-8198 add translation pipe
This commit is contained in:
committed by
Darya Blavanovich
parent
5b599d90f5
commit
98c60f9442
@@ -32,13 +32,13 @@
|
||||
[ngTemplateOutlet]="data.descriptionTemplate"
|
||||
[ngClass]="{ 'adf-description': data.description || data.descriptionTemplate }"
|
||||
>
|
||||
<ng-container>{{ data.description }}</ng-container>
|
||||
<ng-container>{{ data.description | translate }}</ng-container>
|
||||
</div>
|
||||
|
||||
<mat-dialog-content *ngIf="data.contentTemplate || data.contentComponent || data.contentText" class="adf-dialog-content">
|
||||
<ng-container [ngTemplateOutlet]="data.contentTemplate"></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-actions
|
||||
|
Reference in New Issue
Block a user