Code

updated strings
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Mar 2008 12:04:11 +0000 (12:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Mar 2008 12:04:11 +0000 (12:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9738 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/admin/ogroups/mail/class_mailogroup.inc

index ab20b922f644a65a412bb3c0986e5c6f828f1b0c..e626b07807b51a8c75eafa4f11b600ad16c06c29 100644 (file)
@@ -48,9 +48,10 @@ class mailogroup extends plugin
     if ($this->parent !== NULL){
       if ($this->is_account){
         $display= $this->show_disable_header(_("Remove mail account"),
-            _("This group has mail features enabled. You can disable them by clicking below."));
+            msgPool::featuresEnabled(_("mail group")));
       } else {
-        $display= $this->show_enable_header(_("Create mail account"), _("This group has mail features disabled. You can enable them by clicking below."));
+        $display= $this->show_enable_header(_("Create mail account"), 
+            msgPool::featuresDisabled(_("mail group")));
         return ($display);
       }
     }
@@ -82,14 +83,14 @@ class mailogroup extends plugin
 
       /* Check if mail address is valid */
       if (!tests::is_email($this->mail) || $this->mail == ""){
-        $message[]= _("Please enter a valid email address in 'Primary address' field.");
+        $message[]= msgPool::invalid(_("Mail address"),"","",_("your-name@your-domain.com"));
       }
 
       /* Check if mail address is already in use */
       $ldap->cd($this->config->current['BASE']);
       $ldap->search ("(&(!(objectClass=gosaUserTemplate))(|(mail=".$this->mail.")(gosaMailAlternateAddress=".$this->mail."))(!(cn=".$this->cn.")))", array("uid"));
       if ($ldap->count() != 0){
-        $message[]= _("The primary address you've entered is already in use.");
+        $message[]= msgPool::duplicated(_("Mail address"));
       }
     }