diff --git a/modules/monitoring/application/views/scripts/list/eventhistory.phtml b/modules/monitoring/application/views/scripts/list/eventhistory.phtml index fb8e1b212..ba7034a1e 100644 --- a/modules/monitoring/application/views/scripts/list/eventhistory.phtml +++ b/modules/monitoring/application/views/scripts/list/eventhistory.phtml @@ -1,14 +1,14 @@
>
- = $this->util()->getHostStateName($object->host_state) ?> - since = $this->timeSince($object->host_last_state_change) ?> + = $this->translate($this->util()->getHostStateName($object->host_state)) ?> + = $this->translate('Since') ?> = $this->timeSince($object->host_last_state_change) ?> |
= $this->escape($object->host_name) ?>host_address && $object->host_address !== $object->host_name): ?> @@ -17,10 +17,10 @@ | |
- = $this->util()->getServiceStateName($object->service_state); ?> - since = $this->timeSince($object->service_last_state_change) ?> + = $this->translate($this->util()->getServiceStateName($object->service_state)) ?> + = $this->translate('Since') ?> = $this->timeSince($object->service_last_state_change) ?> |
- Service: = $this->escape($object->service_description) ?> + | = $this->translate('Service') ?>: = $this->escape($object->service_description) ?> = $this->render('show/components/statusIcons.phtml') ?> diff --git a/modules/monitoring/application/views/scripts/show/components/notifications.phtml b/modules/monitoring/application/views/scripts/show/components/notifications.phtml index 09c54539e..5c52e872a 100644 --- a/modules/monitoring/application/views/scripts/show/components/notifications.phtml +++ b/modules/monitoring/application/views/scripts/show/components/notifications.phtml @@ -7,7 +7,7 @@ if (in_array((int) $object->state, array(0, 99))) { ?> |
Notifications | += $this->translate('Notifications') ?> |
current_notification_number > 0) {
$this->translate('%s notications have been sent for this issue'),
$object->current_notification_number
) . ' ' . sprintf( - 'The last one occured %s ago', + $this->translate('The last one occured %s ago'), $this->timeSince($object->last_notification) ); } diff --git a/modules/monitoring/application/views/scripts/show/history.phtml b/modules/monitoring/application/views/scripts/show/history.phtml index 32e3cbdfb..2b7aa63d9 100644 --- a/modules/monitoring/application/views/scripts/show/history.phtml +++ b/modules/monitoring/application/views/scripts/show/history.phtml @@ -33,12 +33,12 @@ $states = array( ?>
= $this->render('show/components/header.phtml') ?>
-
history->count() === 0): ?>
-No History Available For This Object
+= $this->translate('No History Available For This Object' ?>
diff --git a/modules/monitoring/application/views/scripts/show/host.phtml b/modules/monitoring/application/views/scripts/show/host.phtml
index 189729192..e2f6ee1c4 100644
--- a/modules/monitoring/application/views/scripts/show/host.phtml
+++ b/modules/monitoring/application/views/scripts/show/host.phtml
@@ -1,6 +1,6 @@
This object's event history+= $this->translate("This object's event history") ?>= $this->paginationControl($this->history, null, null, array('preserve' => $this->preserve)); ?>
= $this->render('show/components/header.phtml') ?>
-
This host's current state+= $this->translate("This host's current state") ?>
= $this->render('show/components/output.phtml') ?>
diff --git a/modules/monitoring/application/views/scripts/show/service.phtml b/modules/monitoring/application/views/scripts/show/service.phtml
index 1c8f42c9f..19e5666e2 100644
--- a/modules/monitoring/application/views/scripts/show/service.phtml
+++ b/modules/monitoring/application/views/scripts/show/service.phtml
@@ -1,6 +1,6 @@
= $this->render('show/components/header.phtml') ?>
-
This service's current state+= $this->translate("This service's current state") ?>
= $this->render('show/components/output.phtml') ?>
diff --git a/modules/monitoring/application/views/scripts/show/services.phtml b/modules/monitoring/application/views/scripts/show/services.phtml
index 06aee393f..bd734b97b 100644
--- a/modules/monitoring/application/views/scripts/show/services.phtml
+++ b/modules/monitoring/application/views/scripts/show/services.phtml
@@ -1,6 +1,6 @@
= $this->render('show/components/header.phtml') ?>
-
All services configured on this host+= $this->translate('All services configured on this host') ?>
= preg_replace('~ |
---|