summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9051ecb)
raw | patch | inline | side by side (parent: 9051ecb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 10:29:45 +0000 (10:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 10:29:45 +0000 (10:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9429 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc b/gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc
index eb3bd4cecff57ffbd48be2175617038e4036b207..7cbad31b3bf771f53f4612465c5d2f8da3f542fe 100644 (file)
$attrs = $ldap->fetch();
if ($this->orig_dn == "new" && !($attrs == FALSE)) {
- $message[] = _("Dfs share already exists.");
+ $message[] = msgPool::duplicated("Dfs Share");
} elseif ($this->orig_dn != $this->dn && !($attrs == FALSE)) {
- $message[] = _("Dfs share already exists.");
+ $message[] = msgPool::duplicated("Dfs Share");
}
if ($this->dn == "new" || $this->dn == "") {
# required fields set?
if ($this->sambasharename == "") {
- $message[] = _("Required Field \"Name of dfs Share\" is not set.");
+ $message[] = msgPool::required("Name");
}
if ($this->sharedescription == "") {
- $message[] = _("Required Field \"Description\" is not set.");
+ $message[] = msgPool::required("Description");
}
if ($this->fileserver == "") {
- $message[] = _("Required Field \"Fileserver\" is not set.");
+ $message[] = msgPool::required("Fileserver");
}
if ($this->share == "") {
- $message[] = _("Required Field \"Share on fileserver\" is not set.");
+ $message[] = msgPool::required("Share");
}
if ($this->loc == "") {
- $message[] = _("Required Field \"Location\" is not set.");
+ $message[] = msgPool::required("Location");
}
return $message;