mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 15:24:05 +02:00
Use Controller::translate() instead of mt() in the AlertsummaryController
refs #7330
This commit is contained in:
parent
be53f4f9bc
commit
83408ee21b
@ -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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user