Translate Login and Home
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div #buttonDashboard class="in-block">
|
||||
<button mat-raised-button color="primary" [routerLink]="['/dashboard']">
|
||||
<fa-icon icon="tachometer-alt"></fa-icon>
|
||||
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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user