translated the heading of the dialogBox in .ts files

This commit is contained in:
Pushpendra Kumar
2023-12-13 21:41:02 +01:00
committed by Adam Saghy
parent 9766644fb8
commit 21dc452e36
31 changed files with 216 additions and 46 deletions
@@ -83,7 +83,7 @@ export class RescheduleLoanComponent implements OnInit {
bulkLoanReschedule(action: string) {
const rescheduleLoanDialogRef = this.dialog.open(ConfirmationDialogComponent, {
data: { heading: 'Reschedule Loan', dialogContext: this.translateService.instant('labels.dialogContext.Are you sure you want to') + action + this.translateService.instant('labels.dialogContext.the Reschedule Loan') }
data: { heading: this.translateService.instant('labels.heading.Reschedule Loan'), dialogContext: this.translateService.instant('labels.dialogContext.Are you sure you want to') + action + this.translateService.instant('labels.dialogContext.the Reschedule Loan') }
});
rescheduleLoanDialogRef.afterClosed().subscribe((response: { confirm: any }) => {
if (response.confirm) {