From 16db7619e622f668e6acf1f27ccd548565860dfc Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 10 May 2017 10:42:33 +0300 Subject: [PATCH] Fix translation --- app/Http/Controllers/UserController.php | 2 +- resources/lang/en/texts.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 0dd9fab0c..1bb38f4eb 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -279,7 +279,7 @@ class UserController extends BaseController return Redirect::to($url)->with('message', $notice_msg); } } else { - $error_msg = trans('texts.security.wrong_confirmation'); + $error_msg = trans('texts.wrong_confirmation'); return Redirect::to('/login')->with('error', $error_msg); } diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index d105b4e8f..66bab4476 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2493,7 +2493,8 @@ $LANG = array( 'add_documents_to_invoice' => 'Add documents to invoice', 'mark_expense_paid' => 'Mark paid', 'white_label_license_error' => 'Failed to validate the license, check storage/logs/laravel-error.log for more details.', - 'plan_price' => 'Plan Price' + 'plan_price' => 'Plan Price', + 'wrong_confirmation' => 'Incorrect confirmation code', );