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
@@ -1,15 +1,15 @@
|
||||
<div *ngIf="searchVisible" class="search-bar" fxFlex="auto" fxHide.lt-sm="true" fxLayout="row" fxLayoutGap="2%" [@fadeInOut]>
|
||||
|
||||
<mat-form-field class="search">
|
||||
<mat-label>Search</mat-label>
|
||||
<mat-label>{{'labels.text.Search' | translate}}</mat-label>
|
||||
<input matInput type="text" [formControl]="query" (keydown.enter)="search()">
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field class="resource">
|
||||
<mat-label>Resource</mat-label>
|
||||
<mat-label>{{'labels.text.Resource' | translate}}</mat-label>
|
||||
<mat-select [formControl]="resource">
|
||||
<mat-option *ngFor="let option of resourceOptions" [value]="option.value">
|
||||
{{ option.name }}
|
||||
{{'labels.text.' + option.name | translate }}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
@@ -18,6 +18,6 @@
|
||||
|
||||
<div class="search-icon">
|
||||
<button mat-icon-button (click)="toggleSearchVisibility()" fxHide.lt-sm="true">
|
||||
<fa-icon icon="search" size="lg" matTooltip="Search"></fa-icon>
|
||||
<fa-icon icon="search" size="lg" matTooltip="{{'labels.text.Search' | translate}}"></fa-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user