Adds language

This commit is contained in:
apapachristou 2020-06-26 18:27:01 +03:00
parent 1bae868e5a
commit 05ea4fffd5
4 changed files with 5 additions and 2 deletions

View File

@ -11,8 +11,8 @@
<div class="collapse navbar-collapse justify-content-end" id="navigation"> <div class="collapse navbar-collapse justify-content-end" id="navigation">
<div class="col-md-auto" *ngIf="!(isAuthenticated() && onInvalidUrl())"> <div class="col-md-auto" *ngIf="!(isAuthenticated() && onInvalidUrl())">
<button type="button" class="normal-btn ml-auto" [routerLink]="['/quick-wizard']">Start new DMP</button> <button type="button" class="normal-btn ml-auto" [routerLink]="['/quick-wizard']">{{ 'NAV-BAR.START-NEW-DMP' | translate }}</button>
<a class="ml-4 mr-4 faq-title" (click)="openFaqDialog()"><b>FAQ</b></a> <a class="ml-4 mr-4 faq-title" (click)="openFaqDialog()"><b>{{ 'FAQ.TITLE' | translate }}</b></a>
<!-- <button mat-icon-button class="lang" [matMenuTriggerFor]="languageMenu"></button> --> <!-- <button mat-icon-button class="lang" [matMenuTriggerFor]="languageMenu"></button> -->
<button mat-button [matMenuTriggerFor]="languageMenu" class="p-0 lang"><mat-icon class="mr-2">language</mat-icon><span class="text-uppercase">{{selectedLanguage}}</span><mat-icon>arrow_drop_down</mat-icon></button> <button mat-button [matMenuTriggerFor]="languageMenu" class="p-0 lang"><mat-icon class="mr-2">language</mat-icon><span class="text-uppercase">{{selectedLanguage}}</span><mat-icon>arrow_drop_down</mat-icon></button>
<mat-menu #languageMenu="matMenu" class="lang-parent"> <mat-menu #languageMenu="matMenu" class="lang-parent">

View File

@ -186,6 +186,7 @@
"TEMPLATE": "TEMPLATE", "TEMPLATE": "TEMPLATE",
"DMP-TEMPLATES": "DMP TEMPLATES", "DMP-TEMPLATES": "DMP TEMPLATES",
"USERS-BREADCRUMB": "USERS", "USERS-BREADCRUMB": "USERS",
"START-NEW-DMP": "Start new DMP",
"SEARCH": { "SEARCH": {
"DATASET": "Dataset Description", "DATASET": "Dataset Description",
"DMP": "DMP", "DMP": "DMP",

View File

@ -186,6 +186,7 @@
"TEMPLATE": "PLANTILLA", "TEMPLATE": "PLANTILLA",
"DMP-TEMPLATES": "PLANTILLAS PGD", "DMP-TEMPLATES": "PLANTILLAS PGD",
"USERS-BREADCRUMB": "USUARIOS", "USERS-BREADCRUMB": "USUARIOS",
"START-NEW-DMP": "Comenzar nuevo dmp",
"SEARCH": { "SEARCH": {
"DATASET": "Descripción del Dataset", "DATASET": "Descripción del Dataset",
"DMP": "PGD", "DMP": "PGD",

View File

@ -186,6 +186,7 @@
"TEMPLATE": "TEMPLATE", "TEMPLATE": "TEMPLATE",
"DMP-TEMPLATES": "TEMPLATES ΣΧΕΔΙΩΝ ΔΙΑΧΕΙΡΙΣΗΣ ΔΕΔΟΜΕΝΩΝ", "DMP-TEMPLATES": "TEMPLATES ΣΧΕΔΙΩΝ ΔΙΑΧΕΙΡΙΣΗΣ ΔΕΔΟΜΕΝΩΝ",
"USERS-BREADCRUMB": "ΧΡΗΣΤΕΣ", "USERS-BREADCRUMB": "ΧΡΗΣΤΕΣ",
"START-NEW-DMP": "Ξεκινήστε νέο DMP",
"SEARCH": { "SEARCH": {
"DATASET": "Περιγραφή Συνόλου Δεδομένων", "DATASET": "Περιγραφή Συνόλου Δεδομένων",
"DMP": "Σχέδιο Διαχείρισης Δεδομένων", "DMP": "Σχέδιο Διαχείρισης Δεδομένων",