From e09b3765fd003d39d92323c65efa68d53a7e7d89 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 7 Mar 2008 15:21:50 +0000 Subject: [PATCH] Added noserver message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9447 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/log/addons/logview/class_gosa_logview.inc | 2 +- gosa-plugins/log/addons/logview/class_logview.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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")){ -- 2.30.2