summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-10-22 08:28:47 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-10-22 08:28:47 +0000
commit36d44fbfb07e4682f219368e1424c58fc61315a1 (patch)
treed6a5363c6ec34a5b81aac6fee283ee7479d45ea4 /modules/comment/comment.module
parentc93c0fc7000f5cbb78ac2715ace58c28b789dc81 (diff)
downloadbrdo-36d44fbfb07e4682f219368e1424c58fc61315a1.tar.gz
brdo-36d44fbfb07e4682f219368e1424c58fc61315a1.tar.bz2
#84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module20
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index d2f85e895..c1489ed39 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -100,20 +100,20 @@ function comment_menu($may_cache) {
$access = user_access('administer comments');
$items[] = array(
'path' => 'admin/content/comment',
- 'title' => t('comments'),
+ 'title' => t('Comments'),
'description' => t('List and edit site comments and the comment moderation queue.'),
'callback' => 'comment_admin',
'access' => $access
);
// Tabs:
- $items[] = array('path' => 'admin/content/comment/list', 'title' => t('list'),
+ $items[] = array('path' => 'admin/content/comment/list', 'title' => t('List'),
'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10);
// Subtabs:
- $items[] = array('path' => 'admin/content/comment/list/new', 'title' => t('published comments'),
+ $items[] = array('path' => 'admin/content/comment/list/new', 'title' => t('Published comments'),
'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10);
- $items[] = array('path' => 'admin/content/comment/list/approval', 'title' => t('approval queue'),
+ $items[] = array('path' => 'admin/content/comment/list/approval', 'title' => t('Approval queue'),
'callback' => 'comment_admin',
'callback arguments' => array('approval'),
'access' => $access,
@@ -121,18 +121,18 @@ function comment_menu($may_cache) {
$items[] = array(
'path' => 'admin/content/comment/settings',
- 'title' => t('settings'),
+ 'title' => t('Settings'),
'callback' => 'drupal_get_form',
'callback arguments' => array('comment_admin_settings'),
'access' => $access,
'weight' => 10,
'type' => MENU_LOCAL_TASK);
- $items[] = array('path' => 'comment/delete', 'title' => t('delete comment'),
+ $items[] = array('path' => 'comment/delete', 'title' => t('Delete comment'),
'callback' => 'comment_delete', 'access' => $access, 'type' => MENU_CALLBACK);
$access = user_access('post comments');
- $items[] = array('path' => 'comment/edit', 'title' => t('edit comment'),
+ $items[] = array('path' => 'comment/edit', 'title' => t('Edit comment'),
'callback' => 'comment_edit',
'access' => $access, 'type' => MENU_CALLBACK);
}
@@ -140,12 +140,12 @@ function comment_menu($may_cache) {
if (arg(0) == 'comment' && arg(1) == 'reply' && is_numeric(arg(2))) {
$node = node_load(arg(2));
if ($node->nid) {
- $items[] = array('path' => 'comment/reply', 'title' => t('reply to comment'),
+ $items[] = array('path' => 'comment/reply', 'title' => t('Reply to comment'),
'callback' => 'comment_reply', 'access' => node_access('view', $node), 'type' => MENU_CALLBACK);
}
}
if ((arg(0) == 'node') && is_numeric(arg(1)) && is_numeric(arg(2))) {
- $items[] = array('path' => ('node/'. arg(1) .'/'. arg(2)), 'title' => t('view'),
+ $items[] = array('path' => ('node/'. arg(1) .'/'. arg(2)), 'title' => t('View'),
'callback' => 'node_page',
'type' => MENU_CALLBACK);
}
@@ -244,7 +244,7 @@ function comment_link($type, $node = NULL, $teaser = FALSE) {
if (user_access('post comments')) {
if (variable_get('comment_form_location', COMMENT_FORM_SEPARATE_PAGE) == COMMENT_FORM_SEPARATE_PAGE) {
$links['comment_add'] = array(
- 'title' => t('add new comment'),
+ 'title' => t('Add new comment'),
'href' => "comment/reply/$node->nid",
'attributes' => array('title' => t('Share your thoughts and opinions related to this posting.')),
'fragment' => 'comment_form'