From 4b449a7e5d6347603fa3a1ed70d0e9273db2b92b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 20 Jun 2004 19:43:28 +0000 Subject: - Patch #8670 by asimmonds: spelling fixes. --- modules/aggregator.module | 10 +++++----- modules/aggregator/aggregator.module | 10 +++++----- modules/comment.module | 8 ++++---- modules/comment/comment.module | 8 ++++---- modules/statistics.module | 2 +- modules/statistics/statistics.module | 2 +- modules/system.module | 4 ++-- modules/system/system.module | 4 ++-- modules/taxonomy.module | 2 +- modules/taxonomy/taxonomy.module | 2 +- 10 files changed, 26 insertions(+), 26 deletions(-) (limited to 'modules') diff --git a/modules/aggregator.module b/modules/aggregator.module index 7c3357d99..d464c7aa1 100644 --- a/modules/aggregator.module +++ b/modules/aggregator.module @@ -63,7 +63,7 @@ function aggregator_help($section) { case 'admin/aggregator/add/feed': return t('Add a site that has an RSS/RDF feed. The URL is the full path to the RSS feed file. For the feed to update automatically you must run "cron.php". If you already have a feed with the URL you are planning to use, the system will not accept another feed with the same URL.'); case 'admin/aggregator/add/category': - return t('Categoriess provide a generalized way of creating composite news pages or blocks. They allow you, for example, to combine various sport-related items into one category called Sports. News items can be added to a category automatically by setting a feed to automatically place items in a category or by using the categorize items link in any listing of news items.'); + return t('Categories provide a generalized way of creating composite news pages or blocks. They allow you, for example, to combine various sport-related items into one category called Sports. News items can be added to a category automatically by setting a feed to automatically place items in a category or by using the categorize items link in any listing of news items.'); } } @@ -331,7 +331,7 @@ function aggregator_refresh($feed) { // Request feed. $result = drupal_http_request($feed['url'], $headers); - // Process HTTP reponse code. + // Process HTTP response code. switch ($result->code) { case 304: db_query('UPDATE {aggregator_feed} SET checked = %d WHERE fid = %d', time(), $feed['fid']); @@ -586,13 +586,13 @@ function aggregator_form_feed($edit = array()) { $form .= form_textfield(t('Title'), 'title', $edit['title'], 50, 64, t('The name of the feed; typically the name of the web site you syndicate content from.')); $form .= form_textfield(t('URL'), 'url', $edit['url'], 50, 128, t('The fully-qualified URL of the feed.')); $form .= form_select(t('Update interval'), 'refresh', $edit['refresh'], $period, t('The refresh interval indicating how often you want to update this feed. Requires crontab.')); - $form .= form_select(t('Latest items block'), 'block', $edit['block'], $block_items, t('If enabled, a block containing the latest items from this feed will be availiable for placement on the block configuration page.', array('%url' => url('admin/block')))); + $form .= form_select(t('Latest items block'), 'block', $edit['block'], $block_items, t('If enabled, a block containing the latest items from this feed will be available for placement on the block configuration page.', array('%url' => url('admin/block')))); $categories = db_query('SELECT c.cid, c.title, f.fid FROM {aggregator_category} c LEFT JOIN {aggregator_category_feed} f ON c.cid = f.cid AND f.fid = %d ORDER BY title', $edit['fid']); while ($category = db_fetch_object($categories)) { $checkboxes .= form_checkbox($category->title, "category][$category->cid", 1, $category->fid ? 1 : 0); } if ($checkboxes) { - $form .= form_group(t('Automatically file items'), $checkboxes, t('New items in this feed will be automatically filed in the the checked categories as they are recieved.')); + $form .= form_group(t('Automatically file items'), $checkboxes, t('New items in this feed will be automatically filed in the the checked categories as they are received.')); } $form .= form_submit(t('Submit')); @@ -607,7 +607,7 @@ function aggregator_form_feed($edit = array()) { function aggregator_save_feed($edit) { if ($edit['fid']) { - // an exisitng feed is being modified, delete the category listings + // an existing feed is being modified, delete the category listings db_query('DELETE FROM {aggregator_category_feed} WHERE fid = %d', $edit['fid']); } if ($edit['fid'] && $edit['title']) { diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 7c3357d99..d464c7aa1 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -63,7 +63,7 @@ function aggregator_help($section) { case 'admin/aggregator/add/feed': return t('Add a site that has an RSS/RDF feed. The URL is the full path to the RSS feed file. For the feed to update automatically you must run "cron.php". If you already have a feed with the URL you are planning to use, the system will not accept another feed with the same URL.'); case 'admin/aggregator/add/category': - return t('Categoriess provide a generalized way of creating composite news pages or blocks. They allow you, for example, to combine various sport-related items into one category called Sports. News items can be added to a category automatically by setting a feed to automatically place items in a category or by using the categorize items link in any listing of news items.'); + return t('Categories provide a generalized way of creating composite news pages or blocks. They allow you, for example, to combine various sport-related items into one category called Sports. News items can be added to a category automatically by setting a feed to automatically place items in a category or by using the categorize items link in any listing of news items.'); } } @@ -331,7 +331,7 @@ function aggregator_refresh($feed) { // Request feed. $result = drupal_http_request($feed['url'], $headers); - // Process HTTP reponse code. + // Process HTTP response code. switch ($result->code) { case 304: db_query('UPDATE {aggregator_feed} SET checked = %d WHERE fid = %d', time(), $feed['fid']); @@ -586,13 +586,13 @@ function aggregator_form_feed($edit = array()) { $form .= form_textfield(t('Title'), 'title', $edit['title'], 50, 64, t('The name of the feed; typically the name of the web site you syndicate content from.')); $form .= form_textfield(t('URL'), 'url', $edit['url'], 50, 128, t('The fully-qualified URL of the feed.')); $form .= form_select(t('Update interval'), 'refresh', $edit['refresh'], $period, t('The refresh interval indicating how often you want to update this feed. Requires crontab.')); - $form .= form_select(t('Latest items block'), 'block', $edit['block'], $block_items, t('If enabled, a block containing the latest items from this feed will be availiable for placement on the block configuration page.', array('%url' => url('admin/block')))); + $form .= form_select(t('Latest items block'), 'block', $edit['block'], $block_items, t('If enabled, a block containing the latest items from this feed will be available for placement on the block configuration page.', array('%url' => url('admin/block')))); $categories = db_query('SELECT c.cid, c.title, f.fid FROM {aggregator_category} c LEFT JOIN {aggregator_category_feed} f ON c.cid = f.cid AND f.fid = %d ORDER BY title', $edit['fid']); while ($category = db_fetch_object($categories)) { $checkboxes .= form_checkbox($category->title, "category][$category->cid", 1, $category->fid ? 1 : 0); } if ($checkboxes) { - $form .= form_group(t('Automatically file items'), $checkboxes, t('New items in this feed will be automatically filed in the the checked categories as they are recieved.')); + $form .= form_group(t('Automatically file items'), $checkboxes, t('New items in this feed will be automatically filed in the the checked categories as they are received.')); } $form .= form_submit(t('Submit')); @@ -607,7 +607,7 @@ function aggregator_form_feed($edit = array()) { function aggregator_save_feed($edit) { if ($edit['fid']) { - // an exisitng feed is being modified, delete the category listings + // an existing feed is being modified, delete the category listings db_query('DELETE FROM {aggregator_category_feed} WHERE fid = %d', $edit['fid']); } if ($edit['fid'] && $edit['title']) { diff --git a/modules/comment.module b/modules/comment.module index 64f8721d6..1f9fdd060 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -72,13 +72,13 @@ function comment_help($section) { case 'admin/modules#description': return t('Enables user to comment on content (nodes).'); case 'admin/settings/comment': - return t("Comments can be attached to any node. Below are the settings for comments. The display comes in two types, a \"flat list\" where everything is flush to the left side, and comments come in cronological order, and a \"threaded list\" where comments to other comments are placed immediately below and slightly indented forming an outline. They also come in two styles: \"expanded\", where you see both the title and the contents, and \"collapsed\" where you only see the title. To set the default threshold you first have to set up thresholds in the administer » comments » moderation » thresholds area. Preview comment forces a user to look at their comment by clicking on a \"Preview\" button before they can actually add the comment. If \"New comment form\" is enabled then at the bottom of every comment page there will be a form too add a new comment.", array('%threshold' => url('admin/settings/comment/thresholds'))); + return t("Comments can be attached to any node. Below are the settings for comments. The display comes in two types, a \"flat list\" where everything is flush to the left side, and comments come in chronological order, and a \"threaded list\" where comments to other comments are placed immediately below and slightly indented forming an outline. They also come in two styles: \"expanded\", where you see both the title and the contents, and \"collapsed\" where you only see the title. To set the default threshold you first have to set up thresholds in the administer » comments » moderation » thresholds area. Preview comment forces a user to look at their comment by clicking on a \"Preview\" button before they can actually add the comment. If \"New comment form\" is enabled then at the bottom of every comment page there will be a form too add a new comment.", array('%threshold' => url('admin/settings/comment/thresholds'))); case 'admin/comment': return t("Below is a list of the latest comments posted your site. Click on a subject to see the comment, the author's name to edit the author's user information , \"edit comment\" to edit the comment, and \"delete comment\" to remove the comment."); case 'admin/comment/approval': return t("Below is a list of the comments posted to your site that need approval. To approve a comment click on \"edit comment\" and then change its moderation status to Approved.
Click on a subject to see the comment, the author's name to edit the author's user information, \"edit comment\" to edit the comment, and \"delete comment\" to remove the comment."); case 'admin/settings/comment': // TODO: THIS IS NEVER USED - return t("If you get a lot of comments, you can enable comment moderation. Once moderation is enabled, users can vote on a comment based on dropdown menus. Votes sets up the names in the dropdown menu, and the order in which they appear, using weights. Matrix sets up the value of each user's vote, and threshhold sets up the levels at which a comment will be displayed.", array('%votes' => url('admin/settings/comment/votes'), '%matrix' => url('admin/settings/comment/matrix'), '%threshhold' => url('admin/settings/comment/thresholds'))); + return t("If you get a lot of comments, you can enable comment moderation. Once moderation is enabled, users can vote on a comment based on dropdown menus. Votes sets up the names in the dropdown menu, and the order in which they appear, using weights. Matrix sets up the value of each user's vote, and threshold sets up the levels at which a comment will be displayed.", array('%votes' => url('admin/settings/comment/votes'), '%matrix' => url('admin/settings/comment/matrix'), '%threshold' => url('admin/settings/comment/thresholds'))); case 'admin/settings/comment/votes': return t('Here is where you set up the name of each type of vote. "Weight" lets you set the order of the drop down menu. Click edit to edit a current vote weight.
Notes: '); case 'admin/settings/comment/matrix': @@ -253,7 +253,7 @@ function comment_validate_form($edit) { if ($edit['mail']) { if (!valid_email_address($edit['mail'])) { - form_set_error('mail', t('The e-mail address you specifed is not valid.')); + form_set_error('mail', t('The e-mail address you specified is not valid.')); } } else if (variable_get('comment_anonymous', 0) == 2) { @@ -1172,7 +1172,7 @@ function comment_threshold_settings() { } $output .= '

