grammar fix

This commit is contained in:
denisdulici 2018-10-30 18:08:10 +03:00
parent 852913caed
commit de7dd930ab
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class ItemReminder extends Notification
public function toMail($notifiable) public function toMail($notifiable)
{ {
$message = (new MailMessage) $message = (new MailMessage)
->line(trans('items.notification.message.reminder', ['name' => $this->item->name])) ->line(trans('items.notification.message.reminder', ['name' => $this->item->name, 'quantity' => $this->item->quantity]))
->action(trans('items.notification.button'), url('items/items', $this->item->id, true)); ->action(trans('items.notification.button'), url('items/items', $this->item->id, true));
// Override per company as Laravel doesn't read config // Override per company as Laravel doesn't read config

View File

@ -9,7 +9,7 @@ return [
'notification' => [ 'notification' => [
'message' => [ 'message' => [
'reminder' => 'You are receiving this email because the :name is remind of stock.', 'reminder' => 'You are receiving this email because only :quantity of :name has remained.',
'out_of_stock' => 'You are receiving this email because the :name is running out of stock.', 'out_of_stock' => 'You are receiving this email because the :name is running out of stock.',
], ],
'button' => 'View Now', 'button' => 'View Now',