diff --git a/core/modules/forum/forum.module b/core/modules/forum/forum.module index b1bb1ea4f48..1a55bfea5a1 100644 --- a/core/modules/forum/forum.module +++ b/core/modules/forum/forum.module @@ -33,7 +33,7 @@ function forum_help($path, $arg) { $output .= '
' . t('Setting up forum structure') . '
'; $output .= '
' . t('Visit the Forums page to set up containers and forums to hold your discussion topics.', array('!forums' => \Drupal::url('forum.overview'))) . '
'; $output .= '
' . t('Starting a discussion') . '
'; - $output .= '
' . t('The Forum topic link on the Add new content page creates the first post of a new threaded discussion, or thread.', array('!create-topic' => \Drupal::url('node.add', array('node_type' => 'forum')), '!content-add' => \Drupal::url('node.add_page'))) . '
'; + $output .= '
' . t('The Forum topic link on the Add content page creates the first post of a new threaded discussion, or thread.', array('!create-topic' => \Drupal::url('node.add', array('node_type' => 'forum')), '!content-add' => \Drupal::url('node.add_page'))) . '
'; $output .= '
' . t('Navigating in the Forum') . '
'; $output .= '
' . t('Enabling the Forum module provides a default Forums menu item in the Tools menu that links to the Forums page.', array('!forums' => \Drupal::url('forum.index'))) . '
'; $output .= '
' . t('Moving forum topics') . '
'; diff --git a/core/modules/node/lib/Drupal/node/NodeTypeFormController.php b/core/modules/node/lib/Drupal/node/NodeTypeFormController.php index dda06828fbc..350e46db25c 100644 --- a/core/modules/node/lib/Drupal/node/NodeTypeFormController.php +++ b/core/modules/node/lib/Drupal/node/NodeTypeFormController.php @@ -37,7 +37,7 @@ class NodeTypeFormController extends EntityFormController { '#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 Add new content page. It is recommended that this name begin with a capital letter and contain only letters, numbers, and spaces. 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 Add content page. It is recommended that this name begin with a capital letter and contain only letters, numbers, and spaces. This name must be unique.'), '#required' => TRUE, '#size' => 30, ); @@ -52,7 +52,7 @@ class NodeTypeFormController extends EntityFormController { 'source' => array('name'), ), '#description' => t('A unique machine-readable name for this content type. It must only contain lowercase letters, numbers, and underscores. This name will be used for constructing the URL of the %node-add page, in which underscores will be converted into hyphens.', array( - '%node-add' => t('Add new content'), + '%node-add' => t('Add content'), )), ); @@ -60,7 +60,7 @@ class NodeTypeFormController extends EntityFormController { '#title' => t('Description'), '#type' => 'textarea', '#default_value' => $type->description, - '#description' => t('Describe this content type. The text will be displayed on the Add new content page.'), + '#description' => t('Describe this content type. The text will be displayed on the Add content page.'), ); $form['additional_settings'] = array( diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/area/ListingEmpty.php b/core/modules/node/lib/Drupal/node/Plugin/views/area/ListingEmpty.php index 2d71c21fdd8..4dcf088d1de 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/area/ListingEmpty.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/area/ListingEmpty.php @@ -68,7 +68,7 @@ class ListingEmpty extends AreaPluginBase { '#links' => array( array( 'href' => 'node/add', - 'title' => $this->t('Add new content'), + 'title' => $this->t('Add content'), ), ), '#access' => $this->accessManager->checkNamedRoute('node.add_page', array(), $account), diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php index 225a4fa5f01..d36f5f3188d 100644 --- a/core/modules/system/system.api.php +++ b/core/modules/system/system.api.php @@ -549,11 +549,11 @@ function hook_menu_local_tasks(&$data, $route_name) { $data['actions']['node/add'] = array( '#theme' => 'menu_local_action', '#link' => array( - 'title' => t('Add new content'), + 'title' => t('Add content'), 'href' => 'node/add', 'localized_options' => array( 'attributes' => array( - 'title' => t('Add new content'), + 'title' => t('Add content'), ), ), ), @@ -567,7 +567,7 @@ function hook_menu_local_tasks(&$data, $route_name) { 'href' => 'node/add', 'localized_options' => array( 'attributes' => array( - 'title' => t('Add new content'), + 'title' => t('Add content'), ), ), ), @@ -730,7 +730,7 @@ function hook_page_alter(&$page) { // Add help text to the user login block. $page['sidebar_first']['user_login']['help'] = array( '#weight' => -10, - '#markup' => t('To post comments or add new content, you first have to log in.'), + '#markup' => t('To post comments or add content, you first have to log in.'), ); }