mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 16:00:54 -03:00
Added PTB Translation of emails and some pages
Now the main page, item page and e-mails are translated into Brazilian Portuguese
This commit is contained in:
@@ -32,7 +32,11 @@ class ItemAvailable extends Mailable
|
||||
*/
|
||||
public function build()
|
||||
{
|
||||
return $this->subject($this->item->name . ' is available!')
|
||||
->markdown('emails.itemAvailable');
|
||||
return $this->subject(
|
||||
\Lang::getFromJson(
|
||||
':itemname is available!',
|
||||
['itemname' => $this->item->name]
|
||||
)
|
||||
)->markdown('emails.itemAvailable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user