From 3090b205280ab8ebea5c52bbf306a5d4e2a237ae Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 13 Mar 2008 12:04:11 +0000 Subject: [PATCH] updated strings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9738 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../mail/admin/ogroups/mail/class_mailogroup.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gosa-plugins/mail/admin/ogroups/mail/class_mailogroup.inc b/gosa-plugins/mail/admin/ogroups/mail/class_mailogroup.inc index ab20b922f..e626b0780 100644 --- a/gosa-plugins/mail/admin/ogroups/mail/class_mailogroup.inc +++ b/gosa-plugins/mail/admin/ogroups/mail/class_mailogroup.inc @@ -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")); } } -- 2.30.2