Translate Login and Home

This commit is contained in:
Jose Alberto Hernandez
2022-09-21 09:54:35 -05:00
parent 3de61b8f37
commit 96aaf27017
20 changed files with 474 additions and 161 deletions
+4 -4
View File
@@ -3,7 +3,7 @@
<div #buttonDashboard class="in-block">
<button mat-raised-button color="primary" [routerLink]="['/dashboard']">
<fa-icon icon="tachometer-alt"></fa-icon>&nbsp;&nbsp;
Dashboard
{{ 'labels.buttons.Dashboard' | translate }}
</button>
</div>
@@ -15,15 +15,15 @@
<mat-card-header>
<mat-card-title class="title">
Welcome, {{ username }}!
{{ 'labels.texts.Welcome' | translate }}, {{ username }}!
</mat-card-title>
</mat-card-header>
<mat-card-content #searchActivity>
<div fxLayout="column">
<mat-form-field>
<mat-label>Search Activity</mat-label>
<mat-label>{{ 'labels.placeholders.Search Activity' | translate }}</mat-label>
<input matInput [matAutocomplete]="activitySearch" [formControl]="searchText">
</mat-form-field>
</div>
+3 -1
View File
@@ -12,6 +12,7 @@ import { DashboardComponent } from './dashboard/dashboard.component';
import { AmountCollectedPieComponent } from './dashboard/amount-collected-pie/amount-collected-pie.component';
import { AmountDisbursedPieComponent } from './dashboard/amount-disbursed-pie/amount-disbursed-pie.component';
import { ClientTrendsBarComponent } from './dashboard/client-trends-bar/client-trends-bar.component';
import { TranslateModule } from '@ngx-translate/core';
/**
* Home Component
@@ -22,7 +23,8 @@ import { ClientTrendsBarComponent } from './dashboard/client-trends-bar/client-t
imports: [
SharedModule,
PipesModule,
HomeRoutingModule
HomeRoutingModule,
TranslateModule.forRoot(),
],
declarations: [
HomeComponent,