more translations and styling

This commit is contained in:
simon987
2019-02-06 19:12:07 -05:00
parent 367a81ac76
commit 920647b4aa
12 changed files with 170 additions and 105 deletions

View File

@@ -1,4 +1,5 @@
import {Component} from '@angular/core';
import {Router} from '@angular/router';
import {TranslateService} from "@ngx-translate/core";
import {MatSelectChange} from "@angular/material";
@@ -18,7 +19,7 @@ export class AppComponent {
{lang: "en", display: "English"},
];
constructor(private translate: TranslateService) {
constructor(private translate: TranslateService, private router: Router) {
translate.addLangs([
"en",