feat:Shares Translate Module (#1815)

This commit is contained in:
RADHA THAKARE
2023-09-15 14:18:01 -06:00
committed by GitHub
parent cdb3fbcea4
commit c483e015f4
21 changed files with 163 additions and 163 deletions
@@ -9,25 +9,25 @@
<div fxLayout="column">
<mat-form-field (click)="requestedDatePicker.open()">
<mat-label>Request Date</mat-label>
<mat-label>{{ 'labels.inputs.Request Date' |translate}}</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="requestedDatePicker" required formControlName="requestedDate">
<mat-datepicker-toggle matSuffix [for]="requestedDatePicker"></mat-datepicker-toggle>
<mat-datepicker #requestedDatePicker></mat-datepicker>
<mat-error *ngIf="redeemSharesForm.controls.requestedDate.hasError('required')">
Request Date is <strong>required</strong>
{{ 'labels.inputs.Request Date' |translate}} {{ "labels.commons.is" |translate}} <strong>{{ "labels.commons.required" | translate}}</strong>
</mat-error>
</mat-form-field>
<mat-form-field>
<mat-label>Total No. of Shares</mat-label>
<mat-label>{{ 'labels.inputs.Total No. of Shares' |translate}}</mat-label>
<input matInput required formControlName="requestedShares">
<mat-error *ngIf="redeemSharesForm.controls.requestedShares.hasError('required')">
Requested Shares is <strong>required</strong>
{{ 'labels.inputs.Requested Shares' |translate}} {{ "labels.commons.is" |translate}} <strong>{{ "labels.commons.required" | translate}}</strong>
</mat-error>
</mat-form-field>
<mat-form-field>
<mat-label>Today's Price</mat-label>
<mat-label>{{ 'labels.inputs.Today's Price' |translate}}</mat-label>
<input matInput required formControlName="unitPrice">
</mat-form-field>
@@ -36,8 +36,8 @@
</mat-card-content>
<mat-card-actions fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="5px">
<button type="button" mat-raised-button [routerLink]="['../../']">Cancel</button>
<button mat-raised-button color="warn" [disabled]="!redeemSharesForm.valid">Confirm</button>
<button type="button" mat-raised-button [routerLink]="['../../']">{{'labels.buttons.Cancel' |translate}}</button>
<button mat-raised-button color="warn" [disabled]="!redeemSharesForm.valid">{{'labels.buttons.Confirm' |translate}}</button>
</mat-card-actions>
</form>