added locale backup + en support

This commit is contained in:
_Bastler
2021-03-26 10:17:28 +01:00
parent a9fd56efc6
commit 34755be840
16 changed files with 2724 additions and 1039 deletions
@@ -0,0 +1,3 @@
.text-warning {
color: darkred;
}
+6 -3
View File
@@ -2,7 +2,8 @@ import {Component, OnInit} from '@angular/core';
@Component({
selector: 'app-imprint',
templateUrl: './general.imprint.html'
templateUrl: './general.imprint.html',
styleUrls: ['./general.component.scss']
})
export class ImprintComponent implements OnInit {
@@ -16,7 +17,8 @@ export class ImprintComponent implements OnInit {
@Component({
selector: 'app-privacy-policy',
templateUrl: './general.privacy-policy.html'
templateUrl: './general.privacy-policy.html',
styleUrls: ['./general.component.scss']
})
export class PrivacyPolicyComponent implements OnInit {
@@ -30,7 +32,8 @@ export class PrivacyPolicyComponent implements OnInit {
@Component({
selector: 'app-terms-of-service',
templateUrl: './general.terms-of-service.html'
templateUrl: './general.terms-of-service.html',
styleUrls: ['./general.component.scss']
})
export class TermsOfServiceComponent implements OnInit {
@@ -8,4 +8,12 @@
{{'service-unavailable.text' | i18n}}
</p>
</mat-card-content>
<mat-card-actions>
<a mat-raised-button color="primary" (click)="retry()">
{{'service-unavailable.retry' | i18n}}
</a>
<a mat-raised-button href="https://wiki.bstly.de/help#Support">
{{'service-unavailable.support' | i18n}}
</a>
</mat-card-actions>
</mat-card>
@@ -10,6 +10,6 @@ mat-card {
padding: 0;
}
mat-card-content {
padding: 16px;
mat-card-content, mat-card-actions {
padding: 16px !important;
}
@@ -1,4 +1,5 @@
import { Component, OnInit } from '@angular/core';
import {Component, OnInit} from '@angular/core';
import { Location } from '@angular/common'
@Component({
selector: 'app-unavailable',
@@ -7,9 +8,14 @@ import { Component, OnInit } from '@angular/core';
})
export class UnavailableComponent implements OnInit {
constructor() { }
constructor(
private location: Location) {}
ngOnInit(): void {
}
retry() {
this.location.back();
}
}