From c64c76dd21f2586045118a9837e11984bb3dfc6d Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 7 Mar 2008 10:29:45 +0000 Subject: [PATCH] msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9429 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc b/gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc index eb3bd4cec..7cbad31b3 100644 --- a/gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc +++ b/gosa-plugins/dfs/addons/godfs/class_dfsgeneric.inc @@ -90,9 +90,9 @@ $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 == "") { @@ -105,19 +105,19 @@ # 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; -- 2.30.2