i18n: Adding new languages: Part 1 (#1882)

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
José Alberto Hernández
2023-10-22 20:18:05 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent c7fe21e74a
commit 408f004450
432 changed files with 38051 additions and 44613 deletions
@@ -2,16 +2,16 @@
*ngIf="!(transactionData.type.contra)">
<span *mifosxHasPermission="'ADJUST_LOAN'">
<button mat-raised-button color="primary" [routerLink]="'edit'" [disabled]="!allowEdition">
<fa-icon icon="edit" class="m-r-10"></fa-icon>{{ 'Edit' | translate }}
<fa-icon icon="edit" class="m-r-10"></fa-icon>{{ 'Edit' | translate}}
</button>
<button mat-raised-button color="warn" (click)="undoTransaction()" [disabled]="!allowUndo">
<fa-icon icon="undo" class="m-r-10"></fa-icon>{{ 'Undo' | translate }}
<fa-icon icon="undo" class="m-r-10"></fa-icon>{{ 'Undo' | translate}}
</button>
</span>
<span *mifosxHasPermission="'CHARGEBACK_LOAN'">
<button mat-raised-button color="warn" [disabled]="!allowChargeback" (click)="chargebackTransaction()">
<fa-icon icon="undo" class="m-r-10"></fa-icon>{{ 'Chargeback' | translate }}
<fa-icon icon="undo" class="m-r-10"></fa-icon>{{ 'Chargeback' | translate}}
</button>
</span>
</div>
@@ -27,7 +27,7 @@
</div>
<div fxFlex="50%" class="mat-body-strong">
{{ 'Transaction Id' | translate }}
{{ 'Transaction Id' | translate}}
</div>
<div fxFlex="50%">
@@ -35,7 +35,7 @@
</div>
<div fxFlex="50%" class="mat-body-strong" *ngIf="transactionData.toLoanTransactionRelation">
{{ 'Repayment Transaction' | translate }}
{{ 'Repayment Transaction' | translate}}
</div>
<div fxFlex="50%" *ngIf="transactionData.toLoanTransactionRelation">
@@ -45,7 +45,7 @@
</div>
<div fxFlex="50%" class="mat-body-strong">
{{ 'Type' | translate }}
{{ 'Type' | translate}}
</div>
<div fxFlex="50%">
@@ -53,7 +53,7 @@
</div>
<div fxFlex="50%" class="mat-body-strong">
{{ 'Transaction Date' | translate }}
{{ 'Transaction Date' | translate}}
</div>
<div fxFlex="50%">
@@ -61,7 +61,7 @@
</div>
<div fxFlex="50%" class="mat-body-strong">
{{ 'Currency' | translate }}
{{ 'Currency' | translate}}
</div>
<div fxFlex="50%">
@@ -69,7 +69,7 @@
</div>
<div fxFlex="50%" class="mat-body-strong">
{{ 'Amount' | translate }}
{{ 'Amount' | translate}}
</div>
<div fxFlex="50%">
@@ -77,7 +77,7 @@
</div>
<div fxFlex="50%" class="mat-body-strong" *ngIf="transactionData.externalId">
{{ 'External Id' | translate }}
{{ 'External Id' | translate}}
</div>
<div fxFlex="50%" *ngIf="transactionData.externalId">
@@ -87,19 +87,19 @@
<mat-divider *ngIf="existTransactionRelations" [inset]="true"></mat-divider>
<div fxFlex="100%" class="mat-body-strong" *ngIf="existTransactionRelations">
{{ 'Linked Transactions' | translate }}
{{ 'Linked Transactions' | translate}}
<br>
<table mat-table [dataSource]="transactionRelations">
<ng-container matColumnDef="relationType">
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Relation Type" | translate }} </th>
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Relation Type" | translate}} </th>
<td mat-cell *matCellDef="let transactionRel" [matTooltip]="transactionRel.paymentType">
{{ transactionRel.relationType | translate }}
{{ transactionRel.relationType | translate}}
</td>
</ng-container>
<ng-container matColumnDef="toTransaction">
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Transaction" | translate }} </th>
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Transaction" | translate}} </th>
<td mat-cell *matCellDef="let transactionRel">
<a [href]="loanTransactionRelatedLink(transactionRel.toLoanTransaction)">
{{ transactionRel.toLoanTransaction }}
@@ -108,7 +108,7 @@
</ng-container>
<ng-container matColumnDef="amount">
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Amount" | translate }} </th>
<th mat-header-cell *matHeaderCellDef> {{"labels.inputs.Amount" | translate}} </th>
<td mat-cell *matCellDef="let transactionRel">
{{ transactionRel.amount | currency }} {{ transactionData.currency.code }}
</td>
@@ -124,7 +124,7 @@
</div>
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="2%" fxLayout.lt-md="column">
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'Back' | translate }}</button>
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'Back' | translate}}</button>
</div>
</mat-card-content>