helpers/MonitoringState: translate 'since'
This commit is contained in:
parent
13d3b81728
commit
e5ac319cbb
|
@ -95,8 +95,11 @@ class Zend_View_Helper_MonitoringState extends Zend_View_Helper_Abstract
|
||||||
*/
|
*/
|
||||||
public function getStateTitle($object, $type)
|
public function getStateTitle($object, $type)
|
||||||
{
|
{
|
||||||
return strtoupper($this->monitoringState($object, $type))
|
return sprintf(
|
||||||
. ' since '
|
'%s %s %s',
|
||||||
. date('Y-m-d H:i:s', $object->{$type.'_last_state_change'});
|
$this->view->translate(strtoupper($this->monitoringState($object, $type))),
|
||||||
|
$this->view->translate('since'),
|
||||||
|
date('Y-m-d H:i:s', $object->{$type.'_last_state_change'})
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue