From e8b234b4a7be11753a709e389716c7cf6ae7c7fd Mon Sep 17 00:00:00 2001 From: Willi Wehmeier <wwwehmeier@gmail.com> Date: Mon, 18 Mar 2024 15:34:17 +0100 Subject: [PATCH] [BUGFIX] Provide correct ll string keys in template for pagetitle edit The used ll keys used in the javascript code for the inline pagetitle edit feature in the page and recordlist module aren't set correctly in the corresponding templates. This patch solves that mismatch. Resolves: #103419 Releases: main, 12.4 Change-Id: I5dfb242bb596bef73a3d9474e8cd31ded723fea0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83502 Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: core-ci <typo3@b13.com> Tested-by: Andreas Kienast <a.fernandez@scripting-base.de> Tested-by: Simon Schaufelberger <simonschaufi+typo3@gmail.com> Reviewed-by: Simon Schaufelberger <simonschaufi+typo3@gmail.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Andreas Kienast <a.fernandez@scripting-base.de> --- .../Resources/Private/Templates/PageLayout/PageModule.html | 4 ++-- .../backend/Resources/Private/Templates/RecordList.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/typo3/sysext/backend/Resources/Private/Templates/PageLayout/PageModule.html b/typo3/sysext/backend/Resources/Private/Templates/PageLayout/PageModule.html index 818a0b54d8d5..2a2f0e12949a 100644 --- a/typo3/sysext/backend/Resources/Private/Templates/PageLayout/PageModule.html +++ b/typo3/sysext/backend/Resources/Private/Templates/PageLayout/PageModule.html @@ -19,8 +19,8 @@ addJsInlineLabels="{ 'editablePageTitle.input.field.label': 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:editPageTitle.input.field.label', 'editablePageTitle.button.edit.label': 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:editPageTitle', - 'editableGroupName.button.save.label': 'LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:save', - 'editableGroupName.button.cancel.label': 'LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:cancel' + 'editablePageTitle.button.save.label': 'LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:save', + 'editablePageTitle.button.cancel.label': 'LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:cancel' }" /> <f:variable name="immediateActionArgs" value="{0: 'web', 1: pageId, 2: 1}" /> diff --git a/typo3/sysext/backend/Resources/Private/Templates/RecordList.html b/typo3/sysext/backend/Resources/Private/Templates/RecordList.html index bb60c3dd45ba..89ba1ab7dd06 100644 --- a/typo3/sysext/backend/Resources/Private/Templates/RecordList.html +++ b/typo3/sysext/backend/Resources/Private/Templates/RecordList.html @@ -24,8 +24,8 @@ addJsInlineLabels="{ 'editablePageTitle.input.field.label': 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:editPageTitle.input.field.label', 'editablePageTitle.button.edit.label': 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:editPageTitle', - 'editableGroupName.button.save.label': 'LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:save', - 'editableGroupName.button.cancel.label': 'LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:cancel' + 'editablePageTitle.button.save.label': 'LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:save', + 'editablePageTitle.button.cancel.label': 'LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:cancel' }" /> <f:variable name="immediateActionArgs" value="{0: 'web', 1: pageId}" /> -- GitLab