From: cajus Date: Fri, 14 Mar 2008 08:35:29 +0000 (+0000) Subject: Updated msg pool X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c16ee4bdda764ef9338de0d81871099e6aac509b;p=gosa.git Updated msg pool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9798 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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: ?>