More translations
This commit is contained in:
committed by
Nabeel Shahzad
parent
89ebcbdb10
commit
81c148fc4d
@@ -3,7 +3,7 @@
|
||||
if (! empty($greeting)) {
|
||||
echo $greeting, "\n\n";
|
||||
} else {
|
||||
echo $level == 'error' ? 'Whoops!' : 'Hello!', "\n\n";
|
||||
echo $level == 'error' ? trans('frontend.emails.whoops').'!' : trans('frontend.emails.hello').',', "\n\n";
|
||||
}
|
||||
|
||||
if (! empty($introLines)) {
|
||||
@@ -18,5 +18,5 @@ if (! empty($outroLines)) {
|
||||
echo implode("\n", $outroLines), "\n\n";
|
||||
}
|
||||
|
||||
echo 'Regards,', "\n";
|
||||
echo trans('frontend.emails.regards).',', "\n";
|
||||
echo config('app.name'), "\n";
|
||||
|
||||
@@ -85,9 +85,9 @@ $style = [
|
||||
<!-- Greeting -->
|
||||
<h1 style="{{ $style['header-1'] }}">
|
||||
@if ($level == 'error')
|
||||
Whoops!
|
||||
@lang('frontend.emails.whoops')!
|
||||
@else
|
||||
Hello!
|
||||
@lang('frontend.emails.hello'),
|
||||
@endif
|
||||
</h1>
|
||||
|
||||
@@ -136,7 +136,7 @@ $style = [
|
||||
|
||||
<!-- Salutation -->
|
||||
<p style="{{ $style['paragraph'] }}">
|
||||
Regards,<br>{{ config('app.name') }}
|
||||
@lang('frontend.emails.regards'),<br>{{ config('app.name') }}
|
||||
</p>
|
||||
|
||||
<!-- Sub Copy -->
|
||||
@@ -145,8 +145,9 @@ $style = [
|
||||
<tr>
|
||||
<td style="{{ $fontFamily }}">
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
If you’re having trouble clicking the "{{ $actionText }}" button,
|
||||
copy and paste the URL below into your web browser:
|
||||
@foreach(trans('frontend.emails.buttontroubles' as $line)
|
||||
{{ str_replace(':actiontext', $actionText, $line) }}
|
||||
@endforeach
|
||||
</p>
|
||||
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
@@ -173,7 +174,7 @@ $style = [
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
© {{ date('Y') }}
|
||||
<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ config('app.name') }}</a>.
|
||||
All rights reserved.
|
||||
@lang(frontend.emails.allrightsreserved')
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user