From: hickert Date: Thu, 1 Jun 2006 04:44:22 +0000 (+0000) Subject: Added translation tags for mail remove message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d43f3cd04a69b6f7a7a6a790ea69df12fee2a164;p=gosa.git Added translation tags for mail remove message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3592 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc index b6938636f..209072123 100644 --- a/plugins/personal/mail/class_mailAccount.inc +++ b/plugins/personal/mail/class_mailAccount.inc @@ -960,8 +960,10 @@ class mailAccount extends plugin $ldap->cat($this->dn); if($ldap->count()){ $attrs = $ldap->fetch(); - if((isset($attrs['kolabDeleteFlag'])) || (in_array("gosaMailAccount",$attrs['objectClass']))){ - return("Waiting for kolabd to remove mail properties"); + if(isset($attrs['kolabDeleteFlag'])){ + return(_("Waiting for kolabd to remove mail properties.")); + }elseif(in_array("gosaMailAccount",$attrs['objectClass'])){ + return(_("Please remove the mail account first, to allow kolabd to call its remove methods.")); } } }