monitoring: Uppercasse the first word of comments in the backend configuration form

This commit is contained in:
Eric Lippmann 2014-12-30 09:47:45 +01:00
parent e72361c2cb
commit e05e04bb74
1 changed files with 2 additions and 2 deletions

View File

@ -138,10 +138,10 @@ class BackendConfigForm extends ConfigForm
{
$monitoringBackend = $this->request->getQuery('backend');
try {
if ($monitoringBackend === null) { // create new backend
if ($monitoringBackend === null) { // Create new backend
$this->add($this->getValues());
$message = mt('monitoring', 'Monitoring backend "%s" has been successfully created');
} else { // edit existing backend
} else { // Edit existing backend
$this->edit($monitoringBackend, $this->getValues());
$message = mt('monitoring', 'Monitoring backend "%s" has been successfully changed');
}