mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
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');
|
$monitoringBackend = $this->request->getQuery('backend');
|
||||||
try {
|
try {
|
||||||
if ($monitoringBackend === null) { // create new backend
|
if ($monitoringBackend === null) { // Create new backend
|
||||||
$this->add($this->getValues());
|
$this->add($this->getValues());
|
||||||
$message = mt('monitoring', 'Monitoring backend "%s" has been successfully created');
|
$message = mt('monitoring', 'Monitoring backend "%s" has been successfully created');
|
||||||
} else { // edit existing backend
|
} else { // Edit existing backend
|
||||||
$this->edit($monitoringBackend, $this->getValues());
|
$this->edit($monitoringBackend, $this->getValues());
|
||||||
$message = mt('monitoring', 'Monitoring backend "%s" has been successfully changed');
|
$message = mt('monitoring', 'Monitoring backend "%s" has been successfully changed');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user