feat: Alle SweetAlert-Titel und -Nachrichten von Englisch auf Deutsch übersetzt.
This commit is contained in:
parent
be1bc2889f
commit
d6f909a81b
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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.",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user