diff --git a/modules/monitoring/application/forms/Config/InstanceConfigForm.php b/modules/monitoring/application/forms/Config/InstanceConfigForm.php index 652279722..27e1e410d 100644 --- a/modules/monitoring/application/forms/Config/InstanceConfigForm.php +++ b/modules/monitoring/application/forms/Config/InstanceConfigForm.php @@ -95,7 +95,10 @@ class InstanceConfigForm extends ConfigForm $instanceName = $data['name']; if ($this->config->hasSection($instanceName)) { - throw new IcingaException('A monitoring instance with the name "%s" does already exist', $instanceName); + throw new IcingaException( + $this->translate('A monitoring instance with the name "%s" does already exist'), + $instanceName + ); } unset($data['name']);