From eade861a4aa878cfcf80c07e3eaa5b2a8a0665ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20E=C3=9Fl?= <indy.essl@gmail.com>
Date: Tue, 18 Feb 2020 19:32:28 +0100
Subject: [PATCH] [BUGFIX] Change no_follow, no_index labels to their new
 inverted labels

The fields no_follow and no_index were inverted some time ago, but still
retained their previous non-inverted labels in TCA. These were not
actually shown when editing a page, but could be read in by other parts
of the backend.
This lead to misleading labels in both the "Display information" window
as well as the "Info -> Pagetree Overview" module.

Resolves: #88812
Releases: master, 9.5
Change-Id: Ie1bddeae20f0ffb3958bb07dab78d68dc68eff74
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63312
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
---
 typo3/sysext/seo/Configuration/TCA/Overrides/pages.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/typo3/sysext/seo/Configuration/TCA/Overrides/pages.php b/typo3/sysext/seo/Configuration/TCA/Overrides/pages.php
index a242806ed1c3..7938c7cca2a9 100644
--- a/typo3/sysext/seo/Configuration/TCA/Overrides/pages.php
+++ b/typo3/sysext/seo/Configuration/TCA/Overrides/pages.php
@@ -76,7 +76,7 @@ $tca = [
             'exclude' => true,
             'l10n_mode' => 'exclude',
             'onChange' => 'reload',
-            'label' => 'LLL:EXT:seo/Resources/Private/Language/locallang_tca.xlf:pages.no_index',
+            'label' => 'LLL:EXT:seo/Resources/Private/Language/locallang_tca.xlf:pages.no_index_formlabel',
             'config' => [
                 'type' => 'check',
                 'renderType' => 'checkboxToggle',
@@ -92,7 +92,7 @@ $tca = [
         'no_follow' => [
             'exclude' => true,
             'l10n_mode' => 'exclude',
-            'label' => 'LLL:EXT:seo/Resources/Private/Language/locallang_tca.xlf:pages.no_follow',
+            'label' => 'LLL:EXT:seo/Resources/Private/Language/locallang_tca.xlf:pages.no_follow_formlabel',
             'config' => [
                 'type' => 'check',
                 'renderType' => 'checkboxToggle',
-- 
GitLab