Added not found page title lang
This commit is contained in:
@@ -56,6 +56,7 @@ return [
|
||||
'settings_saved' => 'Settings saved.',
|
||||
'settings_not_saved' => 'Settings could not be saved.',
|
||||
'not_found' => 'Page Not Found',
|
||||
'not_found_title' => 'That page went missing!',
|
||||
'not_found_message' => 'Sorry, but the page you are looking for has not been found. Check the URL for errors and try again.',
|
||||
'not_found_link' => 'Return to homepage',
|
||||
],
|
||||
|
||||
@@ -59,7 +59,7 @@ API::error(function (\Illuminate\Database\Eloquent\ModelNotFoundException $excep
|
||||
App::missing(function ($exception) {
|
||||
if (Request::is('dashboard*') or Request::is('api*')) {
|
||||
return Response::view('errors.404', [
|
||||
'pageTitle' => 'That page went missing!',
|
||||
'pageTitle' => Lang::get('cachet.dashboard.not_found_title'),
|
||||
], 404);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user