From 97d6fcbf06990424a4b088ec47fb045330276ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Lo=CC=88sken?= Date: Thu, 21 Jul 2016 12:52:33 +0200 Subject: [PATCH] Translate error template - Fix #1001 - Translate error contact text --- resources/lang/en/texts.php | 3 ++- resources/views/error.blade.php | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 027d562629f0..b9dd10e92e6c 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -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', ); diff --git a/resources/views/error.blade.php b/resources/views/error.blade.php index ec409da311c4..6f6ff478c8f5 100644 --- a/resources/views/error.blade.php +++ b/resources/views/error.blade.php @@ -2,18 +2,18 @@ @section('content') -

 

-

 

+

 

+

 

-

-
-

Something went wrong...

-

{{ $error }}

-

If you'd like help please email us at {{ env('MAIL_USERNAME') }}.

-
-
+
+
+

{{ trans('texts.error_title') }}...

+

{{ $error }}

+

{{ trans('texts.error_contact_text', ['mailaddress' => env('MAIL_USERNAME')]) }}

+
+
-

 

-

 

+

 

+

 

@stop