diff --git a/modules/monitoring/application/controllers/HostsController.php b/modules/monitoring/application/controllers/HostsController.php index c2661d01f..de1f063ac 100644 --- a/modules/monitoring/application/controllers/HostsController.php +++ b/modules/monitoring/application/controllers/HostsController.php @@ -72,8 +72,12 @@ class Monitoring_HostsController extends Controller $this->getTabs()->add( 'show', array( - 'title' => mt('monitoring', 'Hosts'), - 'url' => Url::fromRequest() + 'title' => sprintf( + $this->translate('Show summarized information for %u hosts'), + count($this->hostList) + ), + 'label' => $this->translate('Hosts'), + 'url' => Url::fromRequest() ) )->activate('show'); $this->setAutorefreshInterval(15); diff --git a/modules/monitoring/application/controllers/ServicesController.php b/modules/monitoring/application/controllers/ServicesController.php index 7d052e067..a74b61074 100644 --- a/modules/monitoring/application/controllers/ServicesController.php +++ b/modules/monitoring/application/controllers/ServicesController.php @@ -93,8 +93,12 @@ class Monitoring_ServicesController extends Controller $this->getTabs()->add( 'show', array( - 'title' => mt('monitoring', 'Services'), - 'url' => Url::fromRequest() + 'title' => sprintf( + $this->translate('Show summarized information for %u services'), + count($this->serviceList) + ), + 'label' => $this->translate('Services'), + 'url' => Url::fromRequest() ) )->activate('show'); $this->setAutorefreshInterval(15);