From 654ac1e090d29ce8a4c6d29a97ec7ca3f239c2f3 Mon Sep 17 00:00:00 2001
From: Sylvestre Ledru <sylvestre@debian.org>
Date: Wed, 08 Aug 2012 02:37:55 -0400
Subject: [PATCH] Fix some typos

---
 program/lib/Mail/mime.php                             |    2 +-
 CHANGELOG                                             |    2 +-
 plugins/enigma/enigma.php                             |    2 +-
 plugins/vcard_attachments/vcard_attachments.php       |    2 +-
 plugins/acl/acl.php                                   |    2 +-
 program/include/rcube_vcard.php                       |    2 +-
 program/include/rcube_db.php                          |    2 +-
 program/include/rcube_spellchecker.php                |   12 ++++++------
 plugins/subscriptions_option/subscriptions_option.php |    2 +-
 program/lib/Mail/mimePart.php                         |    2 +-
 10 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index ba7d1a1..93df5be 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -186,7 +186,7 @@
 - Fix handling contact photo url with https:// prefix (#1488202)
 - Fix possible infinite redirect on attachment preview (#1488199)
 - Improved clickjacking protection for browsers which don't support X-Frame-Options headers
-- Fixed bug where similiar folder names were highlighted wrong (#1487860)
+- Fixed bug where similar folder names were highlighted wrong (#1487860)
 - Fixed bug in handling link with '!' character in it (#1488195)
 - Fixed bug where session ID's length was limited to 40 characters (#1488196)
 - TinyMCE security issue: removed moxieplayer (embedding flv and mp4 is not supported anymore)
diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php
index 8709f0b..1442504 100644
--- a/plugins/acl/acl.php
+++ b/plugins/acl/acl.php
@@ -615,7 +615,7 @@
     private function get_realm()
     {
         // When user enters a username without domain part, realm
-        // alows to add it to the username (and display correct username in the table)
+        // allows to add it to the username (and display correct username in the table)
 
         if (isset($_SESSION['acl_username_realm'])) {
             return $_SESSION['acl_username_realm'];
diff --git a/plugins/enigma/enigma.php b/plugins/enigma/enigma.php
index 22afc90..a4009ce 100644
--- a/plugins/enigma/enigma.php
+++ b/plugins/enigma/enigma.php
@@ -429,7 +429,7 @@
             $style = "margin:0 1em; padding:0.2em 0.5em; border:1px solid #999; width: auto"
                 ." border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px";
 
-            // add box below messsage body
+            // add box below message body
             $p['content'] .= html::p(array('style' => $style),
                 html::a(array(
                     'href' => "#",
diff --git a/plugins/subscriptions_option/subscriptions_option.php b/plugins/subscriptions_option/subscriptions_option.php
index 8b27afb..b81a5ac 100644
--- a/plugins/subscriptions_option/subscriptions_option.php
+++ b/plugins/subscriptions_option/subscriptions_option.php
@@ -9,7 +9,7 @@
  *
  * Add it to the plugins list in config/main.inc.php to enable the user option
  * The user option can be hidden and set globally by adding 'use_subscriptions'
- * to the the 'dont_override' configure line:
+ * to the 'dont_override' configure line:
  * $rcmail_config['dont_override'] = array('use_subscriptions');
  * and then set the global preference
  * $rcmail_config['use_subscriptions'] = true; // or false
diff --git a/plugins/vcard_attachments/vcard_attachments.php b/plugins/vcard_attachments/vcard_attachments.php
index 1400cd5..ed6d453 100644
--- a/plugins/vcard_attachments/vcard_attachments.php
+++ b/plugins/vcard_attachments/vcard_attachments.php
@@ -81,7 +81,7 @@
                 if ($vcard->email[0])
                     $display .= ' <'.$vcard->email[0].'>';
 
-                // add box below messsage body
+                // add box below message body
                 $p['content'] .= html::p(array('class' => 'vcardattachment'),
                     html::a(array(
                         'href' => "#",
diff --git a/program/include/rcube_db.php b/program/include/rcube_db.php
index d0d213c..33dcbe9 100644
--- a/program/include/rcube_db.php
+++ b/program/include/rcube_db.php
@@ -196,7 +196,7 @@
     }
 
     /**
-     * Connect to appropiate database depending on the operation
+     * Connect to appropriate database depending on the operation
      *
      * @param string $mode Connection mode (r|w)
      */
diff --git a/program/include/rcube_spellchecker.php b/program/include/rcube_spellchecker.php
index a2d1f7c..219dca7 100644
--- a/program/include/rcube_spellchecker.php
+++ b/program/include/rcube_spellchecker.php
@@ -124,12 +124,12 @@
 
 
     /**
-     * Returns mispelled words
+     * Returns misspelled words
      *
      * @param string $text The content for spellchecking. If empty content
      *                     used for check() method will be used.
      *
-     * @return array List of mispelled words
+     * @return array List of misspelled words
      */
     function get_words($text = null, $is_html=false)
     {
@@ -164,7 +164,7 @@
 
 
     /**
-     * Returns checking result (mispelled words with suggestions)
+     * Returns checking result (misspelled words with suggestions)
      *
      * @return array Spellchecking result. An array indexed by word.
      */
@@ -243,7 +243,7 @@
 
 
     /**
-     * Returns the mispelled words
+     * Returns the misspelled words
      */
     private function _pspell_words($text = null, $is_html=false)
     {
@@ -257,7 +257,7 @@
                 return array();
             }
 
-            // With PSpell we don't need to get suggestions to return mispelled words
+            // With PSpell we don't need to get suggestions to return misspelled words
             if ($is_html) {
                 $text = $this->html2text($text);
             }
@@ -289,7 +289,7 @@
 
 
     /**
-     * Returns suggestions for mispelled word
+     * Returns suggestions for misspelled word
      */
     private function _pspell_suggestions($word)
     {
diff --git a/program/include/rcube_vcard.php b/program/include/rcube_vcard.php
index 52545a0..37cd3ab 100644
--- a/program/include/rcube_vcard.php
+++ b/program/include/rcube_vcard.php
@@ -703,7 +703,7 @@
    *
    * @param string vCard string to split
    * @param string Separator char/string
-   * @return array List with splitted values
+   * @return array List with splited values
    */
   private static function vcard_unquote($s, $sep = ';')
   {
diff --git a/program/lib/Mail/mime.php b/program/lib/Mail/mime.php
index 76c6ec2..c459b91 100644
--- a/program/lib/Mail/mime.php
+++ b/program/lib/Mail/mime.php
@@ -1090,7 +1090,7 @@
 
     /**
      * Get the text version of the headers
-     * (usefull if you want to use the PHP mail() function)
+     * (useful if you want to use the PHP mail() function)
      *
      * @param array $xtra_headers Assoc array with any extra headers (optional)
      *                            (Don't set Content-Type for multipart messages here!)
diff --git a/program/lib/Mail/mimePart.php b/program/lib/Mail/mimePart.php
index 4e4170d..292227f 100644
--- a/program/lib/Mail/mimePart.php
+++ b/program/lib/Mail/mimePart.php
@@ -648,7 +648,7 @@
     }
 
     /**
-     * Encodes the paramater of a header.
+     * Encodes the parameter of a header.
      *
      * @param string $name      The name of the header-parameter
      * @param string $value     The value of the paramter

--
Gitblit v1.9.1