From: cajus Date: Mon, 3 Mar 2008 14:29:59 +0000 (+0000) Subject: Updated users X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c0df023ae4d8283d15aa7db1b51c54f2f746eb8a;p=gosa.git Updated users git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9249 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index 6edbf93e3..25190ec12 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -1100,7 +1100,7 @@ class user extends plugin $ldap->search("(uid=$this->uid)", array("uid")); $ldap->fetch(); if ($ldap->count() != 0 && $this->dn == 'new'){ - $message[]= _("There's already a person with this 'Login' in the database."); + $message[]= msgPool::duplicated(_("Login")); } /* In template mode, the uid and givenName are autogenerated... */ @@ -1117,7 +1117,7 @@ class user extends plugin if (!(isset($this->config->current['DNMODE']) && $this->config->current['DNMODE'] == "uid")){ $ldap->cat($this->new_dn); if ($ldap->count() != 0 && $this->dn != $this->new_dn && $this->dn == 'new'){ - $message[]= msgPool::duplicated("cn=".$this->cn); + $message[]= msgPool::duplicated(_("Name")); } } }