diff --git a/modules/monitoring/application/views/helpers/Perfdata.php b/modules/monitoring/application/views/helpers/Perfdata.php index 41d903a2f..f669219aa 100644 --- a/modules/monitoring/application/views/helpers/Perfdata.php +++ b/modules/monitoring/application/views/helpers/Perfdata.php @@ -26,7 +26,15 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract $table = array( '' . implode( '', - array('', t('Label'), t('Value'), t('Min'), t('Max'), t('Warning'), t('Critical')) + array( + '', + $this->view->translate('Label'), + $this->view->translate('Value'), + $this->view->translate('Min'), + $this->view->translate('Max'), + $this->view->translate('Warning'), + $this->view->translate('Critical') + ) ) . '' ); foreach ($pieChartData as $perfdata) { @@ -61,7 +69,7 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract $table = array_slice ($table, 0, $limit); $results = array_slice ($results, 0, $limit); if ($count > $limit) { - $mess = sprintf(t('%d more ...'), $count - $limit); + $mess = sprintf($this->view->translate('%d more ...'), $count - $limit); $results[] = '...'; } }