Skip to content

Commit

Permalink
add missed translations to html files
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar-Nabil authored and alberto-art3ch committed Jul 3, 2024
1 parent a7a32ef commit c69c9dc
Show file tree
Hide file tree
Showing 23 changed files with 65 additions and 41 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 mat-dialog-title>{{ data.isEnable ? 'Enable' : 'Disable' }} {{"labels.heading.Withhold Tax" | translate }}</h1>
<h1 mat-dialog-title>{{ (data.isEnable ? 'labels.heading.Enable' : 'labels.heading.Disable') | translate }} {{"labels.heading.Withhold Tax" | translate }}</h1>
<div mat-dialog-content>
<p>{{"labels.text.Are you sure you want to" | translate }} {{ data.isEnable ? 'enable' : 'disable' }} {{"labels.text.withhold tax for this account" | translate }} ?</p>
<p>{{"labels.text.Are you sure you want to" | translate }} {{ (data.isEnable ? 'labels.heading.Enable' : 'labels.heading.Disable') | translate }} {{"labels.text.withhold tax for this account" | translate }} ?</p>
</div>
<mat-dialog-actions align="end">
<button mat-raised-button mat-dialog-close>{{"labels.buttons.Cancel" | translate }}</button>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 mat-dialog-title>Calculate Interest</h1>
<h1 mat-dialog-title>{{'labels.heading.Calculate Interest' | translate }}</h1>
<div mat-dialog-content>
<p>Are you sure you want to calculate interest ?</p>
<p>{{'labels.text.Are you sure you want to calculate interest' | translate }} ?</p>
</div>
<mat-dialog-actions align="end">
<button mat-raised-button mat-dialog-close>Cancel</button>
<button mat-raised-button color="primary" [mat-dialog-close]="{ confirm: true }">Confirm</button>
<button mat-raised-button mat-dialog-close>{{'labels.buttons.Cancel' | translate}}</button>
<button mat-raised-button color="primary" [mat-dialog-close]="{ confirm: true }">{{'labels.buttons.Confirm' | translate}}</button>
</mat-dialog-actions>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 mat-dialog-title>Inactivate Charge</h1>
<h1 mat-dialog-title>{{'tooltips.Inactivate Charge' | translate}}</h1>
<div mat-dialog-content>
<p>Are you sure you want to inactivate charge with id: {{ data.id }} ?</p>
<p>{{"labels.text.Are you sure you want to inactivate charge with id" | translate }}: {{ data.id }} ?</p>
</div>
<mat-dialog-actions align="end">
<button mat-raised-button mat-dialog-close>Cancel</button>
<button mat-raised-button color="primary" [mat-dialog-close]="{ confirm: true }">Confirm</button>
<button mat-raised-button mat-dialog-close>{{'labels.buttons.Cancel' | translate}}</button>
<button mat-raised-button color="primary" [mat-dialog-close]="{ confirm: true }">{{'labels.buttons.Confirm' | translate}}</button>
</mat-dialog-actions>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 mat-dialog-title>{{ data.isEnable ? 'Enable' : 'Disable' }} Withhold Tax</h1>
<h1 mat-dialog-title>{{ (data.isEnable ? 'labels.heading.Enable' : 'labels.heading.Disable') | translate }} {{"labels.heading.Withhold Tax" | translate }}</h1>
<div mat-dialog-content>
<p>Are you sure you want to {{ data.isEnable ? 'enable' : 'disable' }} withhold tax for this account ?</p>
<p>{{"labels.text.Are you sure you want to" | translate }} {{ (data.isEnable ? 'labels.heading.Enable' : 'labels.heading.Disable') | translate }} {{"labels.text.withhold tax for this account" | translate }} ?</p>
</div>
<mat-dialog-actions align="end">
<button mat-raised-button mat-dialog-close>Cancel</button>
<button mat-raised-button color="{{ data.isEnable ? 'accent' : 'warn' }}" [mat-dialog-close]="{ confirm: true }">Confirm</button>
<button mat-raised-button mat-dialog-close>{{'labels.buttons.Cancel' | translate}}</button>
<button mat-raised-button color="{{ data.isEnable ? 'accent' : 'warn' }}" [mat-dialog-close]="{ confirm: true }">{{'labels.buttons.Confirm' | translate}}</button>
</mat-dialog-actions>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 mat-dialog-title>Waive Charge</h1>
<h1 mat-dialog-title>{{"labels.buttons.Waive Charge" | translate}}</h1>
<div mat-dialog-content>
<p>Are you sure you want to waive charge with id: {{ data.id }} ?</p>
<p>{{"labels.text.Are you sure you want to waive charge with id" | translate }}: {{ data.id }} ?</p>
</div>
<mat-dialog-actions align="end">
<button mat-raised-button mat-dialog-close>Cancel</button>
<button mat-raised-button color="primary" [mat-dialog-close]="{ confirm: true }">Confirm</button>
<button mat-raised-button mat-dialog-close>{{'labels.buttons.Cancel' | translate}}</button>
<button mat-raised-button color="primary" [mat-dialog-close]="{ confirm: true }">{{'labels.buttons.Confirm' | translate}}</button>
</mat-dialog-actions>
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
<div class="tab-container mat-typography">

