From 9c047f5b726c43c135b05ab74197513d585f1553 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 15 Aug 2013 14:49:20 +0200 Subject: [PATCH] Monitoring/Commands: Fix typos in forms refs #4524 --- .../application/forms/Command/AcknowledgeForm.php | 8 ++++---- .../monitoring/application/forms/Command/CommentForm.php | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/monitoring/application/forms/Command/AcknowledgeForm.php b/modules/monitoring/application/forms/Command/AcknowledgeForm.php index 8330371fb..db819d0fa 100644 --- a/modules/monitoring/application/forms/Command/AcknowledgeForm.php +++ b/modules/monitoring/application/forms/Command/AcknowledgeForm.php @@ -49,7 +49,7 @@ class AcknowledgeForm extends CommandForm array( 'name' => 'commanddescription', 'value' => t( - 'This command is used to acknowledge a host/service problem. When a problem is ' + 'This command is used to acknowledge host or service problems. When a problem is ' . 'acknowledged, future notifications about problems are temporarily disabled until the ' . 'host/service changes from its current state.' ) @@ -85,7 +85,7 @@ class AcknowledgeForm extends CommandForm 'checkbox', 'persistent', array( - 'label' => t('Persistent comment'), + 'label' => t('Persistent Comment'), 'value' => false ) ); @@ -165,7 +165,7 @@ class AcknowledgeForm extends CommandForm 'checkbox', 'notify', array( - 'label' => t('Send notification'), + 'label' => t('Send Notification'), 'value' => true ) ); @@ -181,7 +181,7 @@ class AcknowledgeForm extends CommandForm ) ); - $this->setSubmitLabel(t('Acknowledge problem')); + $this->setSubmitLabel(t('Acknowledge Problem')); parent::create(); } diff --git a/modules/monitoring/application/forms/Command/CommentForm.php b/modules/monitoring/application/forms/Command/CommentForm.php index 4423410d8..61e87f1a5 100644 --- a/modules/monitoring/application/forms/Command/CommentForm.php +++ b/modules/monitoring/application/forms/Command/CommentForm.php @@ -28,8 +28,8 @@ namespace Monitoring\Form\Command; -use \Icinga\Protocol\Commandpipe\Comment; use \Icinga\Web\Form\Element\Note; +use \Icinga\Protocol\Commandpipe\Comment; /** * Form for adding comment commands @@ -45,7 +45,7 @@ class CommentForm extends CommandForm new Note( array( 'name' => 'commanddescription', - 'value' => t('This command is used to add a comment host or services.') + 'value' => t('This command is used to add a comment to hosts or services.') ) ) ); @@ -102,7 +102,7 @@ class CommentForm extends CommandForm /** * Create comment from request data * - * @return \Icinga\Web\Form\Element\Note + * @return \Icinga\Protocol\Commandpipe\Comment */ public function getComment() {