Fix inconsistencies in text messages

refs #8565
This commit is contained in:
Matthias Jentsch 2015-03-06 15:01:52 +01:00
parent 4724eb907f
commit c2c9e49df4
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
<?= $this->icon('reschedule') ?>
<?= $this->translate('Commands') ?>
</h3>
<?= sprintf(t('Issue commands on all %d selected hosts:'), count($objects)) ?>
<?= sprintf(t('Issue commands to all %d selected hosts:'), count($objects)) ?>
<?php if (($hostCount = count($objects)) === 0): ?>
<?= $this->translate('No hosts matching the filter'); ?>
@ -85,7 +85,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
<p>
<?= sprintf(
t('There are %s unhandled problems. Issue commands to the problematic hosts.'),
t('There are %s unhandled problems. Issue commands to the problematic hosts:'),
'<span class="badge badge-critical">' . $unhandledCount . '</span>'
) ?>

View File

@ -21,7 +21,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
<?php if (($serviceCount = count($objects)) === 0): ?>
<?= $this->translate('No services matching the filter'); ?>
<?php else: ?>
<?= sprintf(t('Issue commands on all %d selected services:'), count($objects)) ?>
<?= sprintf(t('Issue commands to all %d selected services:'), count($objects)) ?>
<p>
<div>
@ -77,7 +77,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
</h3>
<p><?= sprintf(t('There are %s unhandled problems. ' .
'Issue commands to the problematic services.'),
'Issue commands to the problematic services:'),
'<span class="badge badge-critical">' . $unhandledCount . '</span>') ?>
<div>