From 1c631f55a710279a0624f27eaff29a2e6612e0f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Chris=20M=C3=BCller?= <typo3@krue.ml>
Date: Sun, 13 Nov 2022 18:15:07 +0100
Subject: [PATCH] [BUGFIX] Localize plugin names in EXT:indexed_search and
 EXT:form

Resolves: #99037
Releases: main, 11.5
Change-Id: I86cf8b64c198d1707dc3c5f385c6ee19ffa5960c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76581
Tested-by: core-ci <typo3@b13.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 typo3/sysext/form/Configuration/TCA/Overrides/tt_content.php    | 2 +-
 .../indexed_search/Configuration/TCA/Overrides/tt_content.php   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/typo3/sysext/form/Configuration/TCA/Overrides/tt_content.php b/typo3/sysext/form/Configuration/TCA/Overrides/tt_content.php
index a3f88a743e34..4102c6768188 100644
--- a/typo3/sysext/form/Configuration/TCA/Overrides/tt_content.php
+++ b/typo3/sysext/form/Configuration/TCA/Overrides/tt_content.php
@@ -7,7 +7,7 @@ call_user_func(static function () {
     $contentTypeName = \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
         'Form',
         'Formframework',
-        'Form',
+        'LLL:EXT:form/Resources/Private/Language/locallang.xlf:form_new_wizard_title',
         'content-form',
         'forms'
     );
diff --git a/typo3/sysext/indexed_search/Configuration/TCA/Overrides/tt_content.php b/typo3/sysext/indexed_search/Configuration/TCA/Overrides/tt_content.php
index 6f9cd21eacda..12c3c317a568 100644
--- a/typo3/sysext/indexed_search/Configuration/TCA/Overrides/tt_content.php
+++ b/typo3/sysext/indexed_search/Configuration/TCA/Overrides/tt_content.php
@@ -7,7 +7,7 @@ call_user_func(static function () {
     $pluginSignature = \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
         'IndexedSearch',
         'Pi2',
-        'Indexed Search',
+        'LLL:EXT:indexed_search/Resources/Private/Language/locallang_db.xlf:plugin_title',
         'mimetypes-x-content-form-search'
     );
     $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,pages,recursive';
-- 
GitLab