From 396e55d0f7337075d977a2051d31edd6a8b7caaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacob?= <bjoern.jacob@tritum.de> Date: Fri, 18 May 2018 16:22:37 +0200 Subject: [PATCH] [TASK] Improve language labels of the form editor Resolves: #85048 Releases: master Change-Id: I7c0048c52c0fe4b8e76fbbef474e3093e7787c37 Reviewed-on: https://review.typo3.org/57010 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de> Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de> --- .../form/Configuration/Yaml/FormEditorSetup.yaml | 2 ++ .../form/Resources/Private/Language/Database.xlf | 11 +++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml b/typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml index a781f6fe3ac4..d9477613c9ba 100644 --- a/typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml +++ b/typo3/sysext/form/Configuration/Yaml/FormEditorSetup.yaml @@ -819,6 +819,8 @@ TYPO3: text: '' iconIdentifier: 'form-static-text' editors: + 200: + label: 'formEditor.elements.StaticText.editor.label.label' 300: identifier: 'staticText' templateName: 'Inspector-TextareaEditor' diff --git a/typo3/sysext/form/Resources/Private/Language/Database.xlf b/typo3/sysext/form/Resources/Private/Language/Database.xlf index f910bb9479de..be29c85d5b2b 100644 --- a/typo3/sysext/form/Resources/Private/Language/Database.xlf +++ b/typo3/sysext/form/Resources/Private/Language/Database.xlf @@ -500,7 +500,7 @@ </trans-unit> <trans-unit id="formEditor.elements.SelectionMixin.editor.inactiveOption.label" xml:space="preserve"> - <source>Inactive option</source> + <source>First option (empty value)</source> </trans-unit> <trans-unit id="formEditor.elements.SelectionMixin.editor.inactiveOption.fieldExplanationText" xml:space="preserve"> <source>If set, this label will be shown as first option.</source> @@ -690,7 +690,7 @@ <source>Page</source> </trans-unit> <trans-unit id="formEditor.elements.Form.finisher.Redirect.editor.pageUid.buttonLabel" xml:space="preserve"> - <source>Pages</source> + <source>Page</source> </trans-unit> <trans-unit id="formEditor.elements.Form.finisher.Redirect.editor.additionalParameters.label" xml:space="preserve"> <source>Additional parameters</source> @@ -707,7 +707,7 @@ <source>Content element uid</source> </trans-unit> <trans-unit id="formEditor.elements.Form.finisher.Confirmation.editor.contentElement.buttonLabel" xml:space="preserve"> - <source>tt_content</source> + <source>Page Content</source> </trans-unit> <trans-unit id="formEditor.elements.Form.finisher.Confirmation.editor.message.label" xml:space="preserve"> <source>Text</source> @@ -956,6 +956,9 @@ <trans-unit id="formEditor.elements.StaticText.label" xml:space="preserve"> <source>Static text</source> </trans-unit> + <trans-unit id="formEditor.elements.StaticText.editor.label.label" xml:space="preserve"> + <source>Header</source> + </trans-unit> <trans-unit id="formEditor.elements.StaticText.editor.staticText.label" xml:space="preserve"> <source>Text</source> </trans-unit> @@ -978,7 +981,7 @@ <source>Content element uid</source> </trans-unit> <trans-unit id="formEditor.elements.ContentElement.editor.contentElement.buttonLabel" xml:space="preserve"> - <source>tt_content</source> + <source>Page Content</source> </trans-unit> <trans-unit id="formEditor.elements.FileUpload.label" xml:space="preserve"> -- GitLab