From e211a2ec1d61ef3ab967d229e91a317ee18f1f11 Mon Sep 17 00:00:00 2001 From: xjm Date: Mon, 12 Dec 2016 10:34:23 -0600 Subject: [PATCH] Issue #2803203 by lodey, lomasr, tkoleary, AndreaD, yoroy, joachim, xjm, ifrik: Simplify the descriptions of "menu levels" in the menu block plugin --- core/modules/system/src/Plugin/Block/SystemMenuBlock.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/modules/system/src/Plugin/Block/SystemMenuBlock.php b/core/modules/system/src/Plugin/Block/SystemMenuBlock.php index de9ee7975e3..24db858650a 100644 --- a/core/modules/system/src/Plugin/Block/SystemMenuBlock.php +++ b/core/modules/system/src/Plugin/Block/SystemMenuBlock.php @@ -89,10 +89,10 @@ class SystemMenuBlock extends BlockBase implements ContainerFactoryPluginInterfa $form['menu_levels']['level'] = array( '#type' => 'select', - '#title' => $this->t('Initial menu level'), + '#title' => $this->t('Initial visibility level'), '#default_value' => $config['level'], '#options' => $options, - '#description' => $this->t('The menu will only be visible if the menu item for the current page is at or below the selected starting level. Select level 1 to always keep this menu visible.'), + '#description' => $this->t('The menu is only visible if the menu item for the current page is at this level or below it. Use level 1 to always display this menu.'), '#required' => TRUE, ); @@ -100,10 +100,10 @@ class SystemMenuBlock extends BlockBase implements ContainerFactoryPluginInterfa $form['menu_levels']['depth'] = array( '#type' => 'select', - '#title' => $this->t('Maximum number of menu levels to display'), + '#title' => $this->t('Number of levels to display'), '#default_value' => $config['depth'], '#options' => $options, - '#description' => $this->t('The maximum number of menu levels to show, starting from the initial menu level. For example: with an initial level 2 and a maximum number of 3, menu levels 2, 3 and 4 can be displayed.'), + '#description' => $this->t('This maximum number includes the initial level.'), '#required' => TRUE, );