From 021416157311ed0dd47c46330cc2808075c3fff5 Mon Sep 17 00:00:00 2001 From: psc Date: Fri, 20 Mar 2009 09:40:55 +0000 Subject: [PATCH] Make error message for the case when trying to create a share with special characters more informative. (Trac #2244) git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13555 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/services/nfs/class_servNfs.inc | 2 +- trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc b/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc index 105d9565d..8efb0fefb 100644 --- a/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc +++ b/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc @@ -185,7 +185,7 @@ class servnfs extends plugin } } else { if (!tests::is_path($this->path)){ - $message[]= _("'Path / Volume' must contain at least one '/'!"); + $message[]= _("'Path / Volume' must contain at least one '/' and no special characters!"); } } diff --git a/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po b/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po index 3f435c9cf..5e54c9360 100644 --- a/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po +++ b/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po @@ -1415,8 +1415,8 @@ msgid "'Path / Volume' must be of format 'server:port'!" msgstr "'Pfad / Volume' muß das Format 'server:port' haben!" #: admin/systems/services/nfs/class_servNfs.inc:188 -msgid "'Path / Volume' must contain at least one '/'!" -msgstr "'Pfad / Volume' muß mindestens ein '/' enthalten!" +msgid "'Path / Volume' must contain at least one '/' and no special characters!" +msgstr "'Pfad / Volume' muß mindestens ein '/' enthalten und keine Sonderzeichen!" #: admin/systems/services/nfs/servnfs.tpl:1 msgid "Edit share" -- 2.30.2