我想翻譯郵件中的消息。在laravel中更改密碼重置郵件消息
vendor/laravel/framework/src/Illuminate/Auth/Notifications/ResetPassword.php
public function toMail()
{
return (new MailMessage)
->line([
'You are receiving this email because we received a password reset request for your account.',
'Click the button below to reset your password:',
])
->action('Reset Password', url('password/reset', $this->token))
->line('If you did not request a password reset, no further action is required.');
}
什麼是改變信息的最佳方式?肯定我不應該在這個文件中改變它..