From: hickert Date: Mon, 10 Mar 2008 09:25:34 +0000 (+0000) Subject: msgPool X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=94f26ec0e852c80a15f9bbaca2bdc2c8bca48fad;p=gosa.git msgPool git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9482 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc b/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc index e2b4f5e03..309a1fb01 100644 --- a/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc +++ b/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc @@ -164,12 +164,12 @@ class opengwAccount extends plugin /* Check database extension */ if(!is_callable("pg_connect") && count($this->serverCon)){ - msg_dialog::display(_("Configuration error"), sprintf(_("Missing %s PHP extension!"), "postgresql"), ERROR_DIALOG); + msg_dialog::display(_("Configuration error"), msgPool::missingext("postgresql"), ERROR_DIALOG); }elseif(count($this->serverCon)){ /* Check if config exists */ if($this->config->search("opengwAccount", 'DATABASE',array('tabs'))){ - msg_dialog::display(_("Configuration error"), sprintf(_("%s database configuration is missing!"), "Open Groupware"), ERROR_DIALOG); + msg_dialog::display(_("Configuration error"), msgPool::noserver(_("Open Groupware database")), ERROR_DIALOG); }else{ /* Create handle */ @@ -177,7 +177,7 @@ class opengwAccount extends plugin /* Check if we are successfully connected to db */ if(!$this->handle->connected){ - msg_dialog::display(_("Configuration error"), sprintf( _("Cannot connect to %s database!"), "Open Groupware"), ERROR_DIALOG); + msg_dialog::display(_("Configuration error"), msgPool::dbconnect(_("Open Groupware")), ERROR_DIALOG); }else{ /* Assign LocationTeams */