From d6f909a81b85b35659a8c05c72e02b773ac5f11c Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Thu, 8 Aug 2024 14:50:36 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Alle=20SweetAlert-Titel=20und=20-Nachri?= =?UTF-8?q?chten=20von=20Englisch=20auf=20Deutsch=20=C3=BCbersetzt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../group-dir-import/group-dir-import.component.ts | 5 ++--- .../src/app/components/login/login.component.ts | 4 ++-- .../user-group-dir-import/user-group-dir-import.component.ts | 4 ++-- .../src/app/services/api/authentication.service.ts | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/group-dir-import/group-dir-import.component.ts b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/group-dir-import/group-dir-import.component.ts index d0678ee..9203f5b 100644 --- a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/group-dir-import/group-dir-import.component.ts +++ b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/group-dir-import/group-dir-import.component.ts @@ -55,11 +55,10 @@ export class GroupDirImportComponent implements OnInit { forkJoin(requests).pipe( // finalize is executed after all requests are completed or when an error occurs finalize(() => { - // Show Swal notification after all requests are completed Swal.fire({ icon: "success", - title: "Completed", - text: `${numAdded} new groups added`, + title: "Abgeschlossen", + text: `${numAdded} neue Gruppen hinzugefügt`, position: "center", showConfirmButton: false, timer: 3000 diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/login/login.component.ts b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/login/login.component.ts index 379d917..8c40fc2 100644 --- a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/login/login.component.ts +++ b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/login/login.component.ts @@ -36,8 +36,8 @@ export class LoginComponent { this.waitRes = false; Swal.fire({ icon: "error", - title: "Oops...", - text: err.error.messages.join("\n"), + title: "Ungültiger Benutzername oder Passwort", + text: "Bitte überprüfen Sie Ihre Anmeldedaten und versuchen Sie es erneut.", }); }, complete: () => this.waitRes = false diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/user-group-dir-import/user-group-dir-import.component.ts b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/user-group-dir-import/user-group-dir-import.component.ts index da9f6fb..2333e79 100644 --- a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/user-group-dir-import/user-group-dir-import.component.ts +++ b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/user-group-dir-import/user-group-dir-import.component.ts @@ -71,8 +71,8 @@ export class UserGroupDirImportComponent implements OnInit, AfterViewInit { // Show Swal notification after all requests are completed Swal.fire({ icon: "success", - title: "Completed", - text: `${numAdded} new users added`, + title: "Abgeschlossen", + text: `${numAdded} neue Benutzer hinzugefügt`, position: "center", showConfirmButton: false, timer: 3000 diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/services/api/authentication.service.ts b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/services/api/authentication.service.ts index 531cd8b..fde1c55 100644 --- a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/services/api/authentication.service.ts +++ b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/services/api/authentication.service.ts @@ -75,7 +75,7 @@ export class AuthenticationService { Swal.fire({ icon: "error", title: "Oops...", - text: "The backend application is not responding.", + text: "Der Server antwortet nicht.", }); } }