Übersetze Mail-Vorlagen ins Deutsche (du-Form)
All checks were successful
Build & Push Docker Image / docker (push) Successful in 1m49s

This commit is contained in:
Ahmed Darrazi 2025-12-18 21:33:01 +01:00
parent bf507baaff
commit 0aa2081a1d
2 changed files with 11 additions and 11 deletions

View File

@ -34,7 +34,7 @@ class EmailVerificationNotificationController extends Controller
{
$this->accountService->changeEmail($request->validated(), Auth::user()->id);
return back()->with('success', 'We have sent a email verification link to your new email account.');
return back()->with('success', 'Wir haben einen Bestätigungslink an deine neue E-Mail-Adresse gesendet.');
}
/**
@ -45,7 +45,7 @@ class EmailVerificationNotificationController extends Controller
$user = Auth::user();
$saved = $this->accountService->saveChangedEmail($request->token, $user->id);
$flash = $saved ? 'success' : 'error';
$message = $saved ? "New email successfully changed." : "Verification token didn't match or expire.";
$message = $saved ? 'Die EMail wurde erfolgreich geändert.' : 'Der Bestätigungs-Token stimmt nicht oder ist abgelaufen.';
if ($user->role == 'student') {
return redirect()->route('student.index', ['tab' => 'settings'])

View File

@ -45,16 +45,16 @@
<body>
<h1 style="font-size: 1.5em; font-weight: 600; margin-bottom: 1em;">
Email Change Request
E-Mail-Änderung
</h1>
<p style="margin-bottom: 1em;">
Hello, {{ $user->name }}!
Hallo, {{ $user->name }}!
</p>
<p style="margin-bottom: 1.5em;">
We received a request to update the email address for your {{ config('mail.from.name') }} account. To complete
this change, please verify your new email address by clicking the button below:
Wir haben eine Anfrage erhalten, die EMail-Adresse für dein {{ config('mail.from.name') }}-Konto zu ändern. Um die
Änderung abzuschließen, bestätige bitte deine neue EMail-Adresse, indem du auf den untenstehenden Button klickst:
</p>
@ -62,21 +62,21 @@
href="{{ $verificationUrl }}"
style="display: inline-block; padding: 0.75em 1.5em; background-color: #0969da; color: #fff; border-radius: 0.5em; text-decoration: none; font-weight: 600; margin-bottom: 1.5em;"
>
Verify New Email Address
Neue E-Mail-Adresse bestätigen
</a>
<p style="margin-bottom: 1em;">
This verification link will expire in 5 minutes.
Dieser Bestätigungslink läuft in 5 Minuten ab.
</p>
<p style="margin-bottom: 1em;">
If you did not request this change, please secure your account by changing your password immediately and contact
our support team.
Wenn du diese Änderung nicht angefordert hast, sichere bitte sofort dein Konto, indem du dein Passwort änderst, und
kontaktiere unser Support-Team.
</p>
<p style="margin: 2em 0 0;">
Thanks,<br>
Vielen Dank,<br>
{{ config('mail.from.name') }} Team
</p>
</body>