diff --git a/modules/monitoring/application/views/scripts/show/components/notifications.phtml b/modules/monitoring/application/views/scripts/show/components/notifications.phtml index af57eb934..6ae229d47 100644 --- a/modules/monitoring/application/views/scripts/show/components/notifications.phtml +++ b/modules/monitoring/application/views/scripts/show/components/notifications.phtml @@ -35,16 +35,16 @@ if (! in_array((int) $object->state, array(0, 99))) { if ($object->current_notification_number > 0) { if ((int) $object->current_notification_number === 1) { $msg = sprintf( - $this->translate('A notication has been sent for this issue %s ago'), - $this->timeSince($object->last_notification) + $this->translate('A notication has been sent for this issue %s'), + $this->timeAgo($object->last_notification) ); } else { $msg = sprintf( $this->translate('%s notications have been sent for this issue'), $object->current_notification_number ) . '
' . sprintf( - $this->translate('The last one occured %s ago'), - $this->timeSince($object->last_notification) + $this->translate('The last one occured %s'), + $this->timeAgo($object->last_notification) ); } echo $msg;