Permalink
Browse files

Fix some typos

  • Loading branch information...
1 parent de56ea1 commit 654ac1e090d29ce8a4c6d29a97ec7ca3f239c2f3 @sylvestre sylvestre committed with sylvestre Aug 8, 2012
View
@@ -186,7 +186,7 @@ RELEASE 0.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)
View
@@ -615,7 +615,7 @@ function rights_supported()
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'];
@@ -429,7 +429,7 @@ function message_output($p)
$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' => "#",
@@ -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
@@ -81,7 +81,7 @@ function html_output($p)
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' => "#",
@@ -196,7 +196,7 @@ protected function set_charset($charset)
}
/**
- * Connect to appropiate database depending on the operation
+ * Connect to appropriate database depending on the operation
*
* @param string $mode Connection mode (r|w)
*/
@@ -124,12 +124,12 @@ function get_suggestions($word)
/**
- * 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 @@ function get_xml()
/**
- * 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 @@ private function _pspell_check($text)
/**
- * Returns the mispelled words
+ * Returns the misspelled words
*/
private function _pspell_words($text = null, $is_html=false)
{
@@ -257,7 +257,7 @@ private function _pspell_words($text = null, $is_html=false)
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 @@ private function _pspell_words($text = null, $is_html=false)
/**
- * Returns suggestions for mispelled word
+ * Returns suggestions for misspelled word
*/
private function _pspell_suggestions($word)
{
@@ -703,7 +703,7 @@ private static function vcard_quote($s, $sep = ';')
*
* @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 = ';')
{
@@ -1090,7 +1090,7 @@ function &headers($xtra_headers = null, $overwrite = false, $skip_content = fals
/**
* 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!)
@@ -648,7 +648,7 @@ function _quotedPrintableEncode($input , $line_max = 76)
}
/**
- * 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

0 comments on commit 654ac1e

Please sign in to comment.