diff --git a/app/Notifications/ResetPasswordNotification.php b/app/Notifications/ResetPasswordNotification.php index 6d813c1..2e05f0d 100644 --- a/app/Notifications/ResetPasswordNotification.php +++ b/app/Notifications/ResetPasswordNotification.php @@ -33,14 +33,12 @@ class ResetPasswordNotification extends Notification public function toMail(object $notifiable): MailMessage { return (new MailMessage) - ->subject(Lang::get('Benachrichtigung zum Zurücksetzen des Passworts')) - ->greeting(Lang::get('Hallo')." {$notifiable->name},") - ->line(Lang::get('Sie erhalten diese E-Mail, weil wir eine Anfrage zum Zurücksetzen des Passworts für Ihr Konto erhalten haben.')) - ->action(Lang::get('Passwort Zurücksetzen'), $this->resetUrl($notifiable)) - ->line(Lang::get('Dieser Link zum Zurücksetzen des Passworts läuft in 60 Minuten ab.')) - ->line(Lang::get('Wenn Sie keine Passwortzurücksetzung beantragt haben, sind keine weiteren Maßnahmen erforderlich.')) - ->line(Lang::get('Mit freundlichen Grüßen')) - ->salutation(Lang::get('Nutzwerte Support Team')); + ->subject(Lang::get('Reset Password Notification')) + ->greeting(Lang::get('Hello')." {$notifiable->name},") + ->line(Lang::get('You are receiving this email because we received a password reset request for your account.')) + ->action(Lang::get('Reset Password'), $this->resetUrl($notifiable)) + ->line(Lang::get('This password reset link will expire in :count minutes.', ['count' => config('auth.passwords.'.config('auth.defaults.passwords').'.expire')])) + ->line(Lang::get('If you did not request a password reset, no further action is required.')); } protected function resetUrl(mixed $notifiable): string diff --git a/lang/de.json b/lang/de.json index 078a673..a2ceffa 100644 --- a/lang/de.json +++ b/lang/de.json @@ -1,6 +1,6 @@ { "A fresh verification link has been sent to your email address.": "Ein neuer Bestätigungslink wurde an Ihre E-Mail-Adresse gesendet.", - "All rights reserved.": "Alle Rechte vorbehalten!", + "All rights reserved.": "Alle Rechte vorbehalten.", "Before proceeding, please check your email for a verification link.": "Bevor Sie fortfahren, überprüfen Sie bitte Ihre E-Mails auf einen Bestätigungslink.", "click here to request another": "Klicken Sie hier, um eine weitere Anfrage zu stellen.", "Confirm Password": "Passwort bestätigen",