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
1 changed files with 5 additions and 5 deletions

View File

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