From 6587212761a4b8b68b4eb483bd57b83797ab879f Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Wed, 9 Jan 2013 18:02:33 -0800
Subject: [PATCH] Issue #1877254 by Bojhan: Remove and cleanup text for adding
 to menu .

---
 .../lib/Drupal/views/Plugin/views/display/Page.php     | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/display/Page.php b/core/modules/views/lib/Drupal/views/Plugin/views/display/Page.php
index 401846fa27f0..f2846c3abc51 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/display/Page.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/display/Page.php
@@ -167,10 +167,9 @@ public function buildOptionsForm(&$form, &$form_state) {
 
         $form['menu']['title'] = array(
           '#prefix' => '<div class="views-left-50">',
-          '#title' => t('Title'),
+          '#title' => t('Menu link title'),
           '#type' => 'textfield',
           '#default_value' => $menu['title'],
-          '#description' => t('If set to normal or tab, enter the text to use for the menu item.'),
           '#states' => array(
             'visible' => array(
               array(
@@ -189,7 +188,7 @@ public function buildOptionsForm(&$form, &$form_state) {
           '#title' => t('Description'),
           '#type' => 'textfield',
           '#default_value' => $menu['description'],
-          '#description' => t("If set to normal or tab, enter the text to use for the menu item's description."),
+          '#description' => t("Shown when hovering over the menu link."),
           '#states' => array(
             'visible' => array(
               array(
@@ -212,7 +211,6 @@ public function buildOptionsForm(&$form, &$form_state) {
             '#type' => 'select',
             '#options' => menu_get_menus(),
             '#default_value' => $menu['name'],
-            '#description' => t('Insert item into an available menu.'),
             '#states' => array(
               'visible' => array(
                 array(
@@ -238,7 +236,7 @@ public function buildOptionsForm(&$form, &$form_state) {
           '#title' => t('Weight'),
           '#type' => 'textfield',
           '#default_value' => isset($menu['weight']) ? $menu['weight'] : 0,
-          '#description' => t('The lower the weight the higher/further left it will appear.'),
+          '#description' => t('In the menu, the heavier links will sink and the lighter links will be positioned nearer the top.'),
           '#states' => array(
             'visible' => array(
               array(
@@ -353,7 +351,7 @@ public function buildOptionsForm(&$form, &$form_state) {
           '#type' => 'textfield',
           '#default_value' => $tab_options['weight'],
           '#size' => 5,
-          '#description' => t('If the parent menu item is a tab, enter the weight of the tab. The lower the number, the more to the left it will be.'),
+          '#description' => t('If the parent menu item is a tab, enter the weight of the tab. Heavier tabs will sink and the lighter tabs will be positioned nearer to the first menu item.'),
           '#states' => array(
             'visible' => array(
               ':input[name="tab_options[type]"]' => array('value' => 'tab'),
-- 
GitLab