summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9c29315)
raw | patch | inline | side by side (parent: 9c29315)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 08:40:15 +0000 (08:40 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 08:40:15 +0000 (08:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9800 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc b/gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc
index e5681b9426912ee02911577be9dccab624fd46ae..ebc0f86e72ba0d11d9cc930de1cb8b132d9e51b2 100644 (file)
{
$message = plugin::check();
if(empty($this->goImapName)){
- $message[] =_("Please specify a server identifier.");
+ $message[] = msgPool::required(_("Server identifier"));
}
if(empty($this->goImapConnect)){
- $message[] =_("Please specify a connect url.");
+ $message[] = msgPool::required(_("Connect URL"));
}
if(empty($this->goImapAdmin)){
- $message[] =_("Please specify an admin user.");
+ $message[] = msgPool::required(_("Admin user"));
}
if(empty($this->goImapPassword)){
- $message[] =_("Please specify a password for the admin user.");
+ $message[] = msgPool::required(_("Password"));
}
/* Check connect string */
if (!preg_match('/^\{[^:]+:[0-9]+.*\}$/', $this->goImapConnect)){
- $message[]= sprintf(_("The imap connect string needs to be in the form '%s'."),
- '{server-name:port/options}');
+ $message[]= msgPool::invalid(_("Connect URL"),"","{server-name:port/options}");
}
if (!preg_match('/^[0-9]+$/', $this->goImapSievePort)){
- $message[]= _("The sieve port needs to be numeric.");
+ $message[]= msgPool::invalid(_("Sieve port"),$this->goImapSievePort,"/[0-9]/");
}
return ($message);