From 3d687447c00e349e9493980e69b1dcb26644662e Mon Sep 17 00:00:00 2001
From: Georg Ringer <georg.ringer@gmail.com>
Date: Thu, 12 Jan 2023 12:22:41 +0100
Subject: [PATCH] [BUGFIX] Make setting `requireApprovedLocalizations` visible
 in Install Tool

Use the correct structure to be able to modify the setting
`requireApprovedLocalizations` also via the UI of the Install Tool.

Resolves: #99317
Releases: main
Change-Id: Ifda4e47ebcf8a7cb0aaa9509ca32271a529f36bd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77363
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
---
 .../Configuration/DefaultConfigurationDescription.yaml     | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml b/typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml
index 21d7c098e29f..f6eb3222dede 100644
--- a/typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml
+++ b/typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml
@@ -210,9 +210,10 @@ SYS:
         lang:
           type: container
           description: 'Settings related to XLF labels'
-          requireApprovedLocalizations:
-            type: bool
-            description: 'If set, translations are only taken into account if the according "approved" attribute is set to "yes" within the XLF file. Otherwise, all available translations are used.'
+          items:
+            requireApprovedLocalizations:
+              type: bool
+              description: 'If set, translations are only taken into account if the according "approved" attribute is set to "yes" within the XLF file. Otherwise, all available translations are used.'
 EXT:
     type: container
     description: 'Extension Installation'
-- 
GitLab