diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php index 3bab5a6..d62873f 100644 --- a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php @@ -525,7 +525,7 @@ public function testViewsTranslationUI() { $json = Json::decode($response); $this->assertTrue(strpos($json[$ids[0]], t('Translate view')), 'Translate view contextual link added.'); - $description = 'All content promoted to the front page.'; + $description = 'All prompted content.'; $human_readable_name = 'Frontpage'; $display_settings_master = 'Master'; $display_options_master = '(Empty)'; diff --git a/core/modules/node/config/install/system.action.node_promote_action.yml b/core/modules/node/config/install/system.action.node_promote_action.yml index b1b4f05..6f77e41 100644 --- a/core/modules/node/config/install/system.action.node_promote_action.yml +++ b/core/modules/node/config/install/system.action.node_promote_action.yml @@ -1,5 +1,5 @@ id: node_promote_action -label: 'Promote content to front page' +label: 'Promote content' status: true langcode: en type: node diff --git a/core/modules/node/config/install/system.action.node_unpromote_action.yml b/core/modules/node/config/install/system.action.node_unpromote_action.yml index 21c0ae8..272b9c8 100644 --- a/core/modules/node/config/install/system.action.node_unpromote_action.yml +++ b/core/modules/node/config/install/system.action.node_unpromote_action.yml @@ -1,5 +1,5 @@ id: node_unpromote_action -label: 'Remove content from front page' +label: 'Demote content' status: true langcode: en type: node diff --git a/core/modules/node/config/install/views.view.frontpage.yml b/core/modules/node/config/install/views.view.frontpage.yml index ef7f38e..1b66f3b 100644 --- a/core/modules/node/config/install/views.view.frontpage.yml +++ b/core/modules/node/config/install/views.view.frontpage.yml @@ -6,7 +6,7 @@ dependencies: id: frontpage label: Frontpage module: node -description: 'All content promoted to the front page.' +description: 'All promoted content.' tag: default base_table: node base_field: nid diff --git a/core/modules/node/node.module b/core/modules/node/node.module index 1aa4a2a..717c9a5 100644 --- a/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -45,12 +45,12 @@ const NODE_PUBLISHED = 1; /** - * Denotes that the node is not promoted to the front page. + * Denotes that the node is not promoted. */ const NODE_NOT_PROMOTED = 0; /** - * Denotes that the node is promoted to the front page. + * Denotes that the node is promoted. */ const NODE_PROMOTED = 1; @@ -90,8 +90,8 @@ function node_help($route_name, RouteMatchInterface $route_match) { $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Creating content') . '
'; - $output .= '
' . t('When new content is created, the Node module records basic information about the content, including the author, date of creation, and the Content type. It also manages the publishing options, which define whether or not the content is published, promoted to the front page of the site, and/or sticky at the top of content lists. Default settings can be configured for each type of content on your site.', array('!content-type' => \Drupal::url('node.overview_types'))) . '
'; $output .= '
' . t('Creating custom content types') . '
'; + $output .= '
' . t('When new content is created, the Node module records basic information about the content, including the author, date of creation, and the Content type. It also manages the publishing options, which define whether or not the content is published, promoted, and/or sticky at the top of content lists. Default settings can be configured for each type of content on your site.', array('!content-type' => \Drupal::url('node.overview_types'))) . '
'; $output .= '
' . t('The Node module gives users with the Administer content types permission the ability to create new content types in addition to the default ones already configured. Creating custom content types allows you the flexibility to add fields and configure default settings that suit the differing needs of various site content.', array('!content-new' => \Drupal::url('node.type_add'), '!field' => \Drupal::url('help.page', array('name' => 'field')))) . '
'; $output .= '
' . t('Administering content') . '
'; $output .= '
' . t('The Content administration page allows you to review and bulk manage your site content.', array('!content' => \Drupal::url('system.admin_content'))) . '
'; @@ -658,7 +658,7 @@ function node_ranking() { 'score' => 'n.sticky', ), 'promote' => array( - 'title' => t('Content is promoted to the front page'), + 'title' => t('Content is promoted'), // The promote flag is either 0 or 1, which is automatically normalized. 'score' => 'n.promote', ),