corrections

This commit is contained in:
KNaveenraj-ladybird
2023-10-20 09:30:03 +05:30
parent 22d01f83ca
commit 6885c0fe4e
9 changed files with 16 additions and 8 deletions

View File

@@ -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]);
}