X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FXmpp%2FQueued_XMPP.php;h=aeb758421f59103bda2e449b59a29a029d7e70ac;hb=29403a764cf172f63d7e7f39b49fdd30c92d916e;hp=24f542805b2a068139e889ad78ade80a26f428a5;hpb=d8a3a88ec8eae3134694c98e5a9ae42bc30b289f;p=quix0rs-gnu-social.git diff --git a/plugins/Xmpp/Queued_XMPP.php b/plugins/Xmpp/Queued_XMPP.php index 24f542805b..aeb758421f 100644 --- a/plugins/Xmpp/Queued_XMPP.php +++ b/plugins/Xmpp/Queued_XMPP.php @@ -88,34 +88,38 @@ class Queued_XMPP extends XMPPHP_XMPP */ public function connect($timeout = 30, $persistent = false, $sendinit = true) { - throw new Exception("Can't connect to server from fake XMPP."); + // No i18n needed. Test message. + throw new Exception('Cannot connect to server from fake XMPP.'); } public function disconnect() { - throw new Exception("Can't connect to server from fake XMPP."); + // No i18n needed. Test message. + throw new Exception('Cannot connect to server from fake XMPP.'); } public function process() { - throw new Exception("Can't read stream from fake XMPP."); + // No i18n needed. Test message. + throw new Exception('Cannot read stream from fake XMPP.'); } public function processUntil($event, $timeout=-1) { - throw new Exception("Can't read stream from fake XMPP."); + // No i18n needed. Test message. + throw new Exception('Cannot read stream from fake XMPP.'); } public function read() { - throw new Exception("Can't read stream from fake XMPP."); + // No i18n needed. Test message. + throw new Exception('Cannot read stream from fake XMPP.'); } public function readyToProcess() { - throw new Exception("Can't read stream from fake XMPP."); + // No i18n needed. Test message. + throw new Exception('Cannot read stream from fake XMPP.'); } //@} - } -