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 }}
|
||||
@else
|
||||
@if ($level == 'error')
|
||||
# Whoops!
|
||||
# {{ trans('notifications.whoops') }}
|
||||
@else
|
||||
# Hello!
|
||||
# {{ trans('notifications.hello') }}
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@ -45,14 +45,13 @@
|
||||
@if (! empty($salutation))
|
||||
{{ $salutation }}
|
||||
@else
|
||||
Regards,<br>{{ setting('general.company_name', config('app.name')) }}
|
||||
{!! trans('notifications.salutation', ['company_name' => setting('general.company_name', config('app.name'))]) !!}
|
||||
@endif
|
||||
|
||||
<!-- Subcopy -->
|
||||
@isset($actionText)
|
||||
@component('mail::subcopy')
|
||||
If you’re having trouble clicking the "{{ $actionText }}" button, copy and paste the URL below
|
||||
into your web browser: [{{ $actionUrl }}]({{ $actionUrl }})
|
||||
{!! trans('notifications.subcopy', ['text' => $actionText, 'url' => $actionUrl]) !!}
|
||||
@endcomponent
|
||||
@endisset
|
||||
@endcomponent
|
||||
|
Loading…
x
Reference in New Issue
Block a user