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:
2018-09-27 13:00:03 -03:00
parent 9a66b65f38
commit f6ab437889
28 changed files with 476 additions and 66 deletions

View File

@@ -1,15 +1,18 @@
@component('mail::message')
Hi, {{$username}},
&nbsp;<br>
&nbsp;<br>
#Good news: {{$item->name}} is available!
&nbsp;<br>
The item <em>{{$item->name}} ({{$item->product->name}})</em> is now available on **Share&nbsp;It**.
&nbsp;<br>
**Take It** before anyone else at the website:
{!! __('Hi, :username,', ['username' => $username]) !!}
#{!! __('Good news: :itemname is available!', ['itemname' => $item->name]) !!}
{!! __('The item <em>:itemname (:productname)</em> is now available on **Share&nbsp;It**.', ['itemname' => $item->name, 'productname' => $item->product->name]) !!}
{!! __('**Take It** before anyone else at the website:') !!}
@component('mail::button', ['url' => 'https://shareit.brunofontes.net/home'])
Share It!
{{ config('app.name') }}
@endcomponent
@endcomponent

View File

@@ -1,11 +1,15 @@
@component('mail::message')
Hello, {{$userWithItem}},
{!! __('Hi, :username,', ['username' => $userWithItem]) !!}
Are you still using {{$item->name}}?
We just want to let you know that {{$waitingUser}} asked us to be alerted when this item were available.
{!! __('Are you still using :itemname?', ['itemname' => $item->name]) !!}
{!! __('We just want to let you know that :waitinguser asked us to be alerted when this item were available.', ['waitinguser' => $waitingUser]) !!}
{!! __('So, if you are not using it anymore, please **Return It** at the website:') !!}
So, if you are not using it anymore, please **Return It** at the website:
@component('mail::button', ['url' => 'https://shareit.brunofontes.net/home'])
Share It!

View File

@@ -1,12 +1,17 @@
@component('mail::message')
# Welcome, {{$user->name}},
# @lang('Welcome, :username,', ['username' => $user->name])
Thank's for registering at **Share&nbsp;It!**
Your account was created, but you still need to activate it. We've sent you another e-mail and we are ready to go!
@lang("Thank's for registering at **Share It!**")
@lang("Your account was created, but you still need to activate it. We've sent you another e-mail and we are ready to go!")
@lang("And you? Are you ready to Share It with your friends?")
And you? Are you ready to Share It with your friends? :)
@component('mail::button', ['url' => 'https://shareit.brunofontes.net'])
Share It!
{{ config('app.name') }}
@endcomponent
@endcomponent