From: cajus Date: Fri, 7 Mar 2008 15:21:50 +0000 (+0000) Subject: Added noserver message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e09b3765fd003d39d92323c65efa68d53a7e7d89;p=gosa.git Added noserver message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9447 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/log/addons/logview/class_gosa_logview.inc b/gosa-plugins/log/addons/logview/class_gosa_logview.inc index d8328da24..ec6140cf6 100644 --- a/gosa-plugins/log/addons/logview/class_gosa_logview.inc +++ b/gosa-plugins/log/addons/logview/class_gosa_logview.inc @@ -115,7 +115,7 @@ class gosa_logview extends plugin * and mysql extension ****/ if (!isset($this->config->data['SERVERS']['LOGGING']) || !count($this->config->data['SERVERS']['LOGGING'])){ - msg_dialog::display(_("Warning"), sprintf(_("No %s servers defined!"), "GOsa log"), WARNING_DIALOG); + msg_dialog::display(_("Warning"), msgPool::noserver("GOsa log"), WARNING_DIALOG); return ($smarty->fetch (get_template_path('gosa_log_contents.tpl', TRUE))); } diff --git a/gosa-plugins/log/addons/logview/class_logview.inc b/gosa-plugins/log/addons/logview/class_logview.inc index ffb775cdd..47295e2e2 100644 --- a/gosa-plugins/log/addons/logview/class_logview.inc +++ b/gosa-plugins/log/addons/logview/class_logview.inc @@ -75,7 +75,7 @@ class logview extends plugin /* Test connection to log database */ if (!isset($this->config->data['SERVERS']['LOG'])){ - msg_dialog::display(_("Warning"), sprintf(_("No %s servers defined!"), "syslog"), WARNING_DIALOG); + msg_dialog::display(_("Warning"), msgPool::noserver("syslog"), WARNING_DIALOG); return ($smarty->fetch (get_template_path('contents.tpl', TRUE))); }elseif(!is_callable("mysql_connect")){