i18n: Adding new languages: Part 2 (#1885)
Co-authored-by: radhathakare <radhathakare322@gmail.com>
This commit is contained in:
co-authored by
radhathakare
parent
408f004450
commit
3c625d81c4
@@ -1,9 +1,9 @@
|
||||
<h1 mat-dialog-title>Cancel</h1>
|
||||
<h1 mat-dialog-title>{{ 'labels.buttons.Cancel' | translate }}</h1>
|
||||
<div mat-dialog-content>
|
||||
<p *ngIf="!data.cancelContext">Are you sure you want to leave this page and lose all inputted data?</p>
|
||||
<p *ngIf="data.cancelContext">Are you sure you want to cancel {{ data.cancelContext }} ?</p>
|
||||
<p *ngIf="!data.cancelContext">{{ 'labels.text.Are you sure you want to leave this page and lose all inputted data' | translate }}?</p>
|
||||
<p *ngIf="data.cancelContext">{{ 'labels.text.Are you sure you want to cancel' | translate }} {{ data.cancelContext }} ?</p>
|
||||
</div>
|
||||
<mat-dialog-actions align="end">
|
||||
<button mat-raised-button mat-dialog-close>No</button>
|
||||
<button mat-raised-button color="warn" [mat-dialog-close]="{ cancel: true }">Yes</button>
|
||||
<button mat-raised-button mat-dialog-close>{{ 'labels.buttons.No' | translate }}</button>
|
||||
<button mat-raised-button color="warn" [mat-dialog-close]="{ cancel: true }">{{ 'labels.buttons.Yes' | translate }}</button>
|
||||
</mat-dialog-actions>
|
||||
|
||||
Reference in New Issue
Block a user