]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
* update i18n/L10n
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 18 Sep 2010 09:43:17 +0000 (11:43 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 18 Sep 2010 09:43:17 +0000 (11:43 +0200)
* remove superfluous whitespace

plugins/Imap/ImapPlugin.php
plugins/Imap/imapmanager.php

index 66be799d3edc02148f88d8e97be326cfce995b1d..1661ed86eaafc012629c7476c83606105823a21e 100644 (file)
@@ -51,16 +51,16 @@ class ImapPlugin extends Plugin
 
     function initialize(){
         if(!isset($this->mailbox)){
-            throw new Exception("must specify a mailbox");
+            throw new Exception(_m("A mailbox must be specified."));
         }
         if(!isset($this->user)){
-            throw new Exception("must specify a user");
+            throw new Exception(_m("A user must be specified.");
         }
         if(!isset($this->password)){
-            throw new Exception("must specify a password");
+            throw new Exception(_m("A password must be specified."));
         }
         if(!isset($this->poll_frequency)){
-            throw new Exception("must specify a poll_frequency");
+            throw new Exception(_m("A poll_frequency must be specified."));
         }
 
         return true;
index 0bbd42e78f023deec1d45443848fbd21e1a6ef07..68b8b7d8742d1a97abd39b7c877abb1ac57c3639 100644 (file)
@@ -92,12 +92,12 @@ class ImapManager extends IoManager
     {
         return $this->check_mailbox() > 0;
     }
-    
+
     function pollInterval()
     {
         return $this->plugin->poll_frequency;
     }
-    
+
     protected function connect()
     {
         $this->conn = imap_open($this->plugin->mailbox, $this->plugin->user, $this->plugin->password);