Wizard: Fix invalid call to self::translate()

refs #9654
This commit is contained in:
Johannes Meyer 2015-08-06 13:21:50 +02:00
parent 8c80839cbc
commit 4c00d5effc
1 changed files with 8 additions and 4 deletions

View File

@ -164,10 +164,12 @@ class WebWizard extends Wizard implements SetupWizard
/*} elseif ($page->getName() === 'setup_ldap_discovery_confirm') {
$page->setResourceConfig($this->getPageData('setup_ldap_discovery'));*/
} elseif ($page->getName() === 'setup_auth_db_resource') {
$page->addDescription($this->translate(
$page->addDescription(mt(
'setup',
'Now please configure the database resource where to store users and user groups.'
));
$page->addDescription($this->translate(
$page->addDescription(mt(
'setup',
'Note that the database itself does not need to exist at this time as'
. ' it is going to be created once the wizard is about to be finished.'
));
@ -195,10 +197,12 @@ class WebWizard extends Wizard implements SetupWizard
$page->setSubjectTitle('Icinga Web 2');
$page->setSummary($this->getSetup()->getSummary());
} elseif ($page->getName() === 'setup_config_db_resource') {
$page->addDescription($this->translate(
$page->addDescription(mt(
'setup',
'Now please configure the database resource where to store user preferences.'
));
$page->addDescription($this->translate(
$page->addDescription(mt(
'setup',
'Note that the database itself does not need to exist at this time as'
. ' it is going to be created once the wizard is about to be finished.'
));