summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 97fede5)
raw | patch | inline | side by side (parent: 97fede5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 10:04:23 +0000 (10:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 10:04:23 +0000 (10:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9420 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/personal/mail/class_mailAccount.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/personal/mail/class_mailAccount.inc b/gosa-plugins/mail/personal/mail/class_mailAccount.inc
index 09ae77ebfdad26db3e7e07aa85fe6586a71355bd..028c56517b1e1cc994bea049a4f940da5960d99b 100644 (file)
/* 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;
}
/* 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);
}