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
@@ -1,8 +1,8 @@
<h1 mat-dialog-title>{{'labels.heading.Approve Share' | translate }}</h1>
<h1 mat-dialog-title>{{'labels.heading.Approve Share' | translate}}</h1>
<div mat-dialog-content>
<p>{{'labels.text.Are you sure you want to approve share with id' | translate }}: {{ data.shareId }} ?</p>
<p>{{'labels.text.Are you sure you want to approve share with id' | translate}}: {{ data.shareId }} ?</p>
</div>
<mat-dialog-actions align="end">
<button mat-raised-button mat-dialog-close>{{'labels.buttons.Cancel' | translate }}</button>
<button mat-raised-button [mat-dialog-close]="{ approve: true }">{{'labels.buttons.Confirm' | translate }}</button>
<button mat-raised-button mat-dialog-close>{{'labels.buttons.Cancel' | translate}}</button>
<button mat-raised-button [mat-dialog-close]="{ approve: true }">{{'labels.buttons.Confirm' | translate}}</button>
</mat-dialog-actions>
@@ -5,31 +5,31 @@
<table #sharesTable mat-table [dataSource]="dataSource" matSort>
<ng-container matColumnDef="transactionDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{ 'labels.inputs.Transaction Date' | translate }} </th>
<td mat-cell *matCellDef="let share"> {{ share.purchasedDate | dateFormat }}</td>
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{'labels.inputs.Transaction Date' | translate}} </th>
<td mat-cell *matCellDef="let share"> {{ share.purchasedDate | dateFormat }}</td>
</ng-container>
<ng-container matColumnDef="totalShares">
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{ 'labels.inputs.Total Shares' | translate }} </th>
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{'labels.inputs.Total Shares' | translate}} </th>
<td mat-cell *matCellDef="let share"> {{ share.numberOfShares }} </td>
</ng-container>
<ng-container matColumnDef="redeemedPrice">
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{ 'labels.inputs.Purchased/Redeemed Price' | translate }} </th>
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{'labels.inputs.Purchased/Redeemed Price' | translate}} </th>
<td mat-cell *matCellDef="let share"> {{ share.purchasedPrice }} </td>
</ng-container>
<ng-container matColumnDef="status">
<th mat-header-cell *matHeaderCellDef> {{ 'labels.inputs.Status' | translate }} </th>
<th mat-header-cell *matHeaderCellDef> {{'labels.inputs.Status' | translate}} </th>
<td mat-cell *matCellDef="let share">
<i class="fa fa-stop" [ngClass]="share.status.code|statusLookup" [matTooltip]="share.status.value"></i>
</td>
</ng-container>
<ng-container matColumnDef="approve">
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{ 'labels.inputs.Confirm Approve' | translate }} </th>
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{'labels.inputs.Confirm Approve' | translate}} </th>
<td mat-cell *matCellDef="let share">
<button class="share-action-button" mat-raised-button color="accent" matTooltip="{{ 'tooltips.Approve Share' | translate }}"
<button class="share-action-button" mat-raised-button color="accent" matTooltip="{{ 'tooltips.Approve Share' | translate}}"
(click)="approve(share.id)">
<i class="fa fa-check"></i>
</button>