Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <typo3@b13.com> Tested-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Oliver Bartsch <bo@cedev.de>
- Loading branch information
Showing
3 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...ext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/RemoveElementEditor.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:formvh="http://typo3.org/ns/TYPO3/CMS/Form/ViewHelpers" data-namespace-typo3-fluid="true"> | ||
<div class="t3-form-control-group form-group btn-group-sm"> | ||
<button class="btn btn-default" title="Remove this Element"><core:icon identifier="actions-delete" alternativeMarkupIdentifier="inline" /></button> | ||
<button class="btn btn-default" title="{f:translate(key: 'LLL:EXT:form/Resources/Private/Language/Database.xlf:formEditor.inspector.editor.formelement.remove')}"> | ||
<core:icon identifier="actions-delete" alternativeMarkupIdentifier="inline" /> | ||
</button> | ||
</div> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters