X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FMsn%2Fmsnmanager.php;h=82d40d69c92e80eff7d5e42d51b76b159d75ba82;hb=b6cfcfbcaa0459b39c5d581c103bfa031b2e02cd;hp=a8996ecafadf5eb80d8b45ccfabba0238d4fca6e;hpb=bf20258f4b61dd8396db9a1980463c060dab292c;p=quix0rs-gnu-social.git diff --git a/plugins/Msn/msnmanager.php b/plugins/Msn/msnmanager.php index a8996ecafa..82d40d69c9 100644 --- a/plugins/Msn/msnmanager.php +++ b/plugins/Msn/msnmanager.php @@ -29,7 +29,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } * In a multi-site queuedaemon.php run, one connection will be instantiated * for each site being handled by the current process that has MSN enabled. */ - class MsnManager extends ImManager { public $conn = null; protected $lastPing = null; @@ -109,7 +108,8 @@ class MsnManager extends ImManager { 'user' => $this->plugin->user, 'password' => $this->plugin->password, 'alias' => $this->plugin->nickname, - 'psm' => 'Send me a message to post a notice', + // TRANS: MSN bot status message. + 'psm' => _m('Send me a message to post a notice'), 'debug' => false ) ); @@ -240,7 +240,8 @@ class MsnManager extends ImManager { if (!$result) { common_log_db_error($wm, 'INSERT', __FILE__); - throw new ServerException('DB error inserting queue item'); + // TRANS: Server exception thrown when a message to be sent through MSN cannot be added to the database queue. + throw new ServerException(_m('Database error inserting queue item.')); } return true;