X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_socketClient.inc;h=fa3e488d9b71deb661c2af3cf3e38871d39dbf57;hb=c9bd6c4d92532063a9dd8df3cfd20740d43e5841;hp=4442e1c5017729efdbccdfd6513655a279c079e7;hpb=d261c3a03396e6514082ad89e74228c09ecad35a;p=gosa.git diff --git a/gosa-core/include/class_socketClient.inc b/gosa-core/include/class_socketClient.inc index 4442e1c50..fa3e488d9 100644 --- a/gosa-core/include/class_socketClient.inc +++ b/gosa-core/include/class_socketClient.inc @@ -57,7 +57,7 @@ class Socket_Client public function setEncryptionKey($key) { if(!function_exists("mcrypt_get_iv_size")){ - $this->set_error(_("The mcrypt module was not found. Please install php5-mcrypt.")); + $this->set_error(msgPool::missingext("mcrypt")); $this->ckey = ""; $this->b_encrypt = FALSE; } @@ -105,7 +105,7 @@ class Socket_Client $this->handle = @fsockopen($this->host, $this->port, $this->errno, $this->errstr, $this->timeout); if(!$this->handle){ $this->handle = NULL; - $this->set_error(sprintf(_("Socket connection to host '%s:%s' failed: %s"),$this->host,$this->port,$this->errstr)); + $this->set_error(sprintf(_("Socket connection to %s:%s failed: %s"), bold($this->host), bold($this->port), $this->errstr)); }else{ $this->b_data_send = TRUE; @@ -188,7 +188,7 @@ class Socket_Client } } if((microtime(TRUE) - $start) > $this->timeout ){ - $this->set_error(sprintf(_("Socket timeout of %s seconds reached."),$this->timeout)); + $this->set_error(sprintf(_("Socket timeout of %s seconds reached!"), bold($this->timeout))); break; } }