<div class="m-b-10">
<h3>All Standing Instructions</h3>
<h3>{{"labels.heading.All Standing Instructions" | translate }}</h3>
</div>

<div class="mat-elevation-z1 m-b-25">

<table mat-table #instructionsTable [dataSource]="dataSource">

<ng-container matColumnDef="client">
<th mat-header-cell *matHeaderCellDef> Client </th>
<th mat-header-cell *matHeaderCellDef> {{'labels.inputs.Client' | translate}} </th>
<td mat-cell *matCellDef="let instruction">{{instruction.fromClient.displayName}}-{{instruction.fromClient.id}}</td>
</ng-container>

<ng-container matColumnDef="fromAccount">
<th mat-header-cell *matHeaderCellDef> From Account </th>
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.From Account' | translate }} </th>
<td mat-cell *matCellDef="let instruction">{{instruction.fromAccount.accountNo}} ({{instruction.fromAccountType.value}})</td>
</ng-container>

<ng-container matColumnDef="beneficiary">
<th mat-header-cell *matHeaderCellDef> Beneficiary </th>
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Beneficiary' | translate }} </th>
<td mat-cell *matCellDef="let instruction">{{instruction.toClient.displayName}}</td>
</ng-container>

<ng-container matColumnDef="toAccount">
<th mat-header-cell *matHeaderCellDef> To Account </th>
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.To Account' | translate }} </th>
<td mat-cell *matCellDef="let instruction">{{instruction.toAccount.accountNo}} ({{instruction.toAccountType.value}})</td>
</ng-container>

<ng-container matColumnDef="amount">
<th mat-header-cell *matHeaderCellDef> Amount </th>
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Amount' | translate }} </th>
<td mat-cell *matCellDef="let instruction">{{instruction.instructionType.value}}/{{instruction.amount}}</td>
</ng-container>

<ng-container matColumnDef="validity">
<th mat-header-cell *matHeaderCellDef> Validity </th>
<td mat-cell *matCellDef="let instruction">{{instruction.validFrom | dateFormat}} to {{instruction.validTill | dateFormat}}</td>
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Validity' | translate }} </th>
<td mat-cell *matCellDef="let instruction">{{instruction.validFrom | dateFormat}} {{ 'labels.inputs.To' | translate }} {{instruction.validTill | dateFormat}}</td>
</ng-container>

<ng-container matColumnDef="actions">
<th mat-header-cell *matHeaderCellDef> Actions </th>
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Actions' | translate }} </th>
<td mat-cell *matCellDef="let instruction">
<span *ngIf="instruction.status.value!=='Deleted'">
<button class="account-action-button" mat-raised-button color="primary" matTooltip="Edit Standing Instruction"
<button class="account-action-button" mat-raised-button color="primary" matTooltip="{{ 'tooltips.Edit Standing Instruction' | translate }}"
*mifosxHasPermission="'UPDATE_STANDINGINSTRUCTION'">
<i class="fa fa-edit"></i>
</button>
</span>
<span *ngIf="instruction.status.value!=='Deleted'">
<button class="account-action-button" mat-raised-button color="warn" matTooltip="Delete Standing Instruction"
<button class="account-action-button" mat-raised-button color="warn" matTooltip="{{ 'tooltips.Delete Standing Instruction' | translate }}"
*mifosxHasPermission="'DELETE_STANDINGINSTRUCTION'" (click)="deleteStandingInstruction(instruction.id)">
<i class="fa fa-times"></i>
</button>
</span>
<button class="account-action-button" mat-raised-button color="primary" matTooltip="View Standing Instruction"
<button class="account-action-button" mat-raised-button color="primary" matTooltip="{{ 'tooltips.View Standing Instruction' | translate }}"
*mifosxHasPermission="'READ_STANDINGINSTRUCTION'">
<i class="fa fa-eye"></i>
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <h3>{{"labels.heading.All Transactions" | translate }}</h3>
<th mat-header-cell class="center" *matHeaderCellDef> {{"labels.inputs.Actions" | translate}} </th>
<td mat-cell class="center" *matCellDef="let transaction">
<button mat-icon-button [matMenuTriggerFor]="transactionMenu" aria-label="" class="action-button">
<mat-icon>more_vert</mat-icon>
<mat-icon>{{"labels.text.more_vert" | translate }}</mat-icon>
</button>
<mat-menu #transactionMenu="matMenu">
<button mat-menu-item (click)="showTransactions(transaction)">
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/dropdown/dropdown.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</mat-select>
<button mat-button *ngIf="controlSelect" matSuffix mat-icon-button
aria-label="Clear" (click)="clearProperty($event)">
<mat-icon>close</mat-icon>
<mat-icon>{{'labels.buttons.Close' | translate }}</mat-icon>
</button>
</mat-form-field>
4 changes: 2 additions & 2 deletions src/app/shared/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<td class="right footer-content">{{ versions.mifos }} - <b>{{ hash }}</b></td>
</tr>
<tr>
<td class="footer-content">Fineract</td>
<td class="footer-content">{{"labels.text.Fineract" | translate }}</td>
<td class="right footer-content">{{ versions.fineract.version }} - <b>{{ versions.fineract.hash }}</b></td>
</tr>
<tr *ngIf="displayBackEndInfo">
Expand All @@ -23,4 +23,4 @@
<mat-divider fxFlexAlign="center" class="divider"></mat-divider>
<p fxFlexAlign="center" class="footer-content">{{ 'APP_NAME' | translate}} {{'labels.text.by' | translate}} Mifos
</p>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@

<ng-template #templateDataTableFormRef let-popover="popover">
<h2>{{'labels.buttons.Create Datatable' | translate }}</h2>
<p class="mw400">{{'labels.text.Filling Details' | translate }} <a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/52592760/Manage+Data+Tables" target="_blank">Manage Datatables</a></p>
<p class="mw400">{{'labels.text.Filling Details' | translate }} <a href="https://mifosforge.jira.com/wiki/spaces/docs/pages/52592760/Manage+Data+Tables" target="_blank">{{'labels.inputs.Manage Datatables' | translate}}</a></p>
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column">
<button mat-raised-button color="warn" (click)="popover.close();configurationWizardService.closeConfigWizard()">{{'labels.buttons.Close' | translate }}</button>
<button mat-raised-button color="primary" (click)="popover.close();">{{'labels.buttons.Create Datatable' | translate }}</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@
<h2>{{'labels.buttons.Create Data Table' | translate}}</h2>
<p class="mw300">{{'labels.text.Launch a page that create new data table' | translate}}</p>
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column">
<button mat-raised-button color="warn" (click)="popover.close();configurationWizardService.closeConfigWizard()">Close</button>
<button mat-raised-button color="primary" (click)="popover.close();previousStep();">Back</button>
<button mat-raised-button color="primary" (click)="popover.close();showPopover(templateFilter,filter,'bottom', true);">Next</button>
<button mat-raised-button color="warn" (click)="popover.close();configurationWizardService.closeConfigWizard()">{{'labels.buttons.Close' | translate }}</button>
<button mat-raised-button color="primary" (click)="popover.close();previousStep();">{{'labels.buttons.Back' | translate}}</button>
<button mat-raised-button color="primary" (click)="popover.close();showPopover(templateFilter,filter,'bottom', true);">{{'labels.buttons.Next' | translate }}</button>
</div>
</ng-template>

<ng-template #templateFilter let-popover="popover">
<h4>{{'labels.heading.Search bar to filter datatables' | translate}}</h4>
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column">
<button mat-raised-button color="warn" (click)="popover.close();configurationWizardService.closeConfigWizard()">Close</button>
<button mat-raised-button color="primary" (click)="popover.close();showPopover(templateCreateDatatableRef,createDatatableRef,'bottom', true);">Back</button>
<button mat-raised-button color="primary" (click)="popover.close();showPopover(templateDatatablesList,datatablesList,'top', true);">Next</button>
<button mat-raised-button color="warn" (click)="popover.close();configurationWizardService.closeConfigWizard()">{{'labels.buttons.Close' | translate }}</button>
<button mat-raised-button color="primary" (click)="popover.close();showPopover(templateCreateDatatableRef,createDatatableRef,'bottom', true);">{{'labels.buttons.Back' | translate}}</button>
<button mat-raised-button color="primary" (click)="popover.close();showPopover(templateDatatablesList,datatablesList,'top', true);">{{'labels.buttons.Next' | translate }}</button>
</div>
</ng-template>

Expand Down
2 changes: 2 additions & 0 deletions src/assets/translations/cs-CS.json
Original file line number Diff line number Diff line change
Expand Up @@ -2822,6 +2822,7 @@
"Financial Activity Mappings": "Mapování finančních aktivit",
"Fixed Deposit Account Charges": "Poplatky za fixní vkladový účet",
"Filter by name": "Filtrovat podle jména",
"Fineract": "Fineract",
"Fixed Deposit Account Interest Rate Chart": "Tabulka úrokových sazeb na účtu s pevným vkladem",
"Fixed Deposit Account Standing Instructions": "Pokyny k trvalému vkladovému účtu",
"Fixed Deposit Account Transactions": "Transakce na pevném vkladovém účtu",
Expand Down Expand Up @@ -2919,6 +2920,7 @@
"Mifos X data-tables allow the user to add custom fields": "Tabulky dat Mifos X umožňují uživateli přidat vlastní pole kromě vestavěných polí do profilu klienta, úvěrového/spořicího účtu, skupiny, centra nebo kanceláře.",
"Migrate Opening Balances": "Migrujte úvodní zůstatky",
"Modify Loans Account": "Upravit úvěrový účet",
"more_vert": "více_vert",
"N/A": "N/A",
"Navigate system selecting entity": "To uživateli umožní rychle procházet entitou pro výběr systému, zatímco vyhledávání činí navigaci robustnější.",
"Navigation": "Navigace",
Expand Down
2 changes: 2 additions & 0 deletions src/assets/translations/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -2822,6 +2822,7 @@
"Fixed Deposit Account Charges": "Gebühren für Festgeldkonten",
"Fixed Deposit Account Interest Rate Chart": "Zinssatzdiagramm für Festgeldkonten",
"Filter by name": "Filter mit Namen",
"Fineract": "Fineract",
"Fixed Deposit Account Standing Instructions": "Anweisungen zum Festgeldkonto",
"Fixed Deposit Account Transactions": "Transaktionen mit Festgeldkonten",
"Fixed Deposit Account View": "Ansicht Festgeldkonto",
Expand Down Expand Up @@ -2918,6 +2919,7 @@
"Mifos X data-tables allow the user to add custom fields": "Mifos",
"Migrate Opening Balances": "Migrate Öffnungsbilanzen",
"Modify Loans Account": "Darlehenskonto ändern",
"more_vert": "more_vert",
"N/A": "N / A",
"Navigate system selecting entity": "Dadurch kann der Benutzer schnell durch das System navigieren und eine Entität auswählen, während die Suche die Navigation robuster macht.",
"Navigation": "Navigation",
Expand Down
2 changes: 2 additions & 0 deletions src/assets/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2822,6 +2822,7 @@
"Filling Details": "Click to start filling the details. * mark fields are necessary. For more details click:",
"Financial Activity Mappings": "Financial Activity Mappings",
"Filter by name": "Filter by name",
"Fineract": "Fineract",
"Fixed Deposit Account Charges": "Fixed Deposit Account Charges",
"Fixed Deposit Account Interest Rate Chart": "Fixed Deposit Account Interest Rate Chart",
"Fixed Deposit Account Standing Instructions": "Fixed Deposit Account Standing Instructions",
Expand Down Expand Up @@ -2920,6 +2921,7 @@
"Mifos X data-tables allow the user to add custom fields": "Mifos X data-tables allow the user to add custom fields in addition to the built-in fields to a client profile, loan/saving account, group, center or an office.",
"Migrate Opening Balances": "Migrate Opening Balances",
"Modify Loans Account": "Modify Loans Account",
"more_vert": "more_vert",
"N/A": "N/A",
"Navigate system selecting entity": "This will allow the user to quickly navigate the system selecting entity while searching makes the navigation more robust.",
"Navigation": "Navigation",
Expand Down
2 changes: 2 additions & 0 deletions src/assets/translations/es-MX.json
Original file line number Diff line number Diff line change
Expand Up @@ -2821,6 +2821,7 @@
"Financial Activity Mappings": "Mapeos de actividades financieras",
"Fixed Deposit Account Charges": "Comisiones de cuenta de Depósito Fijo",
"Filter by name": "Filtrar por nombre",
"Fineract": "Fineract",
"Fixed Deposit Account Interest Rate Chart": "Tabla de tasas de interés de cuentas de Depósito Fijo",
"Fixed Deposit Account Standing Instructions": "Instrucciones para la situación de la cuenta de Depósito Fijo",
"Fixed Deposit Account Transactions": "Transacciones de cuenta de Depósito Fijo",
Expand Down Expand Up @@ -2918,6 +2919,7 @@
"Mifos X data-tables allow the user to add custom fields": "Las tablas de datos de Mifos X permiten al usuario agregar campos personalizados además de los campos integrados a un perfil de cliente, cuenta de Crédito/ahorro, grupo, centro u oficina.",
"Migrate Opening Balances": "Migrar saldos de apertura",
"Modify Loans Account": "Modificar cuenta de Créditos",
"more_vert": "más_vert",
"N/A": "N/A",
"Navigate system selecting entity": "Esto permitirá al usuario navegar rápidamente por el sistema seleccionando la entidad mientras la búsqueda hace que la navegación sea más sólida.",
"Navigation": "Navegación",
Expand Down
2 changes: 2 additions & 0 deletions src/assets/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -2822,6 +2822,7 @@
"Financial Activity Mappings": "Cartographies des activités financières",
"Fixed Deposit Account Charges": "Frais de compte de dépôt fixe",
"Filter by name": "Filtre par nom",
"Fineract": "Fineact",
"Fixed Deposit Account Interest Rate Chart": "Tableau des taux d’intérêt des comptes de dépôt fixe",
"Fixed Deposit Account Standing Instructions": "Instructions permanentes pour les comptes de dépôt à terme",
"Fixed Deposit Account Transactions": "Opérations sur compte de dépôt fixe",
Expand Down Expand Up @@ -2919,6 +2920,7 @@
"Mifos X data-tables allow the user to add custom fields": "Les tables de données Mifos X permettent à l'utilisateur d'ajouter des champs personnalisés en plus des champs intégrés à un profil client, un compte de prêt/épargne, un groupe, un centre ou un bureau.",
"Migrate Opening Balances": "Migrer les soldes d'ouverture",
"Modify Loans Account": "Modifier le compte de prêts",
"more_vert": "plus_vert",
"N/A": "N / A",
"Navigate system selecting entity": "Cela permettra à l'utilisateur de naviguer rapidement dans l'entité de sélection du système tandis que la recherche rendra la navigation plus robuste.",
"Navigation": "La navigation",
Expand Down
Loading

0 comments on commit c69c9dc

Please sign in to comment.