diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-03-31 21:18:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-03-31 21:18:08 +0000 |
commit | 7bdcba172030b6c4aedf3e00514af1a857a04593 (patch) | |
tree | 752dcfa0080db649804125648993a7fa3174e50a /modules | |
parent | be14203534c5f09d0c70c2bf59b81b80f2a90b32 (diff) | |
download | brdo-7bdcba172030b6c4aedf3e00514af1a857a04593.tar.gz brdo-7bdcba172030b6c4aedf3e00514af1a857a04593.tar.bz2 |
- Patch #19739 by Uwe: corrected many typo's in the documentation and code comments
Diffstat (limited to 'modules')
-rw-r--r-- | modules/aggregator.module | 2 | ||||
-rw-r--r-- | modules/aggregator/aggregator.module | 2 | ||||
-rw-r--r-- | modules/forum.module | 4 | ||||
-rw-r--r-- | modules/forum/forum.module | 4 | ||||
-rw-r--r-- | modules/menu.module | 2 | ||||
-rw-r--r-- | modules/menu/menu.module | 2 | ||||
-rw-r--r-- | modules/node.module | 2 | ||||
-rw-r--r-- | modules/node/node.module | 2 | ||||
-rw-r--r-- | modules/search.module | 8 | ||||
-rw-r--r-- | modules/search/search.module | 8 |
10 files changed, 18 insertions, 18 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module index 2374afd9c..d7bfbf3b3 100644 --- a/modules/aggregator.module +++ b/modules/aggregator.module @@ -413,7 +413,7 @@ function aggregator_refresh($feed) { * Parse the W3C date/time format, a subset of ISO 8601. PHP date parsing * functions do not handle this format. * See http://www.w3.org/TR/NOTE-datetime for more information. - * Origionally from MagpieRSS (http://magpierss.sourceforge.net/). + * Originally from MagpieRSS (http://magpierss.sourceforge.net/). * * @param $date_str A string with a potentially W3C DTF date. * @return A timestamp if parsed successfully or -1 if not. diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 2374afd9c..d7bfbf3b3 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -413,7 +413,7 @@ function aggregator_refresh($feed) { * Parse the W3C date/time format, a subset of ISO 8601. PHP date parsing * functions do not handle this format. * See http://www.w3.org/TR/NOTE-datetime for more information. - * Origionally from MagpieRSS (http://magpierss.sourceforge.net/). + * Originally from MagpieRSS (http://magpierss.sourceforge.net/). * * @param $date_str A string with a potentially W3C DTF date. * @return A timestamp if parsed successfully or -1 if not. diff --git a/modules/forum.module b/modules/forum.module index dae76244f..1d95115d3 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -56,7 +56,7 @@ function forum_perm() { } /** - * Admiinstration page which allows maintaining forums + * Administration page which allows maintaining forums */ function forum_admin() { $op = $_POST['op']; @@ -219,7 +219,7 @@ function _forum_parent_select($tid, $title, $name) { } /** - * Returns an overview list of existing forums and contianers + * Returns an overview list of existing forums and containers */ function forum_overview() { $header = array(t('Name'), t('Operations')); diff --git a/modules/forum/forum.module b/modules/forum/forum.module index dae76244f..1d95115d3 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -56,7 +56,7 @@ function forum_perm() { } /** - * Admiinstration page which allows maintaining forums + * Administration page which allows maintaining forums */ function forum_admin() { $op = $_POST['op']; @@ -219,7 +219,7 @@ function _forum_parent_select($tid, $title, $name) { } /** - * Returns an overview list of existing forums and contianers + * Returns an overview list of existing forums and containers */ function forum_overview() { $header = array(t('Name'), t('Operations')); diff --git a/modules/menu.module b/modules/menu.module index 28e207f92..26ac4e127 100644 --- a/modules/menu.module +++ b/modules/menu.module @@ -202,7 +202,7 @@ function menu_delete_item($mid) { } else { $message = t('Are you sure you want to delete the custom menu item %item?', array('%item' => theme('placeholder', $menu->title))); - } + } $output = theme('confirm', $message, 'admin/menu', t('This action cannot be undone.'), t('Delete')); print theme('page', $output); } diff --git a/modules/menu/menu.module b/modules/menu/menu.module index 28e207f92..26ac4e127 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -202,7 +202,7 @@ function menu_delete_item($mid) { } else { $message = t('Are you sure you want to delete the custom menu item %item?', array('%item' => theme('placeholder', $menu->title))); - } + } $output = theme('confirm', $message, 'admin/menu', t('This action cannot be undone.'), t('Delete')); print theme('page', $output); } diff --git a/modules/node.module b/modules/node.module index adf40d94c..c69c1bc53 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1204,7 +1204,7 @@ function node_validate($node) { } } - // Make sure the body has the minimim number of words. + // Make sure the body has the minimum number of words. // todo use a better word counting algorithm that will work in other languages if (isset($node->body) && count(explode(' ', $node->body)) < variable_get('minimum_'. $node->type .'_size', 0)) { form_set_error('body', t('The body of your %type is too short. You need at least %words words.', array('%words' => variable_get('minimum_'. $node->type .'_size', 0), '%type' => node_invoke($node->type, 'node_name')))); diff --git a/modules/node/node.module b/modules/node/node.module index adf40d94c..c69c1bc53 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1204,7 +1204,7 @@ function node_validate($node) { } } - // Make sure the body has the minimim number of words. + // Make sure the body has the minimum number of words. // todo use a better word counting algorithm that will work in other languages if (isset($node->body) && count(explode(' ', $node->body)) < variable_get('minimum_'. $node->type .'_size', 0)) { form_set_error('body', t('The body of your %type is too short. You need at least %words words.', array('%words' => variable_get('minimum_'. $node->type .'_size', 0), '%type' => node_invoke($node->type, 'node_name')))); diff --git a/modules/search.module b/modules/search.module index 8fa3f1e5d..2b461726a 100644 --- a/modules/search.module +++ b/modules/search.module @@ -285,7 +285,7 @@ function _search_keywords_truncate(&$text) { /** * Loosens up a set of search keywords by adding wildcards, if possible. - * + * * @param $text * The keywords as entered by the user. * @return @@ -563,7 +563,7 @@ function search_view() { } else if ($type == '') { // Note: search/node can not be a default tab because it would take on the - // path of its parent (search). It would prevent remembing keywords when + // path of its parent (search). It would prevent remembering keywords when // switching tabs. This is why we drupal_goto to it from the parent instead. drupal_goto('search/node'); } @@ -719,7 +719,7 @@ function search_excerpt($keys, $text) { // Extract a fragment per keyword for at most 4 keywords. // First we collect ranges of text around each keyword, starting/ending // at spaces. - // If the sum of all fragments is too short, we look for second occurences. + // If the sum of all fragments is too short, we look for second occurrences. $ranges = array(); $included = array(); $length = 0; @@ -732,7 +732,7 @@ function search_excerpt($keys, $text) { if ($length >= 256) { break; } - // Remember occurence of key so we can skip over it if more occurences + // Remember occurrence of key so we can skip over it if more occurrences // are desired. if (!isset($included[$key])) { $included[$key] = 0; diff --git a/modules/search/search.module b/modules/search/search.module index 8fa3f1e5d..2b461726a 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -285,7 +285,7 @@ function _search_keywords_truncate(&$text) { /** * Loosens up a set of search keywords by adding wildcards, if possible. - * + * * @param $text * The keywords as entered by the user. * @return @@ -563,7 +563,7 @@ function search_view() { } else if ($type == '') { // Note: search/node can not be a default tab because it would take on the - // path of its parent (search). It would prevent remembing keywords when + // path of its parent (search). It would prevent remembering keywords when // switching tabs. This is why we drupal_goto to it from the parent instead. drupal_goto('search/node'); } @@ -719,7 +719,7 @@ function search_excerpt($keys, $text) { // Extract a fragment per keyword for at most 4 keywords. // First we collect ranges of text around each keyword, starting/ending // at spaces. - // If the sum of all fragments is too short, we look for second occurences. + // If the sum of all fragments is too short, we look for second occurrences. $ranges = array(); $included = array(); $length = 0; @@ -732,7 +732,7 @@ function search_excerpt($keys, $text) { if ($length >= 256) { break; } - // Remember occurence of key so we can skip over it if more occurences + // Remember occurrence of key so we can skip over it if more occurrences // are desired. if (!isset($included[$key])) { $included[$key] = 0; |