From: hickert Date: Fri, 7 Mar 2008 09:57:37 +0000 (+0000) Subject: MsgPool X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=97fede52d18785c454b9fcae0cc3d743cbd2c976;p=gosa.git MsgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9419 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc index 6e2ac6ff2..b0f396274 100644 --- a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc +++ b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc @@ -749,7 +749,7 @@ class sambaAccount extends plugin foreach (array( "sambaHomePath" => _("Home directory"), "sambaProfilePath" => _("Profile path")) as $key => $val){ if (!$this->mungedObject->is_samba_path($this->$key)){ - $message[]= sprintf(_("The value specified as '%s' contains invalid characters!"), $val); + $message[]= msgPool::invalid($val); } } @@ -759,7 +759,7 @@ class sambaAccount extends plugin "CtxMaxIdleTime" => _("IDLE")) as $key => $val){ if (isset($this->mungedObject->ctx[$key]) && !tests::is_id($this->mungedObject->ctx[$key]) && $val != 0){ - $message[]= sprintf(_("The timeout property '%s' is checked and contains invalid or no characters!"), $val); + $message[]= msgPool::invalid($val); } } @@ -1239,7 +1239,7 @@ class sambaAccount extends plugin foreach (array( "sambaHomePath" => _("Home directory"), "sambaProfilePath" => _("Profile path")) as $key => $val){ if (in_array($key,$this->multi_boxes) && !$this->mungedObject->is_samba_path($this->$key)){ - $message[]= sprintf(_("The value specified as '%s' contains invalid characters!"), $val); + $message[]= msgPool::invalid($val); } } @@ -1250,7 +1250,7 @@ class sambaAccount extends plugin if (in_array($key,$this->multi_boxes) && isset($this->mungedObject->ctx[$key]) && !tests::is_id($this->mungedObject->ctx[$key]) && $val != 0){ - $message[]= sprintf(_("The timeout property '%s' is checked and contains invalid or no characters!"), $val); + $message[]=msgPool::invalid($val); } }