From 0d35894a0b6e75e2507d46e0bae9aeef85a167d9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 21 Jan 2004 06:42:37 +0000 Subject: - Patch 5283 by Stefan: fixed typos in comment module. --- modules/comment.module | 14 +++++++------- modules/comment/comment.module | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'modules') diff --git a/modules/comment.module b/modules/comment.module index a15e2321d..9150a9806 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -67,7 +67,7 @@ function comment_help($section = "admin/help#comment") { $output .= "

Initial comment scores

"; $output .= "

Finally, you may want to enter some initial comment scores. In administer » comments » initial comment scores you can assign a beginning rating for all comments posted by a particular permission role. If you do not assign any initial scores, Drupal will assign a rating of 0 as the default.

"; - $output = t($output, array("%comment-config" => url("admin/system/modules/comment"), "%site-config" => url("admin/system"), "%user-permissions" => url("admin/user/permission"), "%tracker" => url("tracker"), "%download-notify" => "http://drupal.org/project/releases", "%permission" => url("admin/user/permissions"), "%comment-moderation" => url("admin/comment/moderation"), "%comment-votes" => url("admin/comment/moderation/votes"), "%comment-matrix" => url("admin/comment/moderation/matrix"), "%comment-thresholds" => url("admin/comment/moderation/thresholds"), "%slashdot" => " http://slashdot.org", "%comment-initial" => url("admin/comments/moderation/roles"))); + $output = t($output, array("%comment-config" => url("admin/system/modules/comment"), "%site-config" => url("admin/system"), "%user-permissions" => url("admin/user/permission"), "%tracker" => url("tracker"), "%download-notify" => "http://drupal.org/project/releases", "%permission" => url("admin/user/permission"), "%comment-moderation" => url("admin/comment/moderation"), "%comment-votes" => url("admin/comment/moderation/votes"), "%comment-matrix" => url("admin/comment/moderation/matrix"), "%comment-thresholds" => url("admin/comment/moderation/filters"), "%slashdot" => " http://slashdot.org", "%comment-initial" => url("admin/comment/moderation/roles"))); break; case 'admin/system/modules#description': $output = t("Enables user to comment on content (nodes)."); @@ -79,7 +79,7 @@ function comment_help($section = "admin/help#comment") { $output = t("Comments let users give feedback to content authors. Here you may review/approve/deny recent comments, and configure moderation if desired."); break; case 'admin/comment/comments': - $output = t("Click on new or updated comments to see your latest comments, or comment approval queue to approve new comments.", array("%nup" => url("admin/comment/0"), "%queue" => url("admin/comment/1"))); + $output = t("Click on new or updated comments to see your latest comments, or comment approval queue to approve new comments.", array("%nup" => url("admin/comment/comments/0"), "%queue" => url("admin/comment/moderation"))); break; case 'admin/comment/comments/0': $output = 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."); @@ -87,8 +87,8 @@ function comment_help($section = "admin/help#comment") { case 'admin/comment/comments/1': $output = 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 it's 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."); break; - case 'admin/comments/moderation': - $output = t("If you have a 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/comment/moderation/votes"), "%matrix" => url("admin/comment/moderation/matrix"), "%threshold" => url("admin/comment/moderation/threshold"))); + case 'admin/comment/moderation': + $output = t("If you have a 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/comment/moderation/votes"), "%matrix" => url("admin/comment/moderation/matrix"), "%threshhold" => url("admin/comment/moderation/filters"))); break; case 'admin/comment/moderation/votes': $output = t("Here is where you setup the names 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: "); @@ -102,7 +102,7 @@ function comment_help($section = "admin/help#comment") { case 'admin/comment/moderation/roles': $output = t("Here you can setup the initial vote value of a comment posted by each user role. This value is used before any other users vote on the comment.
Note: Blank entries are valued at zero"); break; - case ' admin/comment/search': + case 'admin/comment/search': $output = t("Enter a simple pattern ( '*' maybe used as a wildcard match) to search for a comment. For example, one may search for 'br' and Drupal might return 'bread brakers', 'our daily bread' and 'brenda'."); break; } @@ -803,7 +803,7 @@ function comment_link($type, $node = 0, $main = 0) { if (user_access("administer comments")) { menu("admin/comment", t("comments"), "comment_admin", 1); - menu("admin/comment/comments", t("overview"), NULL, 2); + menu("admin/comment/comments", t("overview"), "comment_admin", 2); menu("admin/comment/comments/0", t("new/updated"), "comment_admin", 1); menu("admin/comment/comments/1", t("approval queue"), "comment_admin", 2); menu("admin/comment/search", t("search"), "comment_admin", 8); @@ -813,7 +813,7 @@ function comment_link($type, $node = 0, $main = 0) { // comment settings: if (user_access("administer moderation")) { - menu("admin/comment/moderation", t("moderation"), NULL, 3); + menu("admin/comment/moderation", t("moderation"), "comment_admin", 3); menu("admin/comment/moderation/votes", t("votes"), "comment_admin"); menu("admin/comment/moderation/matrix", t("matrix"), "comment_admin"); menu("admin/comment/moderation/filters", t("thresholds"), "comment_admin"); diff --git a/modules/comment/comment.module b/modules/comment/comment.module index a15e2321d..9150a9806 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -67,7 +67,7 @@ function comment_help($section = "admin/help#comment") { $output .= "

Initial comment scores

"; $output .= "

Finally, you may want to enter some initial comment scores. In administer » comments » initial comment scores you can assign a beginning rating for all comments posted by a particular permission role. If you do not assign any initial scores, Drupal will assign a rating of 0 as the default.

"; - $output = t($output, array("%comment-config" => url("admin/system/modules/comment"), "%site-config" => url("admin/system"), "%user-permissions" => url("admin/user/permission"), "%tracker" => url("tracker"), "%download-notify" => "http://drupal.org/project/releases", "%permission" => url("admin/user/permissions"), "%comment-moderation" => url("admin/comment/moderation"), "%comment-votes" => url("admin/comment/moderation/votes"), "%comment-matrix" => url("admin/comment/moderation/matrix"), "%comment-thresholds" => url("admin/comment/moderation/thresholds"), "%slashdot" => " http://slashdot.org", "%comment-initial" => url("admin/comments/moderation/roles"))); + $output = t($output, array("%comment-config" => url("admin/system/modules/comment"), "%site-config" => url("admin/system"), "%user-permissions" => url("admin/user/permission"), "%tracker" => url("tracker"), "%download-notify" => "http://drupal.org/project/releases", "%permission" => url("admin/user/permission"), "%comment-moderation" => url("admin/comment/moderation"), "%comment-votes" => url("admin/comment/moderation/votes"), "%comment-matrix" => url("admin/comment/moderation/matrix"), "%comment-thresholds" => url("admin/comment/moderation/filters"), "%slashdot" => " http://slashdot.org", "%comment-initial" => url("admin/comment/moderation/roles"))); break; case 'admin/system/modules#description': $output = t("Enables user to comment on content (nodes)."); @@ -79,7 +79,7 @@ function comment_help($section = "admin/help#comment") { $output = t("Comments let users give feedback to content authors. Here you may review/approve/deny recent comments, and configure moderation if desired."); break; case 'admin/comment/comments': - $output = t("Click on new or updated comments to see your latest comments, or comment approval queue to approve new comments.", array("%nup" => url("admin/comment/0"), "%queue" => url("admin/comment/1"))); + $output = t("Click on new or updated comments to see your latest comments, or comment approval queue to approve new comments.", array("%nup" => url("admin/comment/comments/0"), "%queue" => url("admin/comment/moderation"))); break; case 'admin/comment/comments/0': $output = 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."); @@ -87,8 +87,8 @@ function comment_help($section = "admin/help#comment") { case 'admin/comment/comments/1': $output = 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 it's 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."); break; - case 'admin/comments/moderation': - $output = t("If you have a 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/comment/moderation/votes"), "%matrix" => url("admin/comment/moderation/matrix"), "%threshold" => url("admin/comment/moderation/threshold"))); + case 'admin/comment/moderation': + $output = t("If you have a 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/comment/moderation/votes"), "%matrix" => url("admin/comment/moderation/matrix"), "%threshhold" => url("admin/comment/moderation/filters"))); break; case 'admin/comment/moderation/votes': $output = t("Here is where you setup the names 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: "); @@ -102,7 +102,7 @@ function comment_help($section = "admin/help#comment") { case 'admin/comment/moderation/roles': $output = t("Here you can setup the initial vote value of a comment posted by each user role. This value is used before any other users vote on the comment.
Note: Blank entries are valued at zero"); break; - case ' admin/comment/search': + case 'admin/comment/search': $output = t("Enter a simple pattern ( '*' maybe used as a wildcard match) to search for a comment. For example, one may search for 'br' and Drupal might return 'bread brakers', 'our daily bread' and 'brenda'."); break; } @@ -803,7 +803,7 @@ function comment_link($type, $node = 0, $main = 0) { if (user_access("administer comments")) { menu("admin/comment", t("comments"), "comment_admin", 1); - menu("admin/comment/comments", t("overview"), NULL, 2); + menu("admin/comment/comments", t("overview"), "comment_admin", 2); menu("admin/comment/comments/0", t("new/updated"), "comment_admin", 1); menu("admin/comment/comments/1", t("approval queue"), "comment_admin", 2); menu("admin/comment/search", t("search"), "comment_admin", 8); @@ -813,7 +813,7 @@ function comment_link($type, $node = 0, $main = 0) { // comment settings: if (user_access("administer moderation")) { - menu("admin/comment/moderation", t("moderation"), NULL, 3); + menu("admin/comment/moderation", t("moderation"), "comment_admin", 3); menu("admin/comment/moderation/votes", t("votes"), "comment_admin"); menu("admin/comment/moderation/matrix", t("matrix"), "comment_admin"); menu("admin/comment/moderation/filters", t("thresholds"), "comment_admin"); -- cgit v1.2.3