Code

msgPool
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 09:38:50 +0000 (09:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 09:38:50 +0000 (09:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9807 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/services/ldap/class_goLdapServer.inc

index fb9ce333817178a39de6d4fc515cadf887578d22..bc4d8765b0522aafc8dafc3b14d550fb57ffbea3 100644 (file)
@@ -51,7 +51,7 @@ class goLdapServer extends goService{
   function getListEntry()
   {
     $fields  = goService::getListEntry();
-    $fields['Message']    = _("LDAP Service");
+    $fields['Message']    = _("LDAP service");
     $fields['AllowEdit']  = true;
     return($fields);
   }
@@ -62,10 +62,10 @@ class goLdapServer extends goService{
   { 
     $message = plugin::check();
     if(empty($this->goLdapBase)){
-      $message[] = _("The given base is empty or contains invalid characters.");
+      $message[] = msgPool::required(_("Base"));
     }
     if(!preg_match("/^ldap[si]?:\/\/[^\/]+\/.+$/", $this->goLdapBase)){
-      $message[] = _("Not in URI format.");
+      $message[] = msgPool::invalid(_("Base"),"","","ldap[si]://base");
     }
     return($message);
   }