From 2ab9dd6ade8724203382d098298e05c7bdd2ad93 Mon Sep 17 00:00:00 2001
From: Christian Rath-Ulrich <christian@rath-ulrich.de>
Date: Mon, 10 Jun 2024 18:13:03 +0200
Subject: [PATCH] [TASK] Update label of button to create content in page
 module
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Resolves: #104025
Releases: main, 12.4
Change-Id: I32b509644018eaa4de452f499d525c6822addad1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84549
Tested-by: Jasmina Ließmann <minapokhalo+typo3@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Michael Telgkamp <michael.telgkamp@mindscreen.de>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Michael Telgkamp <michael.telgkamp@mindscreen.de>
Reviewed-by: Jasmina Ließmann <minapokhalo+typo3@gmail.com>
Tested-by: core-ci <typo3@b13.com>
---
 .../backend/Resources/Private/Language/locallang_layout.xlf    | 3 +++
 .../Private/Partials/PageLayout/Grid/ColumnHeader.html         | 2 +-
 .../backend/Resources/Private/Partials/PageLayout/Record.html  | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/typo3/sysext/backend/Resources/Private/Language/locallang_layout.xlf b/typo3/sysext/backend/Resources/Private/Language/locallang_layout.xlf
index db8f676c2b77..645305dd8619 100644
--- a/typo3/sysext/backend/Resources/Private/Language/locallang_layout.xlf
+++ b/typo3/sysext/backend/Resources/Private/Language/locallang_layout.xlf
@@ -93,6 +93,9 @@
 			<trans-unit id="content" resname="content">
 				<source>Content</source>
 			</trans-unit>
+			<trans-unit id="createNewContent" resname="createNewContent">
+				<source>Create new content</source>
+			</trans-unit>
 			<trans-unit id="newInColumn" resname="newInColumn">
 				<source>Create new record in top of this column</source>
 			</trans-unit>
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 909948917a98..5e474b84e8bf 100644
--- a/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html
+++ b/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html
@@ -27,7 +27,7 @@
         <div class="t3-page-ce-actions t3js-page-new-ce">
             <typo3-backend-new-content-element-wizard-button class="btn btn-default btn-sm" url="{column.newContentUrl}" subject="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:newContentElement')}">
                 <core:icon identifier="actions-plus" />
-                <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:content" />
+                <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:createNewContent" />
             </typo3-backend-new-content-element-wizard-button>
         </div>
         <div class="t3-page-ce-dropzone t3js-page-ce-dropzone-available"></div>
diff --git a/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Record.html b/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Record.html
index 88358fd44f49..7a7906cfd6c6 100644
--- a/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Record.html
+++ b/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Record.html
@@ -32,7 +32,7 @@
         <div class="t3-page-ce-actions t3js-page-new-ce">
             <typo3-backend-new-content-element-wizard-button class="btn btn-default btn-sm" url="{item.newContentAfterUrl}" subject="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:newContentElement')}">
                 <core:icon identifier="actions-plus" />
-                <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:content" />
+                <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:createNewContent" />
             </typo3-backend-new-content-element-wizard-button>
         </div>
     </f:if>
-- 
GitLab