Renamed Scheduled Maintenance to just Maintenance. Closes #2516

This commit is contained in:
James Brooks
2017-07-18 22:35:20 +01:00
parent a23b0c419a
commit 964eaa3ce0
6 changed files with 15 additions and 15 deletions

View File

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

View File

@@ -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' => [

View File

@@ -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 <strong>:count</strong> 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 <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.',
],
],