From 4fc8850e25dbf77d9ad4e7e4a47163eb2da440f3 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 2 Feb 2015 16:48:13 +0100 Subject: [PATCH] Use transplatePlural for hosts in downtime and hosts having comments tooltips refs #8110 --- .../views/scripts/hosts/show.phtml | 30 ++++++++++++------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/modules/monitoring/application/views/scripts/hosts/show.phtml b/modules/monitoring/application/views/scripts/hosts/show.phtml index f21c09fd1..a5d36deb1 100644 --- a/modules/monitoring/application/views/scripts/hosts/show.phtml +++ b/modules/monitoring/application/views/scripts/hosts/show.phtml @@ -30,9 +30,9 @@
- " title="translate('List all %u hosts'), + $hostCount ); ?>"> translate('List all') ?> @@ -112,10 +112,14 @@

+ title="translatePlural( + 'List %u host which is in downtime', + 'List %u hosts which are in downtime', + $inDowntimeCount + ), + $inDowntimeCount + ) ?>"> icon('plug') ?> translatePlural( @@ -133,10 +137,14 @@

+ title="translatePlural( + 'List %u host having comments', + 'List %u hosts having comments', + $havingCommentsLink + ), + $havingCommentsLink + ) ?>"> icon('comment') ?> translatePlural(