[BUGFIX] Make headline of adminpanel sub module settings dynamic 31/57931/2
authorSusanne Moog <susanne.moog@typo3.org>
Thu, 16 Aug 2018 18:30:52 +0000 (20:30 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 16 Aug 2018 20:58:19 +0000 (22:58 +0200)
The headline of an admin panel submodule settings group was hardcoded
to "Submodule Settings". This has been changed to "<Submodule Name>
Settings". In addition two missing translations have been introduced.

Releases: master
Resolves: #85876
Change-Id: Ifea4898317a04465776671b766418dbdcf29fcc3
Reviewed-on: https://review.typo3.org/57931
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/adminpanel/Resources/Private/Partials/Modules/Item.html

index 545dcbd..9862f98 100644 (file)
@@ -31,7 +31,7 @@
                     <f:for each="{module.subModules}" as="sub">
                         <f:if condition="{sub.settings}">
                             <div class="typo3-adminPanel-content-settings-group">
-                                <h4 class="typo3-adminPanel-headline">Settings Group</h4>
+                                <h4 class="typo3-adminPanel-headline">{sub.label} <f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:settings.label"/></h4>
                                 <f:format.raw>
                                     {sub.settings}
                                 </f:format.raw>
@@ -39,7 +39,7 @@
                         </f:if>
                     </f:for>
                     <div class="typo3-adminPanel-form-group">
-                        <f:form.button class="typo3-adminPanel-btn typo3-adminPanel-btn-primary" data="{typo3-role: 'typo3-adminPanel-saveButton'}">Save</f:form.button>
+                        <f:form.button class="typo3-adminPanel-btn typo3-adminPanel-btn-primary" data="{typo3-role: 'typo3-adminPanel-saveButton'}"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:settings.updateButtonLabel"/></f:form.button>
                     </div>
                 </div>
             </f:if>