WEB-572:feat: add i18n support for Import Loan Product dialog (#3033)

This commit is contained in:
Shubham Kumar
2026-01-21 14:55:53 -06:00
committed by GitHub
parent 7bdd7112b0
commit 9de0cb0216
15 changed files with 43 additions and 4 deletions
@@ -5,11 +5,11 @@
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<h1 mat-dialog-title>Import Loan Product</h1>
<h1 mat-dialog-title>{{ 'labels.buttons.Import Loan Product' | translate }}</h1>
<mat-dialog-content>
<form [formGroup]="importLoanProductForm">
<p>Select a JSON file containing the loan product definition.</p>
<p>{{ 'labels.buttons.Select a JSON file containing the loan product definition' | translate }}</p>
<!-- File Upload Component -->
<mifosx-file-upload (change)="onFileSelect($event)" acceptFilter=".json"> </mifosx-file-upload>
@@ -26,6 +26,6 @@
[disabled]="!importLoanProductForm.valid"
[mat-dialog-close]="importLoanProductForm.value"
>
Import
{{ 'labels.buttons.Import' | translate }}
</button>
</mat-dialog-actions>
@@ -16,7 +16,7 @@
<div class="in-block">
<button mat-raised-button color="primary" (click)="openImportDialog()" *mifosxHasPermission="'CREATE_LOANPRODUCT'">
<fa-icon icon="upload" class="m-r-10"></fa-icon>
Import
{{ 'labels.buttons.Import' | translate }}
</button>
</div>
</div>