From 56575791ac3c2eee7b8c804e7e4861e6902a89f7 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 30 Nov 2005 08:40:18 +0000 Subject: [PATCH] reverted strings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2145 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/fonreports/class_fonreport.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/gofon/fonreports/class_fonreport.inc b/plugins/gofon/fonreports/class_fonreport.inc index 4979edcc1..893112c57 100644 --- a/plugins/gofon/fonreports/class_fonreport.inc +++ b/plugins/gofon/fonreports/class_fonreport.inc @@ -85,21 +85,21 @@ class fonreport extends plugin /* Connecting, selecting database */ if (!isset($this->config->data['SERVERS']['FON'])){ - print_red("There is no asterisk database defined. Can't query anything."); + print_red(_("Can't connect to phone database, no reports can be shown!")); return($smarty->fetch(get_template_path('contents.tpl', TRUE))); }elseif(!is_callable("mysql_connect")){ - print_red("There is no mysql extension available. Can't establish database connection."); + print_red(_("There is no mysql extension available, please check your php setup.")); return($smarty->fetch(get_template_path('contents.tpl', TRUE))); }else{ $cfg= $this->config->data['SERVERS']['FON']; $link = @mysql_pconnect($cfg['SERVER'], $cfg['LOGIN'], $cfg['PASSWORD']); if ($link === FALSE){ - print_red(_("Can't connect to phone database, no reports can be shown!. Check server,username and password combination.")); + print_red(_("Can't connect to phone database, no reports can be shown!")); return($smarty->fetch(get_template_path('contents.tpl', TRUE))); } if (! @mysql_select_db("gophone")){ - print_red(_("Can't select phone (gophone) database for report generation!")); + print_red(_("Can't select phone database for report generation!")); return($smarty->fetch(get_template_path('contents.tpl', TRUE))); } } -- 2.30.2