From 0aa2081a1d81774c04b111c2a8857eda9aa5dbd5 Mon Sep 17 00:00:00 2001 From: Ahmed Darrazi Date: Thu, 18 Dec 2025 21:33:01 +0100 Subject: [PATCH] =?UTF-8?q?=C3=9Cbersetze=20Mail-Vorlagen=20ins=20Deutsche?= =?UTF-8?q?=20(du-Form)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...EmailVerificationNotificationController.php | 4 ++-- .../mail/email-change-verification.blade.php | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/Http/Controllers/Auth/EmailVerificationNotificationController.php b/app/Http/Controllers/Auth/EmailVerificationNotificationController.php index 7b4f22e9..fe442d05 100644 --- a/app/Http/Controllers/Auth/EmailVerificationNotificationController.php +++ b/app/Http/Controllers/Auth/EmailVerificationNotificationController.php @@ -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 E‑Mail wurde erfolgreich geändert.' : 'Der Bestätigungs-Token stimmt nicht oder ist abgelaufen.'; if ($user->role == 'student') { return redirect()->route('student.index', ['tab' => 'settings']) diff --git a/resources/views/mail/email-change-verification.blade.php b/resources/views/mail/email-change-verification.blade.php index 2a341bd8..a8cab394 100644 --- a/resources/views/mail/email-change-verification.blade.php +++ b/resources/views/mail/email-change-verification.blade.php @@ -45,16 +45,16 @@

- Email Change Request + E-Mail-Änderung

- Hello, {{ $user->name }}! + Hallo, {{ $user->name }}!

- 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 E‑Mail-Adresse für dein {{ config('mail.from.name') }}-Konto zu ändern. Um die + Änderung abzuschließen, bestätige bitte deine neue E‑Mail-Adresse, indem du auf den untenstehenden Button klickst:

@@ -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

- This verification link will expire in 5 minutes. + Dieser Bestätigungslink läuft in 5 Minuten ab.

- 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.

- Thanks,
+ Vielen Dank,
{{ config('mail.from.name') }} Team