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->icon('reschedule') ?>
<?= $this->translate('Commands') ?> <?= $this->translate('Commands') ?>
</h3> </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): ?> <?php if (($hostCount = count($objects)) === 0): ?>
<?= $this->translate('No hosts matching the filter'); ?> <?= $this->translate('No hosts matching the filter'); ?>
@ -85,7 +85,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
<p> <p>
<?= sprintf( <?= 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>' '<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): ?> <?php if (($serviceCount = count($objects)) === 0): ?>
<?= $this->translate('No services matching the filter'); ?> <?= $this->translate('No services matching the filter'); ?>
<?php else: ?> <?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> <p>
<div> <div>
@ -77,7 +77,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
</h3> </h3>
<p><?= sprintf(t('There are %s unhandled problems. ' . <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>') ?> '<span class="badge badge-critical">' . $unhandledCount . '</span>') ?>
<div> <div>