diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-05-26 09:13:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-05-26 09:13:47 +0000 |
commit | 981d6ec40c88364b99cab27a434301bdf31f7bb8 (patch) | |
tree | 8d93f7501001307067e6e6c9d0f3807e17bb9c59 /modules/node | |
parent | 3c4be3ab5581c0b53aeea20639f077e25324447f (diff) | |
download | brdo-981d6ec40c88364b99cab27a434301bdf31f7bb8.tar.gz brdo-981d6ec40c88364b99cab27a434301bdf31f7bb8.tar.bz2 |
- Patch #393402 by stella, Xane: renamed 'create content' link to 'add new content'. Minor usability improvement.
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/content_types.inc | 6 | ||||
-rw-r--r-- | modules/node/node.module | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index 1099a84c6..2d3a0a5de 100644 --- a/modules/node/content_types.inc +++ b/modules/node/content_types.inc @@ -69,7 +69,7 @@ function node_type_form(&$form_state, $type = NULL) { '#title' => t('Name'), '#type' => 'textfield', '#default_value' => $type->name, - '#description' => t('The human-readable name of this content type. This text will be displayed as part of the list on the <em>create content</em> page. It is recommended that this name begin with a capital letter and contain only letters, numbers, and <strong>spaces</strong>. This name must be unique.'), + '#description' => t('The human-readable name of this content type. This text will be displayed as part of the list on the <em>add new content</em> page. It is recommended that this name begin with a capital letter and contain only letters, numbers, and <strong>spaces</strong>. This name must be unique.'), '#required' => TRUE, '#field_suffix' => ' <small id="node-type-name-suffix"> </small>', ); @@ -81,7 +81,7 @@ function node_type_form(&$form_state, $type = NULL) { '#default_value' => $type->type, '#maxlength' => 32, '#required' => TRUE, - '#description' => t('The machine-readable name of this content type. This text will be used for constructing the URL of the <em>create content</em> page for this content type. This name must contain only lowercase letters, numbers, and underscores. Underscores will be converted into hyphens when constructing the URL of the <em>create content</em> page. This name must be unique.'), + '#description' => t('The machine-readable name of this content type. This text will be used for constructing the URL of the <em>add new content</em> page for this content type. This name must contain only lowercase letters, numbers, and underscores. Underscores will be converted into hyphens when constructing the URL of the <em>add new content</em> page. This name must be unique.'), ); } else { @@ -101,7 +101,7 @@ function node_type_form(&$form_state, $type = NULL) { '#title' => t('Description'), '#type' => 'textarea', '#default_value' => $type->description, - '#description' => t('A brief description of this content type. This text will be displayed as part of the list on the <em>create content</em> page.'), + '#description' => t('A brief description of this content type. This text will be displayed as part of the list on the <em>add new content</em> page.'), ); $form['submission'] = array( diff --git a/modules/node/node.module b/modules/node/node.module index 3dd7eaa37..351b754ee 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1849,7 +1849,7 @@ function node_menu() { 'type' => MENU_CALLBACK, ); $items['node/add'] = array( - 'title' => 'Create content', + 'title' => 'Add new content', 'page callback' => 'node_add_page', 'access callback' => '_node_add_access', 'weight' => 1, @@ -2146,7 +2146,7 @@ function node_page_default() { $default_message .= '<li>' . t('<strong>Configure your website</strong> Once logged in, visit the <a href="@admin">administration section</a>, where you can <a href="@config">customize and configure</a> all aspects of your website.', array('@admin' => url('admin'), '@config' => url('admin/settings'))) . '</li>'; $default_message .= '<li>' . t('<strong>Enable additional functionality</strong> Next, visit the <a href="@modules">module list</a> and enable features which suit your specific needs. You can find additional modules in the <a href="@download_modules">Drupal modules download section</a>.', array('@modules' => url('admin/build/modules'), '@download_modules' => 'http://drupal.org/project/modules')) . '</li>'; $default_message .= '<li>' . t('<strong>Customize your website design</strong> To change the "look and feel" of your website, visit the <a href="@themes">themes section</a>. You may choose from one of the included themes or download additional themes from the <a href="@download_themes">Drupal themes download section</a>.', array('@themes' => url('admin/build/themes'), '@download_themes' => 'http://drupal.org/project/themes')) . '</li>'; - $default_message .= '<li>' . t('<strong>Start posting content</strong> Finally, you can <a href="@content">create content</a> for your website. This message will disappear once you have promoted a post to the front page.', array('@content' => url('node/add'))) . '</li>'; + $default_message .= '<li>' . t('<strong>Start posting content</strong> Finally, you can <a href="@content">add new content</a> for your website. This message will disappear once you have promoted a post to the front page.', array('@content' => url('node/add'))) . '</li>'; $default_message .= '</ol>'; $default_message .= '<p>' . t('For more information, please refer to the <a href="@help">help section</a>, or the <a href="@handbook">online Drupal handbooks</a>. You may also post at the <a href="@forum">Drupal forum</a>, or view the wide range of <a href="@support">other support options</a> available.', array('@help' => url('admin/help'), '@handbook' => 'http://drupal.org/handbooks', '@forum' => 'http://drupal.org/forum', '@support' => 'http://drupal.org/support')) . '</p>'; $build['default_message'] = array( |