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:
@@ -34,7 +34,14 @@ class UserWaiting extends Mailable
|
||||
*/
|
||||
public function build()
|
||||
{
|
||||
return $this->subject($this->waitingUser . ' wants to use ' . $this->item->name)
|
||||
->markdown('emails.userWaiting');
|
||||
return $this->subject(
|
||||
\Lang::getFromJson(
|
||||
':waitinguser wants to use :itemname',
|
||||
[
|
||||
'waitinguser' => $this->waitingUser,
|
||||
'itemname' => $this->item->name
|
||||
]
|
||||
)
|
||||
)->markdown('emails.userWaiting');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user