close #422 Added: Notification language text
This commit is contained in:
parent
23132d848c
commit
2a1252e6fc
11
resources/lang/en-GB/notifications.php
Normal file
11
resources/lang/en-GB/notifications.php
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'whoops' => 'Whoops!',
|
||||||
|
'hello' => 'Hello!',
|
||||||
|
'salutation' => 'Regards,<br> :company_name',
|
||||||
|
'subcopy' => 'If you’re having trouble clicking the ":text" button, copy and paste the URL below
|
||||||
|
into your web browser: [:url](:url)',
|
||||||
|
|
||||||
|
];
|
@ -4,9 +4,9 @@
|
|||||||
# {{ $greeting }}
|
# {{ $greeting }}
|
||||||
@else
|
@else
|
||||||
@if ($level == 'error')
|
@if ($level == 'error')
|
||||||
# Whoops!
|
# {{ trans('notifications.whoops') }}
|
||||||
@else
|
@else
|
||||||
# Hello!
|
# {{ trans('notifications.hello') }}
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@ -45,14 +45,13 @@
|
|||||||
@if (! empty($salutation))
|
@if (! empty($salutation))
|
||||||
{{ $salutation }}
|
{{ $salutation }}
|
||||||
@else
|
@else
|
||||||
Regards,<br>{{ setting('general.company_name', config('app.name')) }}
|
{!! trans('notifications.salutation', ['company_name' => setting('general.company_name', config('app.name'))]) !!}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<!-- Subcopy -->
|
<!-- Subcopy -->
|
||||||
@isset($actionText)
|
@isset($actionText)
|
||||||
@component('mail::subcopy')
|
@component('mail::subcopy')
|
||||||
If you’re having trouble clicking the "{{ $actionText }}" button, copy and paste the URL below
|
{!! trans('notifications.subcopy', ['text' => $actionText, 'url' => $actionUrl]) !!}
|
||||||
into your web browser: [{{ $actionUrl }}]({{ $actionUrl }})
|
|
||||||
@endcomponent
|
@endcomponent
|
||||||
@endisset
|
@endisset
|
||||||
@endcomponent
|
@endcomponent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user