feat:Home Translate Module (#1807)

This commit is contained in:
RADHA THAKARE
2023-09-15 14:16:46 -06:00
committed by GitHub
parent 9e5da61545
commit c6e7c2a010
5 changed files with 24 additions and 24 deletions
@@ -3,10 +3,10 @@
<mat-card-header class="header">
<h3 fxFlex="100%">
<fa-icon icon="donate"></fa-icon>
&nbsp;&nbsp; Amount Collected
&nbsp;&nbsp; {{"labels.inputs.Amount Collected" |translate}}
<div>
<mat-form-field id="office" fxFlex="94%">
<mat-label>Office</mat-label>
<mat-label>{{"labels.inputs.Office" |translate}}</mat-label>
<mat-select [formControl]="officeId">
<mat-option *ngFor="let office of officeData" [value]="office.id">
{{ office.name }}
@@ -23,7 +23,7 @@
<canvas id="collection-pie" width="800" height="600"></canvas>
</div>
<div *ngIf="showFallback" class="fallback" fxLayoutAlign="center center">
<p>No Data</p>
<p>{{"labels.text.No Data" |translate}}</p>
</div>
</mat-card-content>
@@ -3,10 +3,10 @@
<mat-card-header class="header">
<h3 fxFlex="100%">
<fa-icon icon="money-bill"></fa-icon>
&nbsp;&nbsp; Amount Pending / Disbursed
&nbsp;&nbsp; {{"labels.inputs.Amount Pending / Disbursed" |translate}}
<div>
<mat-form-field id="office" fxFlex="94%">
<mat-label>Office</mat-label>
<mat-label>{{"labels.inputs.Office" |translate}}</mat-label>
<mat-select [formControl]="officeId">
<mat-option *ngFor="let office of officeData" [value]="office.id">
{{ office.name }}
@@ -23,7 +23,7 @@
<canvas id="disbursement-pie" width="800" height="600"></canvas>
</div>
<div *ngIf="showFallback" class="fallback" fxLayoutAlign="center center">
<p>No Data</p>
<p>{{"labels.text.No Data" |translate}}</p>
</div>
</mat-card-content>
@@ -3,10 +3,10 @@
<mat-card-header class="header">
<h3 fxFlex="100%">
<fa-icon icon="chart-line"></fa-icon>
&nbsp;&nbsp; Client Trends
&nbsp;&nbsp; {{"labels.inputs.Client Trends" |translate}}
<div>
<mat-form-field id="office" fxFlex="94%">
<mat-label>Office</mat-label>
<mat-label>{{"labels.inputs.Office" |translate}}</mat-label>
<mat-select [formControl]="officeId">
<mat-option *ngFor="let office of officeData" [value]="office.id">
{{ office.name }}
@@ -23,9 +23,9 @@
<canvas id="client-trends-bar" width="800" height="465"></canvas>
</div>
<mat-button-toggle-group [formControl]="timescale" id='timescale' appearance="legacy">
<mat-button-toggle value="Day">Day</mat-button-toggle>
<mat-button-toggle value="Week">Week</mat-button-toggle>
<mat-button-toggle value="Month">Month</mat-button-toggle>
<mat-button-toggle value="Day">{{"labels.buttons.Day" |translate}}</mat-button-toggle>
<mat-button-toggle value="Week">{{"labels.buttons.Week" |translate}}</mat-button-toggle>
<mat-button-toggle value="Month">{{"labels.buttons.Month" |translate}}</mat-button-toggle>
</mat-button-toggle-group>
</mat-card-content>
@@ -8,7 +8,7 @@
<mat-card-header class="header">
<h3><fa-icon icon="bolt"></fa-icon>
&nbsp;&nbsp; Recent Activities</h3>
&nbsp;&nbsp; {{"labels.heading.Recent Activities" |translate}}</h3>
</mat-card-header>
<mat-card-content>
@@ -23,7 +23,7 @@
<mat-card-header class="header">
<h3><fa-icon icon="laptop"></fa-icon>
&nbsp;&nbsp; Frequent Activities</h3>
&nbsp;&nbsp; {{"labels.heading.Frequent Activities" |translate}}</h3>
</mat-card-header>
<mat-card-content>