statusSummary->hosts_without_flap_detection || $this->statusSummary->services_without_flap_detection ||
$this->statusSummary->hosts_flapping || $this->statusSummary->services_flapping): ?>
-
= $this->translate('Flap detection'); ?>
+
= $this->translate('Flap Detection'); ?>
-
= $this->translate('Flap detection'); ?>
+
= $this->translate('Flap Detection'); ?>
@@ -17,7 +17,7 @@
'monitoring/list/hosts',
array('host_flap_detection_enabled' => 0)
); ?>" class="feature-highlight">
- = sprintf($this->translate('%d hosts disabled'), $this->statusSummary->hosts_without_flap_detection); ?>
+ = sprintf($this->translatePlural('%d Host Disabled', '%d Hosts Disabled', $this->statusSummary->hosts_without_flap_detection), $this->statusSummary->hosts_without_flap_detection); ?>
@@ -25,7 +25,7 @@
'monitoring/list/hosts',
array('host_flap_detection_enabled' => 1)
); ?>">
- = $this->translate('All hosts enabled'); ?>
+ = $this->translate('All Hosts Enabled'); ?>
statusSummary->hosts_flapping): ?>
@@ -33,7 +33,7 @@
'monitoring/list/hosts',
array('host_is_flapping' => 1)
); ?>" class="feature-highlight">
- = sprintf($this->translate('%d hosts flapping'), $this->statusSummary->hosts_flapping); ?>
+ = sprintf($this->translatePlural('%d Host Flapping', '%d Hosts Flapping', $this->statusSummary->hosts_flapping), $this->statusSummary->hosts_flapping); ?>
@@ -45,7 +45,7 @@
'monitoring/list/services',
array('service_flap_detection_enabled' => 0)
); ?>" class="feature-highlight">
- = sprintf($this->translate('%d services disabled'), $this->statusSummary->services_without_flap_detection); ?>
+ = sprintf($this->translatePlural('%d Service Disabled', '%d Services Disabled', $this->statusSummary->services_without_flap_detection), $this->statusSummary->services_without_flap_detection); ?>
@@ -53,7 +53,7 @@
'monitoring/list/services',
array('service_flap_detection_enabled' => 1)
); ?>">
- = $this->translate('All services enabled'); ?>
+ = $this->translate('All Services Enabled'); ?>
statusSummary->services_flapping): ?>
@@ -61,7 +61,7 @@
'monitoring/list/services',
array('service_is_flapping' => 1)
); ?>" class="feature-highlight">
- = sprintf($this->translate('%d services flapping'), $this->statusSummary->services_flapping); ?>
+ = sprintf($this->translatePlural('%d Service Flapping', '%d Services Flapping', $this->statusSummary->services_flapping), $this->statusSummary->services_flapping); ?>
@@ -84,7 +84,7 @@
'monitoring/list/hosts',
array('host_notifications_enabled' => 0)
); ?>" class="feature-highlight">
- = sprintf($this->translate('%d hosts disabled'), $this->statusSummary->hosts_not_triggering_notifications); ?>
+ = sprintf($this->translatePlural('%d Host Disabled', '%d Hosts Disabled', $this->statusSummary->hosts_not_triggering_notifications), $this->statusSummary->hosts_not_triggering_notifications); ?>
@@ -92,7 +92,7 @@
'monitoring/list/hosts',
array('host_notifications_enabled' => 1)
); ?>">
- = $this->translate('All hosts enabled'); ?>
+ = $this->translate('All Hosts Enabled'); ?>
@@ -104,7 +104,7 @@
'monitoring/list/services',
array('service_notifications_enabled' => 0)
); ?>" class="feature-highlight">
- = sprintf($this->translate('%d services disabled'), $this->statusSummary->services_not_triggering_notifications); ?>
+ = sprintf($this->translatePlural('%d Service Disabled', '%d Services Disabled', $this->statusSummary->services_not_triggering_notifications), $this->statusSummary->services_not_triggering_notifications); ?>
@@ -112,7 +112,7 @@
'monitoring/list/services',
array('service_notifications_enabled' => 1)
); ?>">
- = $this->translate('All services enabled'); ?>
+ = $this->translate('All Services Enabled'); ?>
@@ -121,9 +121,9 @@
statusSummary->hosts_not_processing_event_handlers || $this->statusSummary->services_not_processing_event_handlers): ?>
-
= $this->translate('Event handlers'); ?>
+
= $this->translate('Event Handlers'); ?>
-
= $this->translate('Event handlers'); ?>
+
= $this->translate('Event Handlers'); ?>
@@ -135,7 +135,7 @@
'monitoring/list/hosts',
array('host_event_handler_enabled' => 0)
); ?>" class="feature-highlight">
- = sprintf($this->translate('%d hosts disabled'), $this->statusSummary->hosts_not_processing_event_handlers); ?>
+ = sprintf($this->translatePlural('%d Host Disabled', '%d Hosts Disabled', $this->statusSummary->hosts_not_processing_event_handlers), $this->statusSummary->hosts_not_processing_event_handlers); ?>
@@ -143,7 +143,7 @@
'monitoring/list/hosts',
array('host_event_handler_enabled' => 1)
); ?>">
- = $this->translate('All hosts enabled'); ?>
+ = $this->translate('All Hosts Enabled'); ?>
@@ -155,7 +155,7 @@
'monitoring/list/services',
array('service_event_handler_enabled' => 0)
); ?>" class="feature-highlight">
- = sprintf($this->translate('%d services disabled'), $this->statusSummary->services_not_processing_event_handlers); ?>
+ = sprintf($this->translatePlural('%d Service Disabled', '%d Services Disabled', $this->statusSummary->services_not_processing_event_handlers), $this->statusSummary->services_not_processing_event_handlers); ?>
@@ -163,7 +163,7 @@
'monitoring/list/services',
array('service_event_handler_enabled' => 1)
); ?>">
- = $this->translate('All services enabled'); ?>
+ = $this->translate('All Services Enabled'); ?>
diff --git a/modules/monitoring/application/views/scripts/tactical/components/ok_hosts.phtml b/modules/monitoring/application/views/scripts/tactical/components/ok_hosts.phtml
index 0543f58c5..cc9328262 100644
--- a/modules/monitoring/application/views/scripts/tactical/components/ok_hosts.phtml
+++ b/modules/monitoring/application/views/scripts/tactical/components/ok_hosts.phtml
@@ -12,14 +12,14 @@ $service_problems = (
statusSummary->hosts_up): ?>
statusSummary->hosts_pending): ?>
diff --git a/modules/monitoring/application/views/scripts/tactical/components/parts/servicestatesummarybyhoststate.phtml b/modules/monitoring/application/views/scripts/tactical/components/parts/servicestatesummarybyhoststate.phtml
index cccfa094e..a5f3749e8 100644
--- a/modules/monitoring/application/views/scripts/tactical/components/parts/servicestatesummarybyhoststate.phtml
+++ b/modules/monitoring/application/views/scripts/tactical/components/parts/servicestatesummarybyhoststate.phtml
@@ -5,7 +5,7 @@
'monitoring/list/services',
array('host_problem' => $host_problem, 'service_state' => 2, 'service_acknowledged' => 0, 'service_in_downtime' => 0)
); ?>">
- = $services_critical_unhandled; ?> = $this->translate('CRITICAL', 'icinga.state') ?>
+ = sprintf($this->translatePlural('%d CRITICAL', '%d CRITICAL', $services_critical_unhandled, 'icinga.state'), $services_critical_unhandled); ?>
@@ -145,7 +145,7 @@
'monitoring/list/services',
array('host_problem' => $host_problem, 'service_state' => 3, 'service_acknowledged' => 0, 'service_in_downtime' => 0)
); ?>">
- = $services_unknown_unhandled; ?> = $this->translate('UNKNOWN', 'icinga.state') ?>
+ = sprintf($this->translatePlural('%d UNKNOWN', '%d UNKNOWN', $services_unknown_unhandled, 'icinga.state'), $services_unknown_unhandled) ?>
@@ -249,7 +249,7 @@
'monitoring/list/services',
array('host_problem' => $host_problem, 'service_state' => 99)
); ?>">
- = $services_pending; ?> = $this->translate('PENDING', 'icinga.state') ?>
+ = sprintf($this->translatePlural('%d PENDING', '%d PENDING', $services_pending, 'icinga.state'), $services_pending); ?>
href('monitoring/list/hosts', array('host_state' => 1)); ?>">
- = sprintf($this->translate('%d Hosts DOWN'), $this->statusSummary->hosts_down); ?>
+ = sprintf($this->translatePlural('%d Host DOWN', '%d Hosts DOWN', $this->statusSummary->hosts_down), $this->statusSummary->hosts_down); ?>
statusSummary->hosts_unreachable): ?>