Use Controller::translate() instead of just t()

refs #7330
This commit is contained in:
Eric Lippmann 2015-05-27 10:49:34 +02:00
parent ee5cc63fbc
commit ba8d7e0afd
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class DashboardController extends ActionController
$dashboard = $this->dashboard;
$form = new DashletForm();
$form->setDashboard($dashboard);
$form->setSubmitLabel(t('Update Dashlet'));
$form->setSubmitLabel($this->translate('Update Dashlet'));
if (! $this->_request->getParam('pane')) {
throw new Zend_Controller_Action_Exception(
'Missing parameter "pane"',