diff --git a/app/Http/Controllers/Dashboard/ScheduleController.php b/app/Http/Controllers/Dashboard/ScheduleController.php index 6d9bcfaa..7bb70953 100644 --- a/app/Http/Controllers/Dashboard/ScheduleController.php +++ b/app/Http/Controllers/Dashboard/ScheduleController.php @@ -54,7 +54,7 @@ class ScheduleController extends Controller { $schedule = Schedule::orderBy('created_at')->get(); - return View::make('dashboard.schedule.index') + return View::make('dashboard.maintenance.index') ->withPageTitle(trans('dashboard.schedule.schedule').' - '.trans('dashboard.dashboard')) ->withSchedule($schedule); } @@ -68,7 +68,7 @@ class ScheduleController extends Controller { $incidentTemplates = IncidentTemplate::all(); - return View::make('dashboard.schedule.add') + return View::make('dashboard.maintenance.add') ->withPageTitle(trans('dashboard.schedule.add.title').' - '.trans('dashboard.dashboard')) ->withIncidentTemplates($incidentTemplates); } @@ -111,7 +111,7 @@ class ScheduleController extends Controller { $incidentTemplates = IncidentTemplate::all(); - return View::make('dashboard.schedule.edit') + return View::make('dashboard.maintenance.edit') ->withPageTitle(trans('dashboard.schedule.edit.title').' - '.trans('dashboard.dashboard')) ->withIncidentTemplates($incidentTemplates) ->withSchedule($schedule); diff --git a/resources/lang/en/cachet.php b/resources/lang/en/cachet.php index ed4ef82a..9ff6d87d 100644 --- a/resources/lang/en/cachet.php +++ b/resources/lang/en/cachet.php @@ -30,7 +30,7 @@ return [ 'none' => 'No incidents reported', 'past' => 'Past Incidents', 'stickied' => 'Stickied Incidents', - 'scheduled' => 'Scheduled Maintenance', + 'scheduled' => 'Maintenance', 'scheduled_at' => ', scheduled :timestamp', 'posted' => 'Posted :timestamp', 'status' => [ diff --git a/resources/lang/en/dashboard.php b/resources/lang/en/dashboard.php index 545ffa9f..93c731f7 100644 --- a/resources/lang/en/dashboard.php +++ b/resources/lang/en/dashboard.php @@ -16,7 +16,7 @@ return [ // Incidents 'incidents' => [ - 'title' => 'Incidents & Schedule', + 'title' => 'Incidents & Maintenance', 'incidents' => 'Incidents', 'logged' => '{0} There are no incidents, good work.|[1] You have logged one incident.|[2, Inf] You have reported :count incidents.', 'incident-create-template' => 'Create Template', @@ -65,22 +65,22 @@ return [ // Incident Maintenance 'schedule' => [ - 'schedule' => 'Scheduled Maintenance', - 'logged' => '{0} There are no schedules, good work.|You have logged one schedule.|You have reported :count schedules.', + 'schedule' => 'Maintenance', + 'logged' => '{0} There has been no Maintenance, good work.|[1] You have logged one schedule.|[2,Inf] You have reported :count schedules.', 'scheduled_at' => 'Scheduled at :timestamp', 'add' => [ - 'title' => 'Add Scheduled Maintenance', - 'success' => 'Schedule added.', - 'failure' => 'Something went wrong adding the schedule, please try again.', + 'title' => 'Add Maintenance', + 'success' => 'Maintenance added.', + 'failure' => 'Something went wrong adding the Maintenance, please try again.', ], 'edit' => [ - 'title' => 'Edit Scheduled Maintenance', - 'success' => 'Schedule has been updated!', - 'failure' => 'Something went wrong editing the schedule, please try again.', + 'title' => 'Edit Maintenance', + 'success' => 'Maintenance has been updated!', + 'failure' => 'Something went wrong editing the Maintenance, please try again.', ], 'delete' => [ - 'success' => 'The scheduled maintenance has been deleted and will not show on your status page.', - 'failure' => 'The scheduled maintenance could not be deleted, please try again.', + 'success' => 'The Maintenance has been deleted and will not show on your status page.', + 'failure' => 'The Maintenance could not be deleted, please try again.', ], ], diff --git a/resources/views/dashboard/schedule/add.blade.php b/resources/views/dashboard/maintenance/add.blade.php similarity index 100% rename from resources/views/dashboard/schedule/add.blade.php rename to resources/views/dashboard/maintenance/add.blade.php diff --git a/resources/views/dashboard/schedule/edit.blade.php b/resources/views/dashboard/maintenance/edit.blade.php similarity index 100% rename from resources/views/dashboard/schedule/edit.blade.php rename to resources/views/dashboard/maintenance/edit.blade.php diff --git a/resources/views/dashboard/schedule/index.blade.php b/resources/views/dashboard/maintenance/index.blade.php similarity index 100% rename from resources/views/dashboard/schedule/index.blade.php rename to resources/views/dashboard/maintenance/index.blade.php