Dashlet, Kickstart: fix translatable strings

fixes #2405
This commit is contained in:
Thomas Gelf 2021-12-13 13:36:26 +01:00
parent f35ded85fb
commit b70b19ad32
4 changed files with 5 additions and 6 deletions

View File

@ -75,7 +75,7 @@ class KickstartForm extends DirectorForm
$hint = Html::sprintf(
$this->translate('Your database looks good, you are ready to %s'),
Link::create(
'start working with the Icinga Director',
$this->translate('start working with the Icinga Director'),
'director',
null,
['data-base-target' => '_main']

View File

@ -10,7 +10,7 @@ class CommandTemplatesDashlet extends CheckCommandsDashlet
{
return $this->translate(
'External Notification Commands have been defined in your local Icinga 2'
. ' Configuration. '
. ' Configuration.'
);
}

View File

@ -10,7 +10,7 @@ class ExternalNotificationCommandsDashlet extends CheckCommandsDashlet
{
return $this->translate(
'External Notification Commands have been defined in your local Icinga 2'
. ' Configuration. '
. ' Configuration.'
);
}

View File

@ -16,9 +16,8 @@ class NotificationApplyDashlet extends Dashlet
public function getSummary()
{
return $this->translate(
'Apply notifications with specific properties according to given'
. ' rules.' . ' ' . $this->getApplySummaryText('notification')
);
'Apply notifications with specific properties according to given rules.'
) . ' ' . $this->getApplySummaryText('notification');
}
public function shouldBeShown()