1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Merge pull request #1004 from codedge/#1001-Translate-error-template

Translate error template
This commit is contained in:
Hillel Coren 2016-07-21 14:37:01 +03:00 committed by GitHub
commit 83665a491d
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