monitoring: Uppercasse the first word of comments in the backend configuration form
This commit is contained in:
parent
e72361c2cb
commit
e05e04bb74
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue