Skip to content

Commit

Permalink
[BUGFIX] Change no_follow, no_index labels to their new inverted labels
Browse files Browse the repository at this point in the history
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/+/63295
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: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
  • Loading branch information
IndyIndyIndy authored and bmack committed Feb 19, 2020
1 parent 7c94866 commit 6631693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typo3/sysext/seo/Configuration/TCA/Overrides/pages.php
Expand Up @@ -71,7 +71,7 @@
'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',
Expand All @@ -87,7 +87,7 @@
'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',
Expand Down

0 comments on commit 6631693

Please sign in to comment.