From: hickert Date: Fri, 7 Mar 2008 08:15:01 +0000 (+0000) Subject: Message Pool X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1685fda205e569ee7a3a61408f3a2722250b63c5;p=gosa.git Message Pool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9412 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc b/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc index 16ce1eac9..d9d658844 100644 --- a/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc +++ b/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc @@ -190,18 +190,18 @@ class nagiosAccount extends plugin $ldap= $this->config->get_ldap_link(); /* must: mail */ if ($this->NagiosAlias == ""){ - $message[]= _("The required field 'NagiosAlias' is not set."); + $message[]= msgPool::required(_("Alias")); } if ($this->NagiosMail == ""){ - $message[]= _("The required field 'NagiosMail' is not set."); + $message[]= msgPool::required(_("Mail")); } if ($this->is_template){ if (!tests::is_email($this->NagiosMail, TRUE)){ - $message[]= _("Please enter a valid email address in 'NagiosMail' field."); + $message[]= msgPool::invalid(_("Mail"),"","","%givenName.%dn@your-domain.com"); } } else { if (!tests::is_email($this->NagiosMail)){ - $message[]= _("Please enter a valid email address in 'NagiosMail' field."); + $message[]= msgPool::invalid(_("Mail"),"","","example@your-domain.com"); } } return($message);