Skip to content

Commit

Permalink
Merge pull request #2640 from CachetHQ/rename-schedules
Browse files Browse the repository at this point in the history
Renamed Scheduled Maintenance to just Maintenance
  • Loading branch information
jbrooksuk committed Jul 18, 2017
2 parents a23b0c4 + 964eaa3 commit 285ca17
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions app/Http/Controllers/Dashboard/ScheduleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function showIndex()
{
$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);
}
Expand All @@ -68,7 +68,7 @@ public function showAddSchedule()
{
$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);
}
Expand Down Expand Up @@ -111,7 +111,7 @@ public function showEditSchedule(Schedule $schedule)
{
$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);
Expand Down
2 changes: 1 addition & 1 deletion resources/lang/en/cachet.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'none' => 'No incidents reported',
'past' => 'Past Incidents',
'stickied' => 'Stickied Incidents',
'scheduled' => 'Scheduled Maintenance',
'scheduled' => 'Maintenance',
'scheduled_at' => ', scheduled :timestamp',
'posted' => 'Posted :timestamp',
'status' => [
Expand Down
22 changes: 11 additions & 11 deletions resources/lang/en/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// 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 <strong>:count</strong> incidents.',
'incident-create-template' => 'Create Template',
Expand Down Expand Up @@ -65,22 +65,22 @@

// Incident Maintenance
'schedule' => [
'schedule' => 'Scheduled Maintenance',
'logged' => '{0} There are no schedules, good work.|You have logged one schedule.|You have reported <strong>:count</strong> schedules.',
'schedule' => 'Maintenance',
'logged' => '{0} There has been no Maintenance, good work.|[1] You have logged one schedule.|[2,Inf] You have reported <strong>:count</strong> 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.',
],
],

Expand Down

0 comments on commit 285ca17

Please sign in to comment.