Übersetze Mail-Vorlagen ins Deutsche (du-Form)
All checks were successful
Build & Push Docker Image / docker (push) Successful in 1m49s
All checks were successful
Build & Push Docker Image / docker (push) Successful in 1m49s
This commit is contained in:
parent
bf507baaff
commit
0aa2081a1d
@ -34,7 +34,7 @@ class EmailVerificationNotificationController extends Controller
|
|||||||
{
|
{
|
||||||
$this->accountService->changeEmail($request->validated(), Auth::user()->id);
|
$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();
|
$user = Auth::user();
|
||||||
$saved = $this->accountService->saveChangedEmail($request->token, $user->id);
|
$saved = $this->accountService->saveChangedEmail($request->token, $user->id);
|
||||||
$flash = $saved ? 'success' : 'error';
|
$flash = $saved ? 'success' : 'error';
|
||||||
$message = $saved ? "New email successfully changed." : "Verification token didn't match or expire.";
|
$message = $saved ? 'Die E‑Mail wurde erfolgreich geändert.' : 'Der Bestätigungs-Token stimmt nicht oder ist abgelaufen.';
|
||||||
|
|
||||||
if ($user->role == 'student') {
|
if ($user->role == 'student') {
|
||||||
return redirect()->route('student.index', ['tab' => 'settings'])
|
return redirect()->route('student.index', ['tab' => 'settings'])
|
||||||
|
|||||||
@ -45,16 +45,16 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1 style="font-size: 1.5em; font-weight: 600; margin-bottom: 1em;">
|
<h1 style="font-size: 1.5em; font-weight: 600; margin-bottom: 1em;">
|
||||||
Email Change Request
|
E-Mail-Änderung
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p style="margin-bottom: 1em;">
|
<p style="margin-bottom: 1em;">
|
||||||
Hello, {{ $user->name }}!
|
Hallo, {{ $user->name }}!
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p style="margin-bottom: 1.5em;">
|
<p style="margin-bottom: 1.5em;">
|
||||||
We received a request to update the email address for your {{ config('mail.from.name') }} account. To complete
|
Wir haben eine Anfrage erhalten, die E‑Mail-Adresse für dein {{ config('mail.from.name') }}-Konto zu ändern. Um die
|
||||||
this change, please verify your new email address by clicking the button below:
|
Änderung abzuschließen, bestätige bitte deine neue E‑Mail-Adresse, indem du auf den untenstehenden Button klickst:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
@ -62,21 +62,21 @@
|
|||||||
href="{{ $verificationUrl }}"
|
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;"
|
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>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-bottom: 1em;">
|
<p style="margin-bottom: 1em;">
|
||||||
This verification link will expire in 5 minutes.
|
Dieser Bestätigungslink läuft in 5 Minuten ab.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p style="margin-bottom: 1em;">
|
<p style="margin-bottom: 1em;">
|
||||||
If you did not request this change, please secure your account by changing your password immediately and contact
|
Wenn du diese Änderung nicht angefordert hast, sichere bitte sofort dein Konto, indem du dein Passwort änderst, und
|
||||||
our support team.
|
kontaktiere unser Support-Team.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p style="margin: 2em 0 0;">
|
<p style="margin: 2em 0 0;">
|
||||||
Thanks,<br>
|
Vielen Dank,<br>
|
||||||
{{ config('mail.from.name') }} Team
|
{{ config('mail.from.name') }} Team
|
||||||
</p>
|
</p>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user