Code

Fixed msgs for applications / departments / fai
[gosa.git] / plugins / admin / applications / class_applicationParameters.inc
index 12e055a77083a36f1d51d95e6181fa2c9c7a280b..c803aff4d3d823cf88993cd080a1a6cb0be0beff 100644 (file)
@@ -123,9 +123,9 @@ class applicationParameters extends plugin
         @DEBUG (DEBUG_LDAP, __LINE__, __FUNCTION__, __FILE__,
                 $this->attributes, "Save");
        $this->cleanup();
-$ldap->modify ($this->attrs); 
+       $ldap->modify ($this->attrs); 
 
-       show_ldap_error($ldap->get_error());
+       show_ldap_error($ldap->get_error(), sprintf(_("Removing of application parameters with dn '%s' failed."),$this->dn));
 
        /* Optionally execute a command after we're done */
        $this->handle_post_events('remove');
@@ -185,9 +185,9 @@ $ldap->modify ($this->attrs);
         @DEBUG (DEBUG_LDAP, __LINE__, __FUNCTION__, __FILE__,
                 $this->attributes, "Save");
        $this->cleanup();
-$ldap->modify ($this->attrs); 
+       $ldap->modify ($this->attrs); 
 
-       show_ldap_error($ldap->get_error());
+       show_ldap_error($ldap->get_error(), sprintf(_("Saving of application parameters with dn '%s' failed."),$this->dn));
 
        /* Optionally execute a command after we're done */
        $this->handle_post_events('modify');