diff --git a/app/FaveoStorage/lang/en/lang.php b/app/FaveoStorage/lang/en/lang.php index e4525d0625..b6e0746889 100644 --- a/app/FaveoStorage/lang/en/lang.php +++ b/app/FaveoStorage/lang/en/lang.php @@ -13,4 +13,5 @@ 'container' => 'Container', 'endpoint' => 'End Point', 'url_type' => 'Url Type', + 'save' => 'Save', ]; diff --git a/app/Http/Controllers/Admin/helpdesk/UrlSettingController.php b/app/Http/Controllers/Admin/helpdesk/UrlSettingController.php index ba5006d8fe..7bb7a6c445 100644 --- a/app/Http/Controllers/Admin/helpdesk/UrlSettingController.php +++ b/app/Http/Controllers/Admin/helpdesk/UrlSettingController.php @@ -36,7 +36,7 @@ public function postSettings(Request $request) $string = $string_www.$sting_ssl; $this->writeHtaccess($string); - return redirect()->back()->with('success', 'updated'); + return redirect()->back()->with('success', trans('lang.updated')); } catch (Exception $ex) { dd($ex); diff --git a/app/Http/Controllers/Common/SettingsController.php b/app/Http/Controllers/Common/SettingsController.php index fe62eaf313..8eded7a127 100644 --- a/app/Http/Controllers/Common/SettingsController.php +++ b/app/Http/Controllers/Common/SettingsController.php @@ -214,7 +214,7 @@ public function edit_social_buttons($id, Widgets $widgets, Request $request) try { $widget->save(); - return redirect()->back()->with('success', $widget->name.' Saved Successfully'); + return redirect()->back()->with('success', $widget->name.trans('lang.save-successful')); } catch (Exception $e) { return redirect()->back()->with('fails', $e->errorInfo[2]); } diff --git a/app/Http/Controllers/Job/QueueController.php b/app/Http/Controllers/Job/QueueController.php index fe5903ba08..3de39ba5dc 100644 --- a/app/Http/Controllers/Job/QueueController.php +++ b/app/Http/Controllers/Job/QueueController.php @@ -70,7 +70,7 @@ public function update($id, QueueRequest $request) } } - return redirect()->back()->with('success', 'Updated'); + return redirect()->back()->with('success',trans('lang.updated')); } catch (Exception $ex) { return redirect()->back()->with('fails', $ex->getMessage()); } @@ -95,7 +95,7 @@ public function activate($id) $queue->status = 1; $queue->save(); - return redirect()->back()->with('success', 'Activated'); + return redirect()->back()->with('success', trans('lang.activated')); } catch (Exception $ex) { return redirect()->back()->with('fails', $ex->getMessage()); } diff --git a/lang/ar/lang.php b/lang/ar/lang.php index 63a1210193..d694ae77f4 100644 --- a/lang/ar/lang.php +++ b/lang/ar/lang.php @@ -1605,7 +1605,7 @@ 'deleted-users' => 'المستخدمين المحذوفين', 'view-option' => 'خيارات العرض', 'accoutn-not-verified' => 'حساب المستخدم غير موثق', - 'enabled' => 'ممكّن', + 'enabled' => 'مفعل', 'disabled' => 'معطّل', 'user-account-is-deleted' => 'تم حذف حساب المستخدم هذا.', 'restore-user' => 'استعادة حساب المستخدم', @@ -1710,4 +1710,7 @@ 'delete_file' => 'حذف ملف', 'log_file_50M_please_download_it.' => 'ملف السجل أكبر من 50 ميجا، يرجى تنزيله.', 'support' => 'يدعم', + 'activated' => 'مفعل', + 'add-child' => 'إضافة طفل', + 'save-successful' => 'تم الحفظ بنجاح ', ]; diff --git a/lang/en/lang.php b/lang/en/lang.php index afee9fcf6a..564f43a45c 100755 --- a/lang/en/lang.php +++ b/lang/en/lang.php @@ -1682,4 +1682,8 @@ 'delete_file' => 'Delete file', 'log_file_50M_please_download_it.' => 'Log file >50M, please download it.', 'support' => 'Support', + 'optional' => 'Optional', + 'activated' => 'Activated', + 'add-child' => 'Add Child', + 'save-successful' => ' Saved Successfully', ]; diff --git a/resources/views/themes/default1/admin/helpdesk/manage/form/index.blade.php b/resources/views/themes/default1/admin/helpdesk/manage/form/index.blade.php index dcbe604093..b569fc0caf 100644 --- a/resources/views/themes/default1/admin/helpdesk/manage/form/index.blade.php +++ b/resources/views/themes/default1/admin/helpdesk/manage/form/index.blade.php @@ -73,7 +73,7 @@ class="nav-link active" {!! link_to_route('forms.show', Lang::get('lang.view_this_form') ,[$form->id],['id'=>'View','class'=>'btn btn-primary btn-sm']) !!}