From fccc2ffbcfe8e972f64037d1ad7c315902525d67 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Mon, 26 Jan 2015 14:17:48 +0100 Subject: [PATCH] Hosts list: use $this->translatePlural() --- .../monitoring/application/views/scripts/list/hosts.phtml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml index debef375c..3953db975 100644 --- a/modules/monitoring/application/views/scripts/list/hosts.phtml +++ b/modules/monitoring/application/views/scripts/list/hosts.phtml @@ -100,9 +100,11 @@ if ($hosts->count() === 0) { host_name ?> host_unhandled_services) && $host->host_unhandled_services > 0): ?> - (qlink( + host_unhandled_services), + $host->host_unhandled_services, + $host->host_name + ); ?>"> (qlink( sprintf( $this->translatePlural('%d unhandled service', '%d unhandled services', $host->host_unhandled_services), $host->host_unhandled_services),