From 795b0846782cbc6681348be7d10d04e195aadf59 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 14 Mar 2008 10:34:36 +0000 Subject: [PATCH] msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9825 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../mail/admin/systems/services/virus/class_goVirusServer.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/mail/admin/systems/services/virus/class_goVirusServer.inc b/gosa-plugins/mail/admin/systems/services/virus/class_goVirusServer.inc index e95b05b12..d41e2383c 100644 --- a/gosa-plugins/mail/admin/systems/services/virus/class_goVirusServer.inc +++ b/gosa-plugins/mail/admin/systems/services/virus/class_goVirusServer.inc @@ -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:_\-\.\/]/"); } } -- 2.30.2