diff options
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.module | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 1b591136f..4b50598b2 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -973,7 +973,7 @@ function node_link($type, $node = NULL, $teaser = FALSE) { if ($type == 'node') { if ($teaser == 1 && $node->teaser && $node->readmore) { $links['node_read_more'] = array( - 'title' => t('read more'), + 'title' => t('Read more'), 'href' => "node/$node->nid", 'attributes' => array('title' => t('Read the rest of this posting.')) ); @@ -990,7 +990,7 @@ function node_menu($may_cache) { $items = array(); if ($may_cache) { $items[] = array('path' => 'admin/content', - 'title' => t('content management'), + 'title' => t('Content management'), 'description' => t('Manage your site\'s content.'), 'position' => 'left', 'weight' => -10, @@ -1000,7 +1000,7 @@ function node_menu($may_cache) { $items[] = array( 'path' => 'admin/content/node', - 'title' => t('posts'), + 'title' => t('Posts'), 'description' => t('View, edit, and delete your site\'s content.'), 'callback' => 'node_admin_content', 'access' => user_access('administer nodes') @@ -1019,7 +1019,7 @@ function node_menu($may_cache) { $items[] = array( 'path' => 'admin/content/node-settings', - 'title' => t('post settings'), + 'title' => t('Post settings'), 'description' => t('Control posting behavior, such as teaser length, requiring previews before posting, and the number of posts on the front page.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('node_configure'), @@ -1028,36 +1028,36 @@ function node_menu($may_cache) { $items[] = array( 'path' => 'admin/content/types', - 'title' => t('content types'), + 'title' => t('Content types'), 'description' => t('Manage posts by content type, including default status, front page promotion, etc.'), 'callback' => 'node_overview_types', 'access' => user_access('administer content types'), ); $items[] = array( 'path' => 'admin/content/types/list', - 'title' => t('list'), + 'title' => t('List'), 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10, ); $items[] = array( 'path' => 'admin/content/types/add', - 'title' => t('add content type'), + 'title' => t('Add content type'), 'callback' => 'drupal_get_form', 'callback arguments' => array('node_type_form'), 'type' => MENU_LOCAL_TASK, ); $items[] = array('path' => 'node', - 'title' => t('content'), + 'title' => t('Content'), 'callback' => 'node_page_default', 'access' => user_access('access content'), 'type' => MENU_MODIFIABLE_BY_ADMIN); $items[] = array('path' => 'node/add', - 'title' => t('create content'), + 'title' => t('Create content'), 'callback' => 'node_add', 'access' => user_access('access content'), 'type' => MENU_ITEM_GROUPING, 'weight' => 1); - $items[] = array('path' => 'rss.xml', 'title' => t('rss feed'), + $items[] = array('path' => 'rss.xml', 'title' => t('RSS feed'), 'callback' => 'node_feed', 'access' => user_access('access content'), 'type' => MENU_CALLBACK); @@ -1068,7 +1068,7 @@ function node_menu($may_cache) { $type_url_str = str_replace('_', '-', $type->type); $items[] = array( 'path' => 'node/add/'. $type_url_str, - 'title' => t($name), + 'title' => drupal_ucfirst(t($name)), 'access' => node_access('create', $type->type), ); } @@ -1738,7 +1738,7 @@ function node_feed($nodes = 0, $channel = array()) { $channel_defaults = array( 'version' => '2.0', - 'title' => variable_get('site_name', 'drupal') .' - '. variable_get('site_slogan', ''), + 'title' => variable_get('site_name', 'Drupal') .' - '. variable_get('site_slogan', ''), 'link' => $base_url, 'description' => variable_get('site_mission', ''), 'language' => $locale @@ -2024,7 +2024,7 @@ function node_add($type = NULL) { if (function_exists($type->module .'_form') && node_access('create', $type->type)) { $type_url_str = str_replace('_', '-', $type->type); $title = t('Add a new @s.', array('@s' => $type->name)); - $out = '<dt>'. l($type->name, "node/add/$type_url_str", array('title' => $title)) .'</dt>'; + $out = '<dt>'. l(drupal_ucfirst($type->name), "node/add/$type_url_str", array('title' => $title)) .'</dt>'; $out .= '<dd>'. filter_xss_admin($type->description) .'</dd>'; $item[$type->type] = $out; } @@ -2257,7 +2257,7 @@ function node_page_default() { if (db_num_rows($result)) { $feed_url = url('rss.xml', NULL, NULL, TRUE); - drupal_add_feed($feed_url, variable_get('site_name', 'drupal') .' '. t('RSS')); + drupal_add_feed($feed_url, variable_get('site_name', 'Drupal') .' '. t('RSS')); $output = ''; while ($node = db_fetch_object($result)) { |