Translate error template

- Fix #1001
- Translate error contact text
This commit is contained in:
Holger Lösken 2016-07-21 12:52:33 +02:00
parent 660ffab0c5
commit 97d6fcbf06
2 changed files with 13 additions and 12 deletions

View File

@ -2044,7 +2044,8 @@ $LANG = array(
'payment_error_code' => 'There was an error processing your payment [:code]. Please try again later.',
'standard_fees_apply' => 'Standard fees apply: 2.9% + $0.30 per successful charge.',
'limit_import_rows' => 'Data needs to be imported in batches of :count rows or less',
'error_title' => 'Something went wrong',
'error_contact_text' => 'If you\'d like help please email us at :mailaddress',
);

View File

@ -2,18 +2,18 @@
@section('content')
<p>&nbsp;<p>
<p>&nbsp;<p>
<p>&nbsp;<p>
<p>&nbsp;<p>
<div class="well">
<div class="container" style="min-height:400px">
<h3>Something went wrong...</h3>
<h4>{{ $error }}</h4>
<h4>If you'd like help please email us at {{ env('MAIL_USERNAME') }}.</h4>
</div>
</div>
<div class="well">
<div class="container" style="min-height:400px">
<h3>{{ trans('texts.error_title') }}...</h3>
<h4>{{ $error }}</h4>
<h4>{{ trans('texts.error_contact_text', ['mailaddress' => env('MAIL_USERNAME')]) }}</h4>
</div>
</div>
<p>&nbsp;<p>
<p>&nbsp;<p>
<p>&nbsp;<p>
<p>&nbsp;<p>
@stop