Translating success message

parent 69745be4
...@@ -24,7 +24,7 @@ class UpdatePageStatusController extends Controller ...@@ -24,7 +24,7 @@ class UpdatePageStatusController extends Controller
$this->handleAction($request->get('action'), $pageIds); $this->handleAction($request->get('action'), $pageIds);
return response()->json(['errors' => false, 'message' => 'Pages were updated']); return response()->json(['errors' => false, 'message' => trans('page::pages.pages were updated')]);
} }
private function handleAction(string $action, array $pageIds) private function handleAction(string $action, array $pageIds)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment