mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +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(
|
||||
'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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user