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

View File

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