Code

msgPool
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 10:34:36 +0000 (10:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 10:34:36 +0000 (10:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9825 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/admin/systems/services/virus/class_goVirusServer.inc

index e95b05b12b2463c706d76e48a33312622d7f5f35..d41e2383c22cabebc3ace0db9856d596f1852ce9 100644 (file)
@@ -169,13 +169,13 @@ class govirusserver extends goService{
 
     foreach($mustBeNumeric as $key => $trans){
       if(!is_numeric($this->$key)){
-        $message[] = sprintf(_("The specified value for '%s' must be a numeric value."),$trans);
+        $message[] = msgPool::invalid($trans,$this->$key,"/[0-9]/");
       }
     }
 
     foreach(array("avUser"=>_("Database user"),"avHttpProxyURL"=>_("Http proxy URL"),"avDatabaseMirror"=>_("Database mirror")) as $attr => $name){
       if(!preg_match("/^[a-z0-9:_\-\.\/]*$/",$this->$attr)){
-        $message[] = sprintf(_("Please specify a valid value for '%s'."),$name);
+        $message[] = msgPool::invalid($name,$this->$attr,"/[a-z0-9:_\-\.\/]/");
       }
     }