X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2FImap%2FImapPlugin.php;h=dbaa904c6e5b0efba91fd09f838c0c2606237fdd;hb=9d42137024027eeded76016d4708439395983870;hp=1661ed86eaafc012629c7476c83606105823a21e;hpb=b5cfcba4712809cb17eabba299ce5ff04f4d7d70;p=quix0rs-gnu-social.git diff --git a/plugins/Imap/ImapPlugin.php b/plugins/Imap/ImapPlugin.php index 1661ed86ea..dbaa904c6e 100644 --- a/plugins/Imap/ImapPlugin.php +++ b/plugins/Imap/ImapPlugin.php @@ -2,7 +2,7 @@ /** * StatusNet, the distributed open-source microblogging tool * - * Plugin to add a StatusNet Facebook application + * IMAP plugin to allow StatusNet to grab incoming emails and handle them as new user posts * * PHP version 5 * @@ -51,16 +51,21 @@ class ImapPlugin extends Plugin function initialize(){ if(!isset($this->mailbox)){ - throw new Exception(_m("A mailbox must be specified.")); + // TRANS: Exception thrown when configuration of the IMAP plugin is incorrect. + throw new Exception(_m('A mailbox must be specified.')); } if(!isset($this->user)){ - throw new Exception(_m("A user must be specified."); + // TRANS: Exception thrown when configuration of the IMAP plugin is incorrect. + throw new Exception(_m('A user must be specified.')); } if(!isset($this->password)){ - throw new Exception(_m("A password must be specified.")); + // TRANS: Exception thrown when configuration of the IMAP plugin is incorrect. + throw new Exception(_m('A password must be specified.')); } if(!isset($this->poll_frequency)){ - throw new Exception(_m("A poll_frequency must be specified.")); + // TRANS: Exception thrown when configuration of the IMAP plugin is incorrect. + // TRANS: poll_frequency is a setting that should not be translated. + throw new Exception(_m('A poll_frequency must be specified.')); } return true; @@ -100,6 +105,7 @@ class ImapPlugin extends Plugin 'author' => 'Craig Andrews', 'homepage' => 'http://status.net/wiki/Plugin:IMAP', 'rawdescription' => + // TRANS: Plugin description. _m('The IMAP plugin allows for StatusNet to check a POP or IMAP mailbox for incoming mail containing user posts.')); return true; }