corrections
This commit is contained in:
@@ -13,4 +13,5 @@ return [
|
||||
'container' => 'Container',
|
||||
'endpoint' => 'End Point',
|
||||
'url_type' => 'Url Type',
|
||||
'save' => 'Save',
|
||||
];
|
||||
|
@@ -36,7 +36,7 @@ class UrlSettingController extends Controller
|
||||
$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);
|
||||
|
||||
|
@@ -214,7 +214,7 @@ class SettingsController extends Controller
|
||||
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]);
|
||||
}
|
||||
|
@@ -70,7 +70,7 @@ class QueueController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
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 @@ class QueueController extends Controller
|
||||
$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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user