From 296d9981e8e712a12c3d737122afbc166c789ba0 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 Mar 2008 07:29:26 +0000 Subject: [PATCH] String update git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9648 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../mail/admin/groups/mail/class_groupMail.inc | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index 2b95184f6..95264b360 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -352,8 +352,7 @@ class mailgroup extends plugin /* Do we represent a valid account? */ if (!$this->is_account && $this->parent === NULL){ - $display.= "\"\" ". - _("This 'dn' has no valid mail extensions.").""; + $display.= "\"\" ".msgPool::noValidExtension(_("mail")).""; return ($display); } @@ -362,10 +361,10 @@ class mailgroup extends plugin if ($this->parent !== NULL){ if ($this->is_account){ $display.= $this->show_disable_header(_("Remove mail account"), - _("This account has mail features enabled. You can disable them by clicking below.")); + msgPool::featuresEnabled(_("mail")); } else { $display.= $this->show_enable_header(_("Create mail account"), - _("This account has mail features disabled. You can enable them by clicking below.")); + msgPool::featuresDisabled(_("mail")); /* Show checkbox that allows us to remove imap entry too*/ if($this->initially_was_account){ @@ -436,8 +435,7 @@ class mailgroup extends plugin $address= $_POST['forward_address']; if (!tests::is_email($address)){ - print_red (_("You're trying to add an invalid email address ". - "to the list of forwarders.")); + print_red (msgPool::invalid(_("forward address"))); } elseif ($address == $this->mail || in_array($address, $this->gosaMailAlternateAddress)) { @@ -468,12 +466,12 @@ class mailgroup extends plugin if ($_POST['alternate_address'] != "" && $this->acl_is_writeable("gosaMailAlternateAddress")){ if (!tests::is_email($_POST['alternate_address'])){ - print_red (_("You're trying to add an invalid email address to the list of alternate addresses.")); + print_red (msgPool::invalid(_("alternate address"))); } elseif (($user= $this->addAlternate ($_POST['alternate_address'])) != ""){ $ui= get_userinfo(); if ($user != $ui->username){ - print_red (_("The address you're trying to add is already used by user")." '$user'."); + print_red (msgPool::duplicated(_("mail address"))); } } } -- 2.30.2