From c16ee4bdda764ef9338de0d81871099e6aac509b Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 14 Mar 2008 08:35:29 +0000 Subject: [PATCH] Updated msg pool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9798 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/utils/class_msgPool.inc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gosa-core/include/utils/class_msgPool.inc b/gosa-core/include/utils/class_msgPool.inc index 0f81f961e..6e0cb35c9 100644 --- a/gosa-core/include/utils/class_msgPool.inc +++ b/gosa-core/include/utils/class_msgPool.inc @@ -464,6 +464,15 @@ class msgPool return sprintf(_("Upload failed: %s"), "

$reason"); } + + function siError($error= "") + { + if ($error == ""){ + return _("Communication failure with the infrastructure service!"); + } + return sprintf(_("Communication failure with the infrastructure service: %s"), "

"._("Error").": ".$error); + } + } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2