From 6b1c7af86033dce59757a9c533252fe4229c305c Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 23 May 2005 05:20:08 +0000 Subject: [PATCH] Fixed translations git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@337 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servKolab.inc | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/plugins/admin/systems/class_servKolab.inc b/plugins/admin/systems/class_servKolab.inc index 2ab91d467..fd87b6a7b 100644 --- a/plugins/admin/systems/class_servKolab.inc +++ b/plugins/admin/systems/class_servKolab.inc @@ -194,29 +194,27 @@ class servkolab extends plugin { error_reporting(E_ALL); $message = array(); if(($this->kolabFreeBusyFuture=="")) { - $message[] = _("Free/Busy settings -> Future days must be set."); - }elseif((($this->kolabFreeBusyFuture=="")<0)){ - $message[] = _("Free/Busy settings -> Future days must be a positive value."); - }elseif(strcasecmp($this->kolabFreeBusyFuture,(int)$this->kolabFreeBusyFuture)){ - $message[] = _("Free/Busy settings -> Future days must be a value."); + $message[] = _("Future days in Free/Busy settings must be set."); + }elseif(!is_uid($this->kolabFreeBusyFuture) || $this->kolabFreeBusyFuture < 0){ + $message[] = _("Future days in Free/Busy settings must be a positive value."); } if(!is_int((int)($this->cyrus_quotawarn))) { - $message[] = _("Cyrus Quota settings -> The given Quota settings value must be a number."); + $message[] = _("The given Quota settings value must be a number."); }elseif(!(($this->cyrus_quotawarn<=100)&&($this->cyrus_quotawarn>=0))){ - $message[] = _("Cyrus Quota settings -> Please choose a value between 1 and 100 for Quota settings."); + $message[] = _("Please choose a value between 1 and 100 for Quota settings."); }elseif(strcasecmp($this->cyrus_quotawarn,(int)$this->cyrus_quotawarn)){ - $message[] = _("Cyrus Quota settings -> Future days must be a value."); + $message[] = _("Future days must be a value."); } if(empty($this->postfix_mynetworks)) { - $message[] = _("SMTP privileged networks -> No value is given."); + $message[] = _("No SMTP privileged networks set."); } if(empty($this->postfix_relayhost)) { - $message[] = _("SMTP smarthost/relayhost -> No value is given."); + $message[] = _("No SMTP smarthost/relayhost set."); } -- 2.30.2