password reset translation

This commit is contained in:
Mehmet ÇOBAN 2018-05-21 15:26:19 +03:00
parent 99178a3887
commit c42d8723b0
2 changed files with 9 additions and 3 deletions

View File

@ -46,8 +46,8 @@ class Reset extends Notification
setting(['general.company_name' => config('app.name')]); setting(['general.company_name' => config('app.name')]);
return (new MailMessage) return (new MailMessage)
->line('You are receiving this email because we received a password reset request for your account.') ->line(trans('auth.notification.message_1'))
->action('Reset Password', url('auth/reset', $this->token, true)) ->action(trans('auth.notification.button'), url('auth/reset', $this->token, true))
->line('If you did not request a password reset, no further action is required.'); ->line(trans('auth.notification.message_2'));
} }
} }

View File

@ -27,4 +27,10 @@ return [
'disabled' => 'This account is disabled. Please, contact the system administrator.', 'disabled' => 'This account is disabled. Please, contact the system administrator.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
'notification' => [
'message_1' => 'You are receiving this email because we received a password reset request for your account.',
'message_2' => 'If you did not request a password reset, no further action is required.',
'button' => 'Reset Password',
],
]; ];