'. (isset($fid) ? 'Edit' : 'Add new') .' threshold

'; - $form .= form_textfield(t('Threshhold name'), 'filter', $filter->filter, 32, 64, t('The name of this threshold. Example: "good comments", "+1 comments", "everything".')); + $form .= form_textfield(t('Threshold name'), 'filter', $filter->filter, 32, 64, t('The name of this threshold. Example: "good comments", "+1 comments", "everything".')); $form .= form_textfield(t('Minimum score'), 'minimum', $filter->minimum, 32, 64, t('Show all comments whose score is larger or equal to the provided minimal score. Range: -127 +128')); if ($fid) { $form .= form_submit(t('Save threshold')); diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 64f8721d6..1f9fdd060 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -72,13 +72,13 @@ function comment_help($section) { case 'admin/modules#description': return t('Enables user to comment on content (nodes).'); case 'admin/settings/comment': - return t("Comments can be attached to any node. Below are the settings for comments. The display comes in two types, a \"flat list\" where everything is flush to the left side, and comments come in cronological order, and a \"threaded list\" where comments to other comments are placed immediately below and slightly indented forming an outline. They also come in two styles: \"expanded\", where you see both the title and the contents, and \"collapsed\" where you only see the title. To set the default threshold you first have to set up thresholds in the administer » comments » moderation » thresholds area. Preview comment forces a user to look at their comment by clicking on a \"Preview\" button before they can actually add the comment. If \"New comment form\" is enabled then at the bottom of every comment page there will be a form too add a new comment.", array('%threshold' => url('admin/settings/comment/thresholds'))); + return t("Comments can be attached to any node. Below are the settings for comments. The display comes in two types, a \"flat list\" where everything is flush to the left side, and comments come in chronological order, and a \"threaded list\" where comments to other comments are placed immediately below and slightly indented forming an outline. They also come in two styles: \"expanded\", where you see both the title and the contents, and \"collapsed\" where you only see the title. To set the default threshold you first have to set up thresholds in the administer » comments » moderation » thresholds area. Preview comment forces a user to look at their comment by clicking on a \"Preview\" button before they can actually add the comment. If \"New comment form\" is enabled then at the bottom of every comment page there will be a form too add a new comment.", array('%threshold' => url('admin/settings/comment/thresholds'))); case 'admin/comment': return t("Below is a list of the latest comments posted your site. Click on a subject to see the comment, the author's name to edit the author's user information , \"edit comment\" to edit the comment, and \"delete comment\" to remove the comment."); case 'admin/comment/approval': return t("Below is a list of the comments posted to your site that need approval. To approve a comment click on \"edit comment\" and then change its moderation status to Approved.
Click on a subject to see the comment, the author's name to edit the author's user information, \"edit comment\" to edit the comment, and \"delete comment\" to remove the comment."); case 'admin/settings/comment': // TODO: THIS IS NEVER USED - return t("If you get a lot of comments, you can enable comment moderation. Once moderation is enabled, users can vote on a comment based on dropdown menus. Votes sets up the names in the dropdown menu, and the order in which they appear, using weights. Matrix sets up the value of each user's vote, and threshhold sets up the levels at which a comment will be displayed.", array('%votes' => url('admin/settings/comment/votes'), '%matrix' => url('admin/settings/comment/matrix'), '%threshhold' => url('admin/settings/comment/thresholds'))); + return t("If you get a lot of comments, you can enable comment moderation. Once moderation is enabled, users can vote on a comment based on dropdown menus. Votes sets up the names in the dropdown menu, and the order in which they appear, using weights. Matrix sets up the value of each user's vote, and threshold sets up the levels at which a comment will be displayed.", array('%votes' => url('admin/settings/comment/votes'), '%matrix' => url('admin/settings/comment/matrix'), '%threshold' => url('admin/settings/comment/thresholds'))); case 'admin/settings/comment/votes': return t('Here is where you set up the name of each type of vote. "Weight" lets you set the order of the drop down menu. Click edit to edit a current vote weight.
Notes: '); case 'admin/settings/comment/matrix': @@ -253,7 +253,7 @@ function comment_validate_form($edit) { if ($edit['mail']) { if (!valid_email_address($edit['mail'])) { - form_set_error('mail', t('The e-mail address you specifed is not valid.')); + form_set_error('mail', t('The e-mail address you specified is not valid.')); } } else if (variable_get('comment_anonymous', 0) == 2) { @@ -1172,7 +1172,7 @@ function comment_threshold_settings() { } $output .= '

'. (isset($fid) ? 'Edit' : 'Add new') .' threshold

'; - $form .= form_textfield(t('Threshhold name'), 'filter', $filter->filter, 32, 64, t('The name of this threshold. Example: "good comments", "+1 comments", "everything".')); + $form .= form_textfield(t('Threshold name'), 'filter', $filter->filter, 32, 64, t('The name of this threshold. Example: "good comments", "+1 comments", "everything".')); $form .= form_textfield(t('Minimum score'), 'minimum', $filter->minimum, 32, 64, t('Show all comments whose score is larger or equal to the provided minimal score. Range: -127 +128')); if ($fid) { $form .= form_submit(t('Save threshold')); diff --git a/modules/statistics.module b/modules/statistics.module index 71b4dfbfe..11b9ace58 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -30,7 +30,7 @@ function statistics_help($section) {

Configuring the statistics module

There are some configuration options added to the main administer » configuration section: