From a66417694f4ba6c2679be08afac90d94247d40a1 Mon Sep 17 00:00:00 2001
From: Oliver Bartsch <bo@cedev.de>
Date: Mon, 12 Dec 2022 14:34:32 +0100
Subject: [PATCH] [BUGFIX] Replace undefined variable with locallang key

The title of the "edit column" button in the page
module is now using the correct locallang key
instead of an undefined variable.

Resolves: #99339
Releases: main, 11.5
Change-Id: Ic3a44174da62d25de06e1673dd5748dedf4aff0a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77132
Tested-by: core-ci <typo3@b13.com>
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
---
 .../Private/Partials/PageLayout/Grid/ColumnHeader.html        | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html b/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html
index e1078b833cfc..54b862d64cbb 100644
--- a/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html
+++ b/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html
@@ -3,7 +3,9 @@
         <f:then>
             <div class="t3-page-column-header-icons">
                 <f:if condition="{allowEditContent} && {column.editUrl}">
-                    <a href="{column.editUrl}" title="{column.editLinkTitle}"><core:icon identifier="actions-document-open" /></a>
+                    <a href="{column.editUrl}" title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:editColumn')}">
+                        <core:icon identifier="actions-document-open" />
+                    </a>
                 </f:if>
             </div>
             {column.title}
-- 
GitLab