diff --git a/modules/monitoring/application/views/scripts/list/hostgroups.phtml b/modules/monitoring/application/views/scripts/list/hostgroups.phtml index a15b5be7e..6238c1963 100644 --- a/modules/monitoring/application/views/scripts/list/hostgroups.phtml +++ b/modules/monitoring/application/views/scripts/list/hostgroups.phtml @@ -96,7 +96,15 @@ 'hostgroup' => $h->hostgroup, 'sort' => 'service_severity' ) - ); ?>" title="translate('Services OK'); ?>"> + ); ?>" title="translatePlural( + '%s Service OK in hostgroup `%s\'', + '%s Services OK in hostgroup `%s\'', + $h->services_ok + ), + $h->services_ok, + $h->hostgroup + ); ?>"> services_ok; ?> @@ -113,7 +121,15 @@ 'hostgroup' => $h->hostgroup, 'sort' => 'service_severity' ) - ); ?>" title="translate('Services CRITICAL Unhandled'); ?>"> + ); ?>" title="translatePlural( + '%s Service CRITICAL Unhandled in hostgroup `%s\'', + '%s Services CRITICAL Unhandled in hostgroup `%s\'', + $h->services_critical_unhandled + ), + $h->services_critical_unhandled, + $h->hostgroup + ); ?>"> services_critical_unhandled; ?> @@ -127,7 +143,15 @@ 'hostgroup' => $h->hostgroup, 'sort' => 'service_severity' ) - ); ?>" title="translate('Services CRITICAL Handled'); ?>"> + ); ?>" title="translatePlural( + '%s Service CRITICAL Handled in hostgroup `%s\'', + '%s Services CRITICAL Handled in hostgroup `%s\'', + $h->services_critical_handled + ), + $h->services_critical_handled, + $h->hostgroup + ); ?>"> services_critical_handled; ?> @@ -147,7 +171,15 @@ 'hostgroup' => $h->hostgroup, 'sort' => 'service_severity' ) - ); ?>" title="translate('Services UNKNOWN Unhandled'); ?>"> + ); ?>" title="translatePlural( + '%s Service UNKNOWN Unhandled in hostgroup `%s\'', + '%s Services UNKNOWN Unhandled in hostgroup `%s\'', + $h->services_unknown_unhandled + ), + $h->services_unknown_unhandled, + $h->hostgroup + ); ?>"> services_unknown_unhandled; ?> @@ -161,7 +193,15 @@ 'hostgroup' => $h->hostgroup, 'sort' => 'service_severity' ) - ); ?>" title="translate('Services UNKNOWN Handled'); ?>"> + ); ?>" title="translatePlural( + '%s Service UNKNOWN Handled in hostgroup `%s\'', + '%s Services UNKNOWN Handled in hostgroup `%s\'', + $h->services_unknown_handled + ), + $h->services_unknown_handled, + $h->hostgroup + ); ?>"> services_unknown_handled; ?> @@ -181,7 +221,15 @@ 'hostgroup' => $h->hostgroup, 'sort' => 'service_severity' ) - ); ?>" title="translate('Services WARNING Unhandled'); ?>"> + ); ?>" title="translatePlural( + '%s Service WARNING Unhandled in hostgroup `%s\'', + '%s Services WARNING Unhandled in hostgroup `%s\'', + $h->services_warning_unhandled + ), + $h->services_warning_unhandled, + $h->hostgroup + ); ?>"> services_warning_unhandled; ?> @@ -195,7 +243,15 @@ 'hostgroup' => $h->hostgroup, 'sort' => 'service_severity' ) - ); ?>" title="translate('Services WARNING Handled'); ?>"> + ); ?>" title="translatePlural( + '%s Service WARNING Handled in hostgroup `%s\'', + '%s Services WARNING Handled in hostgroup `%s\'', + $h->services_warning_handled + ), + $h->services_warning_handled, + $h->hostgroup + ); ?>"> services_warning_handled; ?> @@ -212,7 +268,15 @@ 'hostgroup' => $h->hostgroup, 'sort' => 'service_severity' ) - ); ?>" title="translate('Services PENDING'); ?>"> + ); ?>" title="translatePlural( + '%s Service PENDING in hostgroup `%s\'', + '%s Services PENDING in hostgroup `%s\'', + $h->services_pending + ), + $h->services_pending, + $h->hostgroup + ); ?>"> services_pending; ?>