i18n: Adding new languages: Part 1 (#1882)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
c7fe21e74a
commit
408f004450
@@ -3,7 +3,7 @@
|
||||
<div #buttonDashboard class="in-block">
|
||||
<button mat-raised-button color="primary" [routerLink]="['/dashboard']">
|
||||
<fa-icon icon="tachometer-alt" class="m-r-10"></fa-icon>
|
||||
{{ 'labels.buttons.Dashboard' | translate }}
|
||||
{{'labels.buttons.Dashboard' | translate}}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
<mat-card-header>
|
||||
<mat-card-title class="title">
|
||||
{{ 'labels.text.Welcome' | translate }}, {{ username }}!
|
||||
{{'labels.text.Welcome' | translate}}, {{ username }}!
|
||||
</mat-card-title>
|
||||
</mat-card-header>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<div fxLayout="column">
|
||||
<mat-form-field>
|
||||
<mat-label>{{ 'labels.placeholders.Search Activity' | translate }}</mat-label>
|
||||
<mat-label>{{'labels.placeholders.Search Activity' | translate}}</mat-label>
|
||||
<input matInput [matAutocomplete]="activitySearch" [formControl]="searchText">
|
||||
</mat-form-field>
|
||||
</div>
|
||||
@@ -43,21 +43,21 @@
|
||||
</div>
|
||||
|
||||
<ng-template #templateButtonDashboard let-popover="popover">
|
||||
<h2>{{"labels.heading.Dashboard" | translate }}</h2>
|
||||
<p class="mw300">{{"labels.text.This will navigate the user to the dashboard component." | translate }}</p>
|
||||
<h2>{{"labels.heading.Dashboard" | translate}}</h2>
|
||||
<p class="mw300">{{"labels.text.This will navigate the user to the dashboard component." | translate}}</p>
|
||||
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column">
|
||||
<button mat-raised-button color="warn" (click)="popover.close();configurationWizardService.closeConfigWizard()">{{"labels.buttons.Close" | translate }}</button>
|
||||
<button mat-raised-button color="primary" (click)="popover.close();previousStep()">{{"labels.buttons.Back" | translate }}</button>
|
||||
<button mat-raised-button color="primary" (click)="popover.close();showPopover(templateSearchActivity, searchActivity,'bottom',true)">{{"labels.buttons.Next" | translate }}</button>
|
||||
<button mat-raised-button color="warn" (click)="popover.close();configurationWizardService.closeConfigWizard()">{{"labels.buttons.Close" | translate}}</button>
|
||||
<button mat-raised-button color="primary" (click)="popover.close();previousStep()">{{"labels.buttons.Back" | translate}}</button>
|
||||
<button mat-raised-button color="primary" (click)="popover.close();showPopover(templateSearchActivity, searchActivity,'bottom',true)">{{"labels.buttons.Next" | translate}}</button>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
<ng-template #templateSearchActivity let-popover="popover">
|
||||
<h2>{{"labels.heading.Search Activity" | translate }}</h2>
|
||||
<p class="mw300">{{"labels.text.This will navigate the user to the searched activity." | translate }}</p>
|
||||
<h2>{{"labels.heading.Search Activity" | translate}}</h2>
|
||||
<p class="mw300">{{"labels.text.This will navigate the user to the searched activity." | translate}}</p>
|
||||
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column">
|
||||
<button mat-raised-button color="warn" (click)="popover.close();configurationWizardService.closeConfigWizard()">{{"labels.buttons.Close" | translate }}</button>
|
||||
<button mat-raised-button color="primary" (click)="popover.close();showPopover(templateButtonDashboard, buttonDashboard,'bottom',true)">{{"labels.buttons.Back" | translate }}</button>
|
||||
<button mat-raised-button color="primary" (click)="popover.close();nextStep()">{{"labels.buttons.Next" | translate }}</button>
|
||||
<button mat-raised-button color="warn" (click)="popover.close();configurationWizardService.closeConfigWizard()">{{"labels.buttons.Close" | translate}}</button>
|
||||
<button mat-raised-button color="primary" (click)="popover.close();showPopover(templateButtonDashboard, buttonDashboard,'bottom',true)">{{"labels.buttons.Back" | translate}}</button>
|
||||
<button mat-raised-button color="primary" (click)="popover.close();nextStep()">{{"labels.buttons.Next" | translate}}</button>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
Reference in New Issue
Block a user