Monitoring/Commands: Fix typos in forms

refs #4524
This commit is contained in:
Eric Lippmann 2013-08-15 14:49:20 +02:00 committed by Jannis Moßhammer
parent 0af63ea751
commit 9c047f5b72
2 changed files with 7 additions and 7 deletions

View File

@ -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();
}

View File

@ -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()
{