From f94bee17a75a669721da906fa18c2bca0055df23 Mon Sep 17 00:00:00 2001 From: psc Date: Thu, 18 Jun 2009 09:46:30 +0000 Subject: [PATCH] Improve commit messages for already existing shares git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13726 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/services/nfs/class_servNfs.inc | 2 +- trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po | 6 +++++- trunk/gosa-plugins/goto/locale/messages.po | 5 ++++- 3 files changed, 10 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 8efb0fefb..3ee3550d0 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 @@ -232,7 +232,7 @@ class servnfs extends plugin foreach($test['goExportEntry'] as $entry){ $tmp = split("\|",$entry); if($tmp[0] == $this->name){ - $message[]= msgPool::duplicated(_("Name")); + $message[]= sprintf(_("The share '%s' on another server '%s' already exists."), $this->name, $this_cn); } } } 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 fab75ac96..5ef784a15 100644 --- a/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po +++ b/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po @@ -383,7 +383,6 @@ msgstr "Anwendungs-Einstellungen" #: admin/systems/services/shares/class_goShareServer.inc:398 #: admin/systems/services/nfs/class_servNfs.inc:199 #: admin/systems/services/nfs/class_servNfs.inc:202 -#: admin/systems/services/nfs/class_servNfs.inc:235 #: admin/systems/services/nfs/servnfs.tpl:9 #: admin/systems/goto/class_printGeneric.inc:670 #: admin/systems/goto/class_printGeneric.inc:675 @@ -3885,3 +3884,8 @@ msgstr "Wählen Sie die Abteilung, auf die die Suchfunktion angewandt wird" #: personal/environment/hotplugDialog.tpl:48 msgid "Regular expression for matching hotplugs" msgstr "Regulärer Ausdruck zum Erkennen von Hotplug-Geräten" + +#: admin/systems/services/nfs/class_servNfs.inc:235 +msgid "The share '%s' on another server '%s' already exists." +msgstr "Die Freigabe '%s' existiert bereits auf einem anderen Server '%s'" + diff --git a/trunk/gosa-plugins/goto/locale/messages.po b/trunk/gosa-plugins/goto/locale/messages.po index 70cee008e..fd8db6e24 100644 --- a/trunk/gosa-plugins/goto/locale/messages.po +++ b/trunk/gosa-plugins/goto/locale/messages.po @@ -371,7 +371,6 @@ msgstr "" #: admin/systems/services/shares/class_goShareServer.inc:398 #: admin/systems/services/nfs/class_servNfs.inc:199 #: admin/systems/services/nfs/class_servNfs.inc:202 -#: admin/systems/services/nfs/class_servNfs.inc:235 #: admin/systems/services/nfs/servnfs.tpl:9 #: admin/systems/goto/class_printGeneric.inc:670 #: admin/systems/goto/class_printGeneric.inc:675 @@ -3783,3 +3782,7 @@ msgstr "" #: personal/environment/hotplugDialog.tpl:48 msgid "Regular expression for matching hotplugs" msgstr "" + +#: admin/systems/services/nfs/class_servNfs.inc:235 +msgid "The share '%s' on another server '%s' already exists." +msgstr "" -- 2.30.2