[TASK] Add title to topbar buttons 62/60862/5
authorGianluigi Martino <gmartino27@gmail.com>
Mon, 3 Jun 2019 07:09:26 +0000 (09:09 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 12 Jun 2019 05:56:23 +0000 (07:56 +0200)
Add title to the two topbar buttons on the left:
- Minimize/maximize module menu
- Collapse page tree

Resolves: #88385
Releases: master, 9.5
Change-Id: I9641bdf5454f1f50e6c4ab67c96f663b8b5d8c73
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60862
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Sybille Peters <sypets@gmx.de>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Sybille Peters <sypets@gmx.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Resources/Private/Partials/Backend/Topbar.html
typo3/sysext/core/Resources/Private/Language/locallang_core.xlf

index 577e442..8724bba 100644 (file)
@@ -1,10 +1,10 @@
 <div class="scaffold-topbar t3js-scaffold-topbar" data-topbar-identifier="topbar">
     <div class="topbar">
         <div class="topbar-header t3js-topbar-header">
-            <button class="topbar-button topbar-button-modulemenu t3js-topbar-button-modulemenu">
+            <button class="topbar-button topbar-button-modulemenu t3js-topbar-button-modulemenu" title="{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.minMaxModuleMenu')}">
                 <core:icon identifier="actions-menu" alternativeMarkupIdentifier="inline" />
             </button>
-            <button class="topbar-button topbar-button-navigationcomponent t3js-topbar-button-navigationcomponent">
+            <button class="topbar-button topbar-button-navigationcomponent t3js-topbar-button-navigationcomponent" title="{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.collapsePageTree')}">
                 <core:icon identifier="actions-pagetree" alternativeMarkupIdentifier="inline" />
             </button>
             <div class="topbar-header-site">
index f4df92f..4a4b81a 100644 (file)
@@ -1146,6 +1146,9 @@ Do you want to refresh it now?</source>
                        <trans-unit id="toolbarItems.bookmarksDelete">
                                <source>Delete bookmark</source>
                        </trans-unit>
+                       <trans-unit id="toolbarItems.collapsePageTree">
+                               <source>Collapse page tree</source>
+                       </trans-unit>
                        <trans-unit id="toolbarItems.confirmBookmarksDelete">
                                <source>Do you really want to remove this bookmark?</source>
                        </trans-unit>
@@ -1161,6 +1164,9 @@ Do you want to refresh it now?</source>
                        <trans-unit id="toolbarItems.help">
                                <source>Help</source>
                        </trans-unit>
+                       <trans-unit id="toolbarItems.minMaxModuleMenu">
+                               <source>Minimize/maximize module menu</source>
+                       </trans-unit>
                        <trans-unit id="toolbarItems.search">
                                <source>Search</source>
                        </trans-unit>