From f2bdca11ee305e26a372f97c20ba16dbee4a7e8c Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 7 Mar 2008 10:04:23 +0000 Subject: [PATCH] msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9420 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/personal/mail/class_mailAccount.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gosa-plugins/mail/personal/mail/class_mailAccount.inc b/gosa-plugins/mail/personal/mail/class_mailAccount.inc index 09ae77ebf..028c56517 100644 --- a/gosa-plugins/mail/personal/mail/class_mailAccount.inc +++ b/gosa-plugins/mail/personal/mail/class_mailAccount.inc @@ -1331,7 +1331,7 @@ class mailAccount extends plugin /* Check quota */ if ($this->gosaMailQuota != '' && in_array("gosaMailQuota",$this->multi_boxes)){ if (!is_numeric($this->gosaMailQuota)) { - $message[]= _("Value in 'Quota size' is not valid."); + $message[]= msgPool::invalid(_("Quota size"),$this->gosaMailQuota,"/^[0-9]*/"); } else { $this->gosaMailQuota= (int) $this->gosaMailQuota; } @@ -1340,19 +1340,19 @@ class mailAccount extends plugin /* Check rejectsize for integer */ if ($this->gosaMailMaxSize != '' && in_array("gosaMailMaxSize",$this->multi_boxes)){ if (!is_numeric($this->gosaMailMaxSize)){ - $message[]= _("Please specify a vaild mail size for mails to be rejected."); + $message[]= msgPool::invalid(_("Mail reject size"),$this->gosaMailMaxSize,"/^[0-9]*/"); } else { $this->gosaMailMaxSize= (int) $this->gosaMailMaxSize; } } if(empty($this->gosaSpamMailbox) && in_array("gosaSpamMailbox",$this->multi_boxes)){ - $message[]= _("You specified Spam settings, but there is no Folder specified."); + $message[]= msgPool::required(_("Spam folder")); } if ( in_array("use_vacation",$this->multi_boxes) && preg_match('/V/', $this->gosaMailDeliveryMode) && $this->gosaVacationStart > $this->gosaVacationStop){ - $message[]= _("Time interval to show vacation message is not valid."); + $message[]= msgPool::invalid(_("Vacation interval")); } return($message); } -- 2.30.2