From 97fede52d18785c454b9fcae0cc3d743cbd2c976 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 7 Mar 2008 09:57:37 +0000 Subject: [PATCH] MsgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9419 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/samba/personal/samba/class_sambaAccount.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } } -- 2.30.2