diff --git a/modules/monitoring/application/views/scripts/process/info.phtml b/modules/monitoring/application/views/scripts/process/info.phtml index 350966c49..8fb9bd0e3 100644 --- a/modules/monitoring/application/views/scripts/process/info.phtml +++ b/modules/monitoring/application/views/scripts/process/info.phtml @@ -10,28 +10,33 @@ $cf = $this->getHelper('CommandForm');
Backend = $this->backendName; ?> -= $ps->is_currently_running === '1' ? sprintf('has been running with PID %d ', $ps->process_id) . $this->prefixedTimeSince($ps->program_start_time) : 'is not running'; ?>. += $ps->is_currently_running === '1' + ? sprintf( + $this->translate('has been running with PID %d '), + $ps->process_id + ) . $this->prefixedTimeSince($ps->program_start_time) + : $this->translate('is not running'); ?>.
Last status update | += $this->translate('Last status update'); ?> | = $this->timeSince($ps->status_update_time) ?> ago | |
---|---|---|---|
Last check command | += $this->translate('Last check command'); ?> | = $this->timeSince($ps->last_command_check) ?> ago | |
Global host event handler | -= $ps->global_host_event_handler ? $ps->global_host_event_handler : 'Not set' ?> | += $this->translate('Global host event handler'); ?> | += $ps->global_host_event_handler ? $ps->global_host_event_handler : $this->translate('Not set'); ?> |
Global service event handler | -= $ps->global_service_event_handler ? $ps->global_service_event_handler : 'Not set' ?> | += $this->translate('Global service event handler'); ?> | += $ps->global_service_event_handler ? $ps->global_service_event_handler : $this->translate('Not set'); ?> |
Notifications enabled | += $this->translate('Notifications enabled'); ?> | = $cf->toggleSubmitForm( '', $ps->notifications_enabled, @@ -41,15 +46,18 @@ $cf = $this->getHelper('CommandForm'); array('global' => '1') ) ?> notifications_enabled === '1'): ?> - Temporarily disable + + = $this->translate('Temporarily disable'); ?> + disable_notif_expire_time): ?> -Will be re-enabled in = $this->timeUntil($ps->disable_notif_expire_time) ?> += sprintf($this->translate('Will be re-enabled in %s'), '' . $this->timeUntil($ps->disable_notif_expire_time) . ''); ?> | |
Execute active service checks | += $this->translate('Execute active service checks'); ?> | = $cf->toggleSubmitForm( '', $ps->active_service_checks_enabled, @@ -60,7 +68,7 @@ Will be re-enabled in = $this->timeUntil($ps->disable_notif_expire_tim ) ?> | |
Accept passive service checks | += $this->translate('Accept passive service checks'); ?> | = $cf->toggleSubmitForm( '', $ps->passive_service_checks_enabled, @@ -71,7 +79,7 @@ Will be re-enabled in = $this->timeUntil($ps->disable_notif_expire_tim ) ?> | |
Execute active host checks | += $this->translate('Execute active host checks'); ?> | = $cf->toggleSubmitForm( '', $ps->active_host_checks_enabled, @@ -82,7 +90,7 @@ Will be re-enabled in = $this->timeUntil($ps->disable_notif_expire_tim ) ?> | |
Accept passive host checks | += $this->translate('Accept passive host checks'); ?> | = $cf->toggleSubmitForm( '', $ps->passive_host_checks_enabled, @@ -93,7 +101,7 @@ Will be re-enabled in = $this->timeUntil($ps->disable_notif_expire_tim ) ?> | |
Eventhandlers enabled | += $this->translate('Eventhandlers enabled'); ?> | = $cf->toggleSubmitForm( '', $ps->event_handlers_enabled, @@ -104,7 +112,7 @@ Will be re-enabled in = $this->timeUntil($ps->disable_notif_expire_tim ) ?> | |
Obsessing over host checks | += $this->translate('Obsessing over host checks'); ?> | = $cf->toggleSubmitForm( '', $ps->obsess_over_hosts, @@ -115,7 +123,7 @@ Will be re-enabled in = $this->timeUntil($ps->disable_notif_expire_tim ) ?> | |
Obsessing over service checks | += $this->translate('Obsessing over service checks'); ?> | = $cf->toggleSubmitForm( '', $ps->obsess_over_services, @@ -126,7 +134,7 @@ Will be re-enabled in = $this->timeUntil($ps->disable_notif_expire_tim ) ?> | |
Flap detection enabled | += $this->translate('Flap detection enabled'); ?> | = $cf->toggleSubmitForm( '', $ps->flap_detection_enabled, @@ -137,7 +145,7 @@ Will be re-enabled in = $this->timeUntil($ps->disable_notif_expire_tim ) ?> | |
Process performance data | += $this->translate('Process performance data'); ?> | = $cf->toggleSubmitForm( '', $ps->process_performance_data, @@ -148,17 +156,17 @@ Will be re-enabled in = $this->timeUntil($ps->disable_notif_expire_tim ) ?> | |
Monitoring Process | += $this->translate('Monitoring Process'); ?> | = $cf->labelSubmitForm( - 'Restart', - 'Restart the monitoring process', + $this->translate('Restart'), + $this->translate('Restart the monitoring process'), '', 'restartprocess' ) ?> |