Skip to content

Commit

Permalink
password reset translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehmet ÇOBAN committed May 21, 2018
1 parent 99178a3 commit c42d872
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Notifications/Auth/Reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public function toMail($notifiable)
setting(['general.company_name' => config('app.name')]);

return (new MailMessage)
->line('You are receiving this email because we received a password reset request for your account.')
->action('Reset Password', 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_1'))
->action(trans('auth.notification.button'), url('auth/reset', $this->token, true))
->line(trans('auth.notification.message_2'));
}
}
6 changes: 6 additions & 0 deletions resources/lang/en-GB/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@
'disabled' => 'This account is disabled. Please, contact the system administrator.',
'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',
],

];

0 comments on commit c42d872

Please sign in to comment.