Code

Added translation tags for mail remove message
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Jun 2006 04:44:22 +0000 (04:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Jun 2006 04:44:22 +0000 (04:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3592 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/mail/class_mailAccount.inc

index b6938636f70466dd07125eb6c93abda7dd047561..209072123441da0386e6c3a62236301504bd68f7 100644 (file)
@@ -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."));
           }
         }
       }