summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 78f616a)
raw | patch | inline | side by side (parent: 78f616a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 15:21:50 +0000 (15:21 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 15:21:50 +0000 (15:21 +0000) |
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 | patch | blob | history | |
gosa-plugins/log/addons/logview/class_logview.inc | patch | blob | history |
diff --git a/gosa-plugins/log/addons/logview/class_gosa_logview.inc b/gosa-plugins/log/addons/logview/class_gosa_logview.inc
index d8328da24e7d60da54525e53b0e22e0171bf43f8..ec6140cf6d89f90f9b49013b39c3e963bee09456 100644 (file)
* 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 ffb775cdd7204072edfbce9b6de53656eb514592..47295e2e297916855cd23317764f03c631a8d1f4 100644 (file)
/* 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")){