= $this->qlink(
- $this->translate('Submit a passive check result'),
+ $this->translate('Submit passive check results'),
$processCheckResultAllLink,
null,
array('icon' => 'reply')
@@ -63,7 +63,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
= $this->qlink(
- $this->translate('Add a comment'),
+ $this->translate('Add comments'),
$addCommentLink,
null,
array('icon' => 'comment')
@@ -85,7 +85,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
= sprintf(
- t('There are %s unhandled problems. Issue commands to the problematic hosts:'),
+ $this->translate('There are %s unhandled problems. Issue commands to the problematic hosts:'),
'' . $unhandledCount . ''
) ?>
@@ -142,7 +142,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
0): ?>
-
= $this->translate('Downtimes') ?>
+
= $this->icon('plug', $this->translate('Downtimes'))?> =$this->translate('Downtimes')?>
= sprintf(
$this->translatePlural(
'%u Host currently in downtime.',
@@ -161,7 +161,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
getComments())) > 0): ?>
-
= $this->translate('Comments') ?>
+
= $this->icon('comment', $this->translate('Comments'))?> =$this->translate('Comments') ?>
= sprintf(
$this->translatePlural(
diff --git a/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml b/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml
index 39445e277..c2f016ceb 100644
--- a/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml
+++ b/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml
@@ -74,7 +74,7 @@ $hiddenRich = array();
- = sprintf(t('%d more ...'), count($hidden)) ?>
+ = sprintf($this->translate('%d more ...'), count($hidden)) ?>
|
diff --git a/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml b/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml
index fe23cde2c..4501f0e7e 100644
--- a/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml
+++ b/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml
@@ -34,7 +34,9 @@ use Icinga\Web\Url;
= Service::getStateText($service->service_state, true); ?>
|
+
+
service_handled && $service->service_state > 0): ?>
= $this->icon('attention-alt', $this->translate('Unhandled')) ?>
@@ -60,6 +62,7 @@ use Icinga\Web\Url;
service_last_comment) && $service->service_last_comment !== null): ?>
= $this->icon('comment', $this->translate('Last Comment: ') . $service->service_last_comment) ?>
+
|
= $this->escape($service->getName()); ?> |
= $this->escape($service->getHost()->getName()); ?> |
@@ -72,7 +75,7 @@ use Icinga\Web\Url;
- = sprintf(t('%d more ...'), count($hidden)) ?>
+ = sprintf($this->translate('%d more ...'), count($hidden)) ?>
|
diff --git a/modules/monitoring/application/views/scripts/services/show.phtml b/modules/monitoring/application/views/scripts/services/show.phtml
index d35125254..08e1737f3 100644
--- a/modules/monitoring/application/views/scripts/services/show.phtml
+++ b/modules/monitoring/application/views/scripts/services/show.phtml
@@ -21,7 +21,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
= $this->translate('No services matching the filter'); ?>
- = sprintf(t('Issue commands to all %d selected services:'), count($objects)) ?>
+ = sprintf($this->translate('Issue commands to all %d selected services:'), count($objects)) ?>
@@ -30,7 +30,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
= $this->qlink(
- $this->translate('Reschedule the next check'),
+ $this->translate('Reschedule next checks'),
$rescheduleAllLink,
null,
array('icon' => 'reschedule')
@@ -39,7 +39,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
= $this->qlink(
- $this->translate('Schedule a downtime'),
+ $this->translate('Schedule downtimes'),
$downtimeAllLink,
null,
array('icon' => 'plug')
@@ -48,7 +48,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
= $this->qlink(
- $this->translate('Submit a passive check result'),
+ $this->translate('Submit passive check results'),
$processCheckResultAllLink,
null,
array('icon' => 'reply')
@@ -57,7 +57,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
= $this->qlink(
- $this->translate('Add a comment'),
+ $this->translate('Add comments'),
$addCommentLink,
null,
array('icon' => 'comment')
@@ -76,7 +76,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
) ?>
-
= sprintf(t('There are %s unhandled problems. ' .
+
= sprintf($this->translate('There are %s unhandled problems. ' .
'Issue commands to the problematic services:'),
'' . $unhandledCount . '') ?>
@@ -149,7 +149,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
getComments()) ?>
0): ?>
-
= $this->icon('comment') ?> = t('Comments') ?>
+
= $this->icon('comment') ?> = $this->translate('Comments') ?>
= sprintf(
$this->translatePlural(
'There is %d comment.',