Use Controller::translate() instead of mt() in the AlertsummaryController

refs #7330
This commit is contained in:
Eric Lippmann 2015-03-30 12:04:58 +02:00
parent be53f4f9bc
commit 83408ee21b

View File

@ -533,12 +533,12 @@ class Monitoring_AlertsummaryController extends Controller
$box = new SelectBox( $box = new SelectBox(
'intervalBox', 'intervalBox',
array( array(
'1d' => mt('monitoring', 'One day'), '1d' => $this->translate('One day'),
'1w' => mt('monitoring', 'One week'), '1w' => $this->translate('One week'),
'1m' => mt('monitoring', 'One month'), '1m' => $this->translate('One month'),
'1y' => mt('monitoring', 'One year') '1y' => $this->translate('One year')
), ),
mt('monitoring', 'Report interval'), $this->translate('Report interval'),
'interval' 'interval'
); );
$box->applyRequest($this->getRequest()); $box->applyRequest($this->getRequest());