diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 8efb410c2b8d..ca0be9d7527e 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2426,6 +2426,8 @@ $LANG = array( 'logo_warning_fileinfo' => 'Warning: To support gifs the fileinfo PHP extension needs to be enabled.', 'logo_warning_invalid' => 'There was a problem reading the image file, please try a different format.', + 'error_refresh_page' => 'An error occurred, please refresh the page and try again.', + ); return $LANG; diff --git a/resources/views/invoices/view.blade.php b/resources/views/invoices/view.blade.php index c1d72289eb94..d35f5530c48f 100644 --- a/resources/views/invoices/view.blade.php +++ b/resources/views/invoices/view.blade.php @@ -259,7 +259,7 @@ redirectToPayment(); }, error: function(response) { - // TODO + alert("{{ trans('texts.error_refresh_page') }}"); } }); }