From e20b0dd866dd90cfaf4b26d477f78090a7036173 Mon Sep 17 00:00:00 2001 From: Oliver Bartsch Date: Tue, 1 Mar 2022 09:31:12 +0100 Subject: [PATCH] [TASK] Make labels in FormEditor translatable This moves some labels from the template to the locallang file, making them translatable. Resolves: #97048 Releases: main, 11.5 Change-Id: I0d02864296b98148e2f01449edc2edbe880847f9 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73772 Tested-by: core-ci Tested-by: Oliver Bartsch Reviewed-by: Oliver Bartsch --- .../FormEditor/Inspector/PropertyGridEditor.html | 8 ++++++-- .../FormEditor/Inspector/RemoveElementEditor.html | 4 +++- .../sysext/form/Resources/Private/Language/Database.xlf | 9 +++++++++ 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/PropertyGridEditor.html b/typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/PropertyGridEditor.html index ee99f7e1aad5..13e25b87b922 100644 --- a/typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/PropertyGridEditor.html +++ b/typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/PropertyGridEditor.html @@ -21,14 +21,18 @@
- +
- +
diff --git a/typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/RemoveElementEditor.html b/typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/RemoveElementEditor.html index 277e55b37efe..899926366215 100644 --- a/typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/RemoveElementEditor.html +++ b/typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/RemoveElementEditor.html @@ -1,5 +1,7 @@
- +
diff --git a/typo3/sysext/form/Resources/Private/Language/Database.xlf b/typo3/sysext/form/Resources/Private/Language/Database.xlf index 19badba8f5e3..fb46f90546fb 100644 --- a/typo3/sysext/form/Resources/Private/Language/Database.xlf +++ b/typo3/sysext/form/Resources/Private/Language/Database.xlf @@ -1103,6 +1103,15 @@ No elements available + + Remove this Element + + + Add a new row + + + Remove this row +