diff --git a/includes/theme.inc b/includes/theme.inc index 043e4e2bdd4f6458f33773c0695b3e52b7c622c9..f8a3313b53370a247b016a1103bb9ec3935e5678 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -362,7 +362,7 @@ function theme_page($content) { $output = "\n"; $output .= ''; $output .= ''; - $output .= ' '. (drupal_get_title() ? strip_tags(drupal_get_title()) : variable_get('site_name', 'drupal')) .''; + $output .= ' '. (drupal_get_title() ? strip_tags(drupal_get_title()) : variable_get('site_name', 'Drupal')) .''; $output .= drupal_get_html_head(); $output .= drupal_get_css(); $output .= drupal_get_js(); diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 93129f6ddc4f1469f6e4457605e46c2a3adbfe0d..1fb22293ae3abe07b4b6d12803fd7986e97248b2 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -51,33 +51,33 @@ function aggregator_menu($may_cache) { 'callback' => 'aggregator_admin_overview', 'access' => $edit); $items[] = array('path' => 'admin/content/aggregator/add/feed', - 'title' => t('add feed'), + 'title' => t('Add feed'), 'callback' => 'drupal_get_form', 'callback arguments' => array('aggregator_form_feed'), 'access' => $edit, 'type' => MENU_LOCAL_TASK); $items[] = array('path' => 'admin/content/aggregator/add/category', - 'title' => t('add category'), + 'title' => t('Add category'), 'callback' => 'drupal_get_form', 'callback arguments' => array('aggregator_form_category'), 'access' => $edit, 'type' => MENU_LOCAL_TASK); $items[] = array('path' => 'admin/content/aggregator/remove', - 'title' => t('remove items'), + 'title' => t('Remove items'), 'callback' => 'aggregator_admin_remove_feed', 'access' => $edit, 'type' => MENU_CALLBACK); $items[] = array('path' => 'admin/content/aggregator/update', - 'title' => t('update items'), + 'title' => t('Update items'), 'callback' => 'aggregator_admin_refresh_feed', 'access' => $edit, 'type' => MENU_CALLBACK); $items[] = array('path' => 'admin/content/aggregator/list', - 'title' => t('list'), + 'title' => t('List'), 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10); $items[] = array('path' => 'admin/content/aggregator/settings', - 'title' => t('settings'), + 'title' => t('Settings'), 'callback' => 'drupal_get_form', 'callback arguments' => array('aggregator_admin_settings'), 'type' => MENU_LOCAL_TASK, @@ -85,16 +85,16 @@ function aggregator_menu($may_cache) { 'access' => $edit); $items[] = array('path' => 'aggregator', - 'title' => t('news aggregator'), + 'title' => t('News aggregator'), 'callback' => 'aggregator_page_last', 'access' => $view, 'weight' => 5); $items[] = array('path' => 'aggregator/sources', - 'title' => t('sources'), + 'title' => t('Sources'), 'callback' => 'aggregator_page_sources', 'access' => $view); $items[] = array('path' => 'aggregator/categories', - 'title' => t('categories'), + 'title' => t('Categories'), 'callback' => 'aggregator_page_categories', 'access' => $view, 'type' => MENU_ITEM_GROUPING); @@ -132,17 +132,17 @@ function aggregator_menu($may_cache) { 'access' => $view, 'type' => MENU_CALLBACK); $items[] = array('path' => 'aggregator/sources/'. $feed['fid'] .'/view', - 'title' => t('view'), + 'title' => t('View'), 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10); $items[] = array('path' => 'aggregator/sources/'. $feed['fid'] .'/categorize', - 'title' => t('categorize'), + 'title' => t('Categorize'), 'callback' => 'drupal_get_form', 'callback arguments' => array('aggregator_page_source'), 'access' => $edit, 'type' => MENU_LOCAL_TASK); $items[] = array('path' => 'aggregator/sources/'. $feed['fid'] .'/configure', - 'title' => t('configure'), + 'title' => t('Configure'), 'callback' => 'drupal_get_form', 'callback arguments' => array('aggregator_form_feed', $feed), 'access' => $edit, @@ -154,17 +154,17 @@ function aggregator_menu($may_cache) { $category = aggregator_get_category(arg(2)); if ($category) { $items[] = array('path' => 'aggregator/categories/'. $category['cid'] .'/view', - 'title' => t('view'), + 'title' => t('View'), 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10); $items[] = array('path' => 'aggregator/categories/'. $category['cid'] .'/categorize', - 'title' => t('categorize'), + 'title' => t('Categorize'), 'callback' => 'drupal_get_form', 'callback arguments' => array('aggregator_page_category'), 'access' => $edit, 'type' => MENU_LOCAL_TASK); $items[] = array('path' => 'aggregator/categories/'. $category['cid'] .'/configure', - 'title' => t('configure'), + 'title' => t('Configure'), 'callback' => 'drupal_get_form', 'callback arguments' => array('aggregator_form_category', $category), 'access' => $edit, @@ -178,7 +178,7 @@ function aggregator_menu($may_cache) { $feed = aggregator_get_feed(arg(5)); if ($feed) { $items[] = array('path' => 'admin/content/aggregator/edit/feed/'. $feed['fid'], - 'title' => t('edit feed'), + 'title' => t('Edit feed'), 'callback' => 'drupal_get_form', 'callback arguments' => array('aggregator_form_feed', $feed), 'access' => $edit, @@ -189,7 +189,7 @@ function aggregator_menu($may_cache) { $category = aggregator_get_category(arg(5)); if ($category) { $items[] = array('path' => 'admin/content/aggregator/edit/category/'. $category['cid'], - 'title' => t('edit category'), + 'title' => t('Edit category'), 'callback' => 'drupal_get_form', 'callback arguments' => array('aggregator_form_category', $category), 'access' => $edit, @@ -1035,7 +1035,7 @@ function aggregator_admin_overview() { * Menu callback; displays the most recent items gathered from any feed. */ function aggregator_page_last() { - drupal_add_feed(url('aggregator/rss'), variable_get('site_name', 'drupal') . ' ' . t('aggregator')); + drupal_add_feed(url('aggregator/rss'), variable_get('site_name', 'Drupal') . ' ' . t('aggregator')); return _aggregator_page_list('SELECT i.*, f.title AS ftitle, f.link AS flink FROM {aggregator_item} i INNER JOIN {aggregator_feed} f ON i.fid = f.fid ORDER BY i.timestamp DESC, i.iid DESC', arg(1)); } @@ -1056,7 +1056,7 @@ function aggregator_page_source() { function aggregator_page_category() { $category = db_fetch_object(db_query('SELECT cid, title FROM {aggregator_category} WHERE cid = %d', arg(2))); - drupal_add_feed(url('aggregator/rss/'. arg(2)), variable_get('site_name', 'drupal') . ' ' . t('aggregator - @title', array('@title' => $category->title))); + drupal_add_feed(url('aggregator/rss/'. arg(2)), variable_get('site_name', 'Drupal') . ' ' . t('aggregator - @title', array('@title' => $category->title))); return _aggregator_page_list('SELECT i.*, f.title AS ftitle, f.link AS flink FROM {aggregator_category_item} c LEFT JOIN {aggregator_item} i ON c.iid = i.iid LEFT JOIN {aggregator_feed} f ON i.fid = f.fid WHERE cid = '. $category->cid .' ORDER BY timestamp DESC, iid DESC', arg(3)); } @@ -1175,7 +1175,7 @@ function aggregator_page_sources() { $output .= theme('item_list', $list); $link['sources'] = array( - 'title' => t('more'), + 'title' => t('More'), 'href' => 'aggregator/sources/'. $feed->fid ); @@ -1279,7 +1279,7 @@ function aggregator_page_categories() { } $link['categories'] = array( - 'title' => t('more'), + 'title' => t('More'), 'href' => 'aggregator/categories/'. $category->cid ); diff --git a/modules/block/block.module b/modules/block/block.module index 0f2fb1e4eb326907864f5cc9bfd1f6ee3f93a4e9..bea866901f68222ec4704fcc862535542b0232e8 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -66,24 +66,24 @@ function block_menu($may_cache) { if ($may_cache) { $items[] = array( 'path' => 'admin/build/block', - 'title' => t('blocks'), + 'title' => t('Blocks'), 'access' => user_access('administer blocks'), 'description' => t('Configure what block content appears in your site\'s sidebars and other regions.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('block_admin_display')); - $items[] = array('path' => 'admin/build/block/list', 'title' => t('list'), + $items[] = array('path' => 'admin/build/block/list', 'title' => t('List'), 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10); - $items[] = array('path' => 'admin/build/block/configure', 'title' => t('configure block'), + $items[] = array('path' => 'admin/build/block/configure', 'title' => t('Configure block'), 'access' => user_access('administer blocks'), 'callback' => 'drupal_get_form', 'callback arguments' => array('block_admin_configure'), 'type' => MENU_CALLBACK); - $items[] = array('path' => 'admin/build/block/delete', 'title' => t('delete block'), + $items[] = array('path' => 'admin/build/block/delete', 'title' => t('Delete block'), 'access' => user_access('administer blocks'), 'callback' => 'drupal_get_form', 'callback arguments' => array('block_box_delete'), 'type' => MENU_CALLBACK); - $items[] = array('path' => 'admin/build/block/add', 'title' => t('add block'), + $items[] = array('path' => 'admin/build/block/add', 'title' => t('Add block'), 'access' => user_access('administer blocks'), 'callback' => 'drupal_get_form', 'callback arguments' => array('block_box_form'), diff --git a/modules/blog/blog.module b/modules/blog/blog.module index f3f8ed32ea0c33dfc82df96dece8f9e32b729c09..bc1da62c804bcadbb7a0488814e200cbeae9e26e 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -12,7 +12,7 @@ function blog_node_info() { return array( 'blog' => array( - 'name' => t('blog entry'), + 'name' => t('Blog entry'), 'module' => 'blog', 'description' => t('A blog is a regularly updated journal or diary made up of individual posts shown in reversed chronological order. Each member of the site may create and maintain a blog.'), ) @@ -104,7 +104,7 @@ function blog_feed_user($uid = 0) { */ function blog_feed_last() { $result = db_query_range(db_rewrite_sql("SELECT n.nid, n.title, r.teaser, n.created, u.name, u.uid FROM {node} n INNER JOIN {node_revisions} r ON n.vid = r.vid INNER JOIN {users} u ON n.uid = u.uid WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.created DESC"), 0, variable_get('feed_default_items', 10)); - $channel['title'] = variable_get('site_name', 'drupal') .' blogs'; + $channel['title'] = variable_get('site_name', 'Drupal') .' blogs'; $channel['link'] = url('blog', NULL, NULL, TRUE); $channel['description'] = $term->description; node_feed($result, $channel); @@ -228,7 +228,7 @@ function blog_form(&$node) { function blog_view($node, $teaser = FALSE, $page = FALSE) { if ($page) { // Breadcrumb navigation - $breadcrumb[] = array('path' => 'blog', 'title' => t('blogs')); + $breadcrumb[] = array('path' => 'blog', 'title' => t('Blogs')); $breadcrumb[] = array('path' => 'blog/'. $node->uid, 'title' => t("@name's blog", array('@name' => $node->name))); $breadcrumb[] = array('path' => 'node/'. $node->nid); menu_set_location($breadcrumb); @@ -263,13 +263,13 @@ function blog_menu($may_cache) { $items = array(); if ($may_cache) { - $items[] = array('path' => 'node/add/blog', 'title' => t('blog entry'), + $items[] = array('path' => 'node/add/blog', 'title' => t('Blog entry'), 'access' => user_access('edit own blog')); - $items[] = array('path' => 'blog', 'title' => t('blogs'), + $items[] = array('path' => 'blog', 'title' => t('Blogs'), 'callback' => 'blog_page', 'access' => user_access('access content'), 'type' => MENU_SUGGESTED_ITEM); - $items[] = array('path' => 'blog/'. $user->uid, 'title' => t('my blog'), + $items[] = array('path' => 'blog/'. $user->uid, 'title' => t('My blog'), 'access' => user_access('edit own blog'), 'type' => MENU_DYNAMIC_ITEM); } diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 7231ee59e4df6255461873d1c52ae59ee3d40c1f..de6bb7fd843b8704efcc3512c825d5e9ef306aea 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -576,7 +576,7 @@ function blogapi_menu($may_cache) { 'type' => MENU_CALLBACK); $items[] = array( 'path' => 'admin/settings/blogapi', - 'title' => t('blog APIs'), + 'title' => t('Blog APIs'), 'description' => t('Configure which content types and engines external blog clients can use.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('blogapi_admin_settings'), diff --git a/modules/book/book.module b/modules/book/book.module index 2bded276fb836f00a7f2fa74c6d5d24f9c238758..9f633d9070b08e9b69a5f571ca9140981659d070 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -12,7 +12,7 @@ function book_node_info() { return array( 'book' => array( - 'name' => t('book page'), + 'name' => t('Book page'), 'module' => 'book', 'description' => t("A book is a collaborative writing effort: users can collaborate writing the pages of the book, positioning the pages in the right order, and reviewing or modifying pages previously written. So when you have some information to share or when you read a page of the book and you didn't like it, or if you think a certain page could have been written better, you can do something about it."), ) @@ -65,13 +65,13 @@ function book_link($type, $node = NULL, $teaser = FALSE) { if (!$teaser) { if (book_access('create', $node)) { $links['book_add_child'] = array( - 'title' => t('add child page'), + 'title' => t('Add child page'), 'href' => "node/add/book/parent/$node->nid" ); } if (user_access('see printer-friendly version')) { $links['book_printer'] = array( - 'title' => t('printer-friendly version'), + 'title' => t('Printer-friendly version'), 'href' => 'book/export/html/'. $node->nid, 'attributes' => array('title' => t('Show a printer-friendly version of this book page and its sub-pages.')) ); @@ -91,24 +91,24 @@ function book_menu($may_cache) { if ($may_cache) { $items[] = array( 'path' => 'admin/content/book', - 'title' => t('books'), + 'title' => t('Books'), 'description' => t('Manage site\'s books and orphaned book pages.'), 'callback' => 'book_admin', 'access' => user_access('administer nodes')); $items[] = array( 'path' => 'admin/content/book/list', - 'title' => t('list'), + 'title' => t('List'), 'type' => MENU_DEFAULT_LOCAL_TASK); $items[] = array( 'path' => 'admin/content/book/orphan', - 'title' => t('orphan pages'), + 'title' => t('Orphan pages'), 'callback' => 'drupal_get_form', 'callback arguments' => array('book_admin_orphan'), 'type' => MENU_LOCAL_TASK, 'weight' => 8); $items[] = array( 'path' => 'book', - 'title' => t('books'), + 'title' => t('Books'), 'callback' => 'book_render', 'access' => user_access('access content'), 'type' => MENU_SUGGESTED_ITEM); @@ -131,7 +131,7 @@ function book_menu($may_cache) { if (db_num_rows($result) > 0) { $items[] = array( 'path' => 'node/'. arg(1) .'/outline', - 'title' => t('outline'), + 'title' => t('Outline'), 'callback' => 'drupal_get_form', 'callback arguments' => array('book_outline', arg(1)), 'access' => user_access('outline posts in books'), diff --git a/modules/comment/comment.module b/modules/comment/comment.module index d2f85e895173ba73f564412637e7fe33fa1b95b8..c1489ed390fb833928e7b6a363fca08811c4a696 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' diff --git a/modules/contact/contact.module b/modules/contact/contact.module index f1a166d4c7c5ee427beb8a9e542b8256a165975e..57fe5fed9395a19f81c7c6582614fe8b14c60fb1 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -49,19 +49,19 @@ function contact_menu($may_cache) { $items = array(); if ($may_cache) { $items[] = array('path' => 'admin/build/contact', - 'title' => t('contact form'), + 'title' => t('Contact form'), 'description' => t('Create a system contact form and set up categories for the form to use.'), 'callback' => 'contact_admin_categories', 'access' => user_access('administer site configuration'), ); $items[] = array('path' => 'admin/build/contact/list', - 'title' => t('list'), + 'title' => t('List'), 'callback' => 'contact_admin_categories', 'access' => user_access('administer site configuration'), 'type' => MENU_DEFAULT_LOCAL_TASK, ); $items[] = array('path' => 'admin/build/contact/add', - 'title' => t('add category'), + 'title' => t('Add category'), 'callback' => 'drupal_get_form', 'callback arguments' => array('contact_admin_edit'), 'access' => user_access('administer site configuration'), @@ -69,21 +69,21 @@ function contact_menu($may_cache) { 'weight' => 1, ); $items[] = array('path' => 'admin/build/contact/edit', - 'title' => t('edit contact category'), + 'title' => t('Edit contact category'), 'callback' => 'drupal_get_form', 'callback arguments' => array('contact_admin_edit'), 'access' => user_access('administer site configuration'), 'type' => MENU_CALLBACK, ); $items[] = array('path' => 'admin/build/contact/delete', - 'title' => t('delete contact'), + 'title' => t('Delete contact'), 'callback' => 'drupal_get_form', 'callback arguments' => array('contact_admin_delete'), 'access' => user_access('administer site configuration'), 'type' => MENU_CALLBACK, ); $items[] = array('path' => 'admin/build/contact/settings', - 'title' => t('settings'), + 'title' => t('Settings'), 'callback' => 'drupal_get_form', 'callback arguments' => array('contact_admin_settings'), 'access' => user_access('administer site configuration'), @@ -91,7 +91,7 @@ function contact_menu($may_cache) { 'weight' => 2, ); $items[] = array('path' => 'contact', - 'title' => t('contact'), + 'title' => t('Contact'), 'callback' => 'contact_site_page', 'access' => user_access('access site-wide contact form'), 'type' => MENU_SUGGESTED_ITEM, @@ -103,7 +103,7 @@ function contact_menu($may_cache) { $account = user_load(array('uid' => arg(1))); if (($user->uid != $account->uid && $account->contact) || user_access('administer users')) { $items[] = array('path' => 'user/'. arg(1) .'/contact', - 'title' => t('contact'), + 'title' => t('Contact'), 'callback' => 'contact_user_page', 'type' => MENU_LOCAL_TASK, 'access' => $user->uid, @@ -365,7 +365,7 @@ function contact_mail_user_submit($form_id, $form_values) { $account = user_load(array('uid' => arg(1), 'status' => 1)); // Compose the body: $message[] = "$account->name,"; - $message[] = t("!name (!name-url) has sent you a message via your contact form (!form-url) at !site.", array('!name' => $user->name, '!name-url' => url("user/$user->uid", NULL, NULL, TRUE), '!form-url' => url($_GET['q'], NULL, NULL, TRUE), '!site' => variable_get('site_name', 'drupal'))); + $message[] = t("!name (!name-url) has sent you a message via your contact form (!form-url) at !site.", array('!name' => $user->name, '!name-url' => url("user/$user->uid", NULL, NULL, TRUE), '!form-url' => url($_GET['q'], NULL, NULL, TRUE), '!site' => variable_get('site_name', 'Drupal'))); $message[] = t("If you don't want to receive such e-mails, you can change your settings at !url.", array('!url' => url("user/$account->uid", NULL, NULL, TRUE))); $message[] = t('Message:'); $message[] = $form_values['message']; @@ -380,7 +380,7 @@ function contact_mail_user_submit($form_id, $form_values) { $from = $user->mail; // Format the subject: - $subject = '['. variable_get('site_name', 'drupal') .'] '. $form_values['subject']; + $subject = '['. variable_get('site_name', 'Drupal') .'] '. $form_values['subject']; // Prepare the body: $body = implode("\n\n", $message); diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index 64b788747e39ff3c4b6d77329ac0c1340c0625de..4f5921dd47acf4643cf7be46e9755226ad7b8ac7 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/drupal.module @@ -54,7 +54,7 @@ function drupal_help($section) { function drupal_sites_registry_settings() { // Check if all required fields are present - if ((variable_get('site_name', 'drupal') == 'drupal') || (variable_get('site_name', 'drupal') == '')) { + if ((variable_get('site_name', 'Drupal') == 'Drupal') || (variable_get('site_name', 'Drupal') == '')) { form_set_error('drupal_directory', t('You must set the name of your site on the administer » settings » site information page.', array('@url' => url('admin/settings/site-information')))); } else if (variable_get('site_mail', ini_get('sendmail_from')) == '') { @@ -346,13 +346,13 @@ function drupal_menu($may_cache) { $items = array(); if ($may_cache) { $items[] = array('path' => 'admin/settings/sites-registry', - 'title' => t('sites registry'), + 'title' => t('Sites registry'), 'description' => t('Register with another Drupal site (drupal.org by default) for statistics sharing, or set up your server to be a central server for registrations.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('drupal_sites_registry_settings'), 'access' => user_access('administer site configuration')); $items[] = array('path' => 'admin/settings/distributed-authentication', - 'title' => t('distributed authentication'), + 'title' => t('Distributed authentication'), 'description' => t('Allow your site to accept logins from other Drupal sites such as drupal.org.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('drupal_distributed_authentication_settings'), diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 833ae4e7964f54622cab3af265191b60953286d0..7903de5dbee253679ccc313a584391649502c3c3 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -62,20 +62,20 @@ function filter_menu($may_cache) { if ($may_cache) { $items[] = array('path' => 'admin/settings/filters', - 'title' => t('input formats'), + 'title' => t('Input formats'), 'description' => t('Configure how content input by users is filtered, including allowed HTML tags, PHP code tags. Also allows enabling of module-provided filters.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('filter_admin_overview'), 'access' => user_access('administer filters'), ); $items[] = array('path' => 'admin/settings/filters/list', - 'title' => t('list'), + 'title' => t('List'), 'callback' => 'filter_admin_overview', 'type' => MENU_DEFAULT_LOCAL_TASK, 'access' => user_access('administer filters'), ); $items[] = array('path' => 'admin/settings/filters/add', - 'title' => t('add input format'), + 'title' => t('Add input format'), 'callback' => 'drupal_get_form', 'callback arguments' => array('filter_admin_format_form'), 'type' => MENU_LOCAL_TASK, @@ -83,14 +83,14 @@ function filter_menu($may_cache) { 'access' => user_access('administer filters'), ); $items[] = array('path' => 'admin/settings/filters/delete', - 'title' => t('delete input format'), + 'title' => t('Delete input format'), 'callback' => 'drupal_get_form', 'callback arguments' => array('filter_admin_delete'), 'type' => MENU_CALLBACK, 'access' => user_access('administer filters'), ); $items[] = array('path' => 'filter/tips', - 'title' => t('compose tips'), + 'title' => t('Compose tips'), 'callback' => 'filter_tips_long', 'access' => TRUE, 'type' => MENU_SUGGESTED_ITEM, @@ -109,7 +109,7 @@ function filter_menu($may_cache) { 'access' => user_access('administer filters'), ); $items[] = array('path' => 'admin/settings/filters/'. arg(3) .'/list', - 'title' => t('view'), + 'title' => t('View'), 'callback' => 'drupal_get_form', 'callback arguments' => array('filter_admin_format_form', $formats[arg(3)]), 'type' => MENU_DEFAULT_LOCAL_TASK, @@ -117,7 +117,7 @@ function filter_menu($may_cache) { 'access' => user_access('administer filters'), ); $items[] = array('path' => 'admin/settings/filters/'. arg(3) .'/configure', - 'title' => t('configure'), + 'title' => t('Configure'), 'callback' => 'drupal_get_form', 'callback arguments' => array('filter_admin_configure'), 'type' => MENU_LOCAL_TASK, @@ -125,7 +125,7 @@ function filter_menu($may_cache) { 'access' => user_access('administer filters'), ); $items[] = array('path' => 'admin/settings/filters/'. arg(3) .'/order', - 'title' => t('rearrange'), + 'title' => t('Rearrange'), 'callback' => 'drupal_get_form', 'callback arguments' => array('filter_admin_order', 'format' => $formats[arg(3)]), 'type' => MENU_LOCAL_TASK, @@ -177,7 +177,7 @@ function filter_filter_tips($delta, $format, $long = FALSE) {

This site allows HTML content. While learning all of HTML may feel intimidating, learning how to use a very small number of the most basic HTML "tags" is very easy. This table provides examples for each tag that is enabled on this site.

For more information see W3C\'s HTML Specifications or use your favorite search engine to find other sites that explain HTML.

'); $tips = array( - 'a' => array( t('Anchors are used to make links to other pages.'), ''. variable_get('site_name', 'drupal') .''), + 'a' => array( t('Anchors are used to make links to other pages.'), ''. variable_get('site_name', 'Drupal') .''), 'br' => array( t('By default line break tags are automatically added, so use this tag to add additional ones. Use of this tag is different because it is not used with an open/close pair like all the others. Use the extra " /" inside the tag to maintain XHTML 1.0 compatibility'), t('Text with
line break')), 'p' => array( t('By default paragraph tags are automatically added, so use this tag to add additional ones.'), '

'. t('Paragraph one.') .'

'. t('Paragraph two.') .'

'), 'strong' => array( t('Strong'), ''. t('Strong'). ''), diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 39d56f398875249871b3a8e05722273e24d278aa..8322e25f1aa69fec00a438f5f64db5c481f02622 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -42,38 +42,38 @@ function forum_menu($may_cache) { if ($may_cache) { $items[] = array('path' => 'node/add/forum', - 'title' => t('forum topic'), + 'title' => t('Forum topic'), 'access' => user_access('create forum topics')); $items[] = array('path' => 'forum', - 'title' => t('forums'), + 'title' => t('Forums'), 'callback' => 'forum_page', 'access' => user_access('access content'), 'type' => MENU_SUGGESTED_ITEM); $items[] = array('path' => 'admin/content/forum', - 'title' => t('forums'), + 'title' => t('Forums'), 'description' => t('Control forums and their hierarchy and change forum settings.'), 'callback' => 'forum_overview', 'access' => user_access('administer forums'), 'type' => MENU_NORMAL_ITEM); $items[] = array('path' => 'admin/content/forum/list', - 'title' => t('list'), + 'title' => t('List'), 'access' => user_access('administer forums'), 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10); $items[] = array('path' => 'admin/content/forum/add/container', - 'title' => t('add container'), + 'title' => t('Add container'), 'callback' => 'forum_form_main', 'callback arguments' => array('container'), 'access' => user_access('administer forums'), 'type' => MENU_LOCAL_TASK); $items[] = array('path' => 'admin/content/forum/add/forum', - 'title' => t('add forum'), + 'title' => t('Add forum'), 'callback' => 'forum_form_main', 'callback arguments' => array('forum'), 'access' => user_access('administer forums'), 'type' => MENU_LOCAL_TASK); $items[] = array('path' => 'admin/content/forum/settings', - 'title' => t('settings'), + 'title' => t('Settings'), 'callback' => 'drupal_get_form', 'callback arguments' => array('forum_admin_settings'), 'weight' => 5, @@ -85,13 +85,13 @@ function forum_menu($may_cache) { // Check if this is a valid term. if ($term) { $items[] = array('path' => 'admin/content/forum/edit/container', - 'title' => t('edit container'), + 'title' => t('Edit container'), 'callback' => 'forum_form_main', 'callback arguments' => array('container', (array)$term), 'access' => user_access('administer forums'), 'type' => MENU_CALLBACK); $items[] = array('path' => 'admin/content/forum/edit/forum', - 'title' => t('edit forum'), + 'title' => t('Edit forum'), 'callback' => 'forum_form_main', 'callback arguments' => array('forum', (array)$term), 'access' => user_access('administer forums'), @@ -113,7 +113,7 @@ function forum_menu($may_cache) { function forum_node_info() { return array( 'forum' => array( - 'name' => t('forum topic'), + 'name' => t('Forum topic'), 'module' => 'forum', 'description' => t('Create a new topic for discussion in the forums.'), 'title_label' => t('Subject'), diff --git a/modules/help/help.module b/modules/help/help.module index ae80cd0ba6527c394f4a2ceaceacd4cbfbcbe3b9..9cd1471f34a269ddf9b16a002e188a49d74a1b2a 100644 --- a/modules/help/help.module +++ b/modules/help/help.module @@ -15,7 +15,7 @@ function help_menu($may_cache) { if ($may_cache) { $admin_access = user_access('access administration pages'); - $items[] = array('path' => 'admin/help', 'title' => t('help'), + $items[] = array('path' => 'admin/help', 'title' => t('Help'), 'callback' => 'help_main', 'access' => $admin_access, 'weight' => 9); @@ -70,6 +70,8 @@ function help_main() { } function help_links_as_list() { + $module_info = module_rebuild_cache(); + $modules = array(); foreach (module_implements('help', TRUE) as $module) { if (module_invoke($module, 'help', "admin/help#$module")) { @@ -82,7 +84,7 @@ function help_links_as_list() { $break = ceil(count($modules) / 4); $output = '