From a510cf731fa4e67fb2f4d2ad81f3521314283ff7 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 5 Mar 2023 21:37:59 +0100 Subject: [PATCH] Fixed german translation #232 --- kdb-web/src/app/components/footer/footer.component.ts | 1 - .../components/forget-password/forget-password.component.ts | 1 - .../src/app/modules/auth/components/login/login.component.ts | 1 - kdb-web/src/assets/i18n/de.json | 4 ++-- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/kdb-web/src/app/components/footer/footer.component.ts b/kdb-web/src/app/components/footer/footer.component.ts index 47f24b99..9acfd5cb 100644 --- a/kdb-web/src/app/components/footer/footer.component.ts +++ b/kdb-web/src/app/components/footer/footer.component.ts @@ -33,7 +33,6 @@ export class FooterComponent implements OnInit { })) .subscribe(version => { this.spinnerService.hideSpinner(); - console.log('V', version) this.backendVersion = new SoftwareVersion( version.major, version.minor, diff --git a/kdb-web/src/app/modules/auth/components/forget-password/forget-password.component.ts b/kdb-web/src/app/modules/auth/components/forget-password/forget-password.component.ts index f73bd20e..c49c6be1 100644 --- a/kdb-web/src/app/modules/auth/components/forget-password/forget-password.component.ts +++ b/kdb-web/src/app/modules/auth/components/forget-password/forget-password.component.ts @@ -37,7 +37,6 @@ export class ForgetPasswordComponent implements OnInit { ) { } ngOnInit(): void { - console.log('test'); this.spinnerService.showSpinner(); this.authService.isUserLoggedInAsync().then(result => { if (result) { diff --git a/kdb-web/src/app/modules/auth/components/login/login.component.ts b/kdb-web/src/app/modules/auth/components/login/login.component.ts index d6d5d6a6..deceb72a 100644 --- a/kdb-web/src/app/modules/auth/components/login/login.component.ts +++ b/kdb-web/src/app/modules/auth/components/login/login.component.ts @@ -83,7 +83,6 @@ export class LoginComponent implements OnInit { return throwError(() => err); })).subscribe(token => { if (token.firstLogin) { - console.log(1, this.authService.getEMailFromDecodedToken(this.authService.getDecodedToken(token))) this.confirmDialog.confirmDialog( this.translate.instant( "auth.login.message.confirm_email"), diff --git a/kdb-web/src/assets/i18n/de.json b/kdb-web/src/assets/i18n/de.json index 60320853..f078500e 100644 --- a/kdb-web/src/assets/i18n/de.json +++ b/kdb-web/src/assets/i18n/de.json @@ -33,7 +33,7 @@ }, "settings": { "email": { - "email_address": "E-Mail Adresse", + "email_address": "E-Mail-Adresse", "header": "E-Mail", "host": "Host", "port": "Port", @@ -94,7 +94,7 @@ "password_required": "Passwort benötigt", "register": "Registrieren", "user_not_found": "Benutzer nicht gefunden", - "wrong_password": "Falsches passwort" + "wrong_password": "Falsches Passwort" }, "register": { "email_required": "E-Mail benötigt",