summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2012-08-08 08:37:27 +0200
committerSylvestre Ledru <sylvestre.ledru@scilab-enterprises.com>2012-08-08 08:37:55 +0200
commit654ac1e090d29ce8a4c6d29a97ec7ca3f239c2f3 (patch)
tree0d28d02c80d2660009074171e20b4ca561bd3f3b /program
parentde56ea1909d515d3e4807a04a6c4644b8226d08d (diff)
Fix some typos
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_db.php2
-rw-r--r--program/include/rcube_spellchecker.php12
-rw-r--r--program/include/rcube_vcard.php2
-rw-r--r--program/lib/Mail/mime.php2
-rw-r--r--program/lib/Mail/mimePart.php2
5 files changed, 10 insertions, 10 deletions
diff --git a/program/include/rcube_db.php b/program/include/rcube_db.php
index d0d213cd0..33dcbe975 100644
--- a/program/include/rcube_db.php
+++ b/program/include/rcube_db.php
@@ -196,7 +196,7 @@ class rcube_db
}
/**
- * 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 a2d1f7c61..219dca780 100644
--- a/program/include/rcube_spellchecker.php
+++ b/program/include/rcube_spellchecker.php
@@ -124,12 +124,12 @@ class rcube_spellchecker
/**
- * 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 @@ class rcube_spellchecker
/**
- * 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 @@ class rcube_spellchecker
/**
- * Returns the mispelled words
+ * Returns the misspelled words
*/
private function _pspell_words($text = null, $is_html=false)
{
@@ -257,7 +257,7 @@ class rcube_spellchecker
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 @@ class rcube_spellchecker
/**
- * 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 52545a0d9..37cd3ab26 100644
--- a/program/include/rcube_vcard.php
+++ b/program/include/rcube_vcard.php
@@ -703,7 +703,7 @@ class rcube_vcard
*
* @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 76c6ec2ff..c459b9123 100644
--- a/program/lib/Mail/mime.php
+++ b/program/lib/Mail/mime.php
@@ -1090,7 +1090,7 @@ class Mail_mime
/**
* 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 4e4170d8e..292227fb0 100644
--- a/program/lib/Mail/mimePart.php
+++ b/program/lib/Mail/mimePart.php
@@ -648,7 +648,7 @@ class Mail_mimePart
}
/**
- * 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