[FOLLOWUP][CLEANUP] Streamline backend toolbar items 63/52263/2
authorBenni Mack <benni@typo3.org>
Thu, 30 Mar 2017 13:31:53 +0000 (15:31 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 30 Mar 2017 15:14:40 +0000 (17:14 +0200)
Showing the composer mode label was not translated anymore while cleaning up.

Resolves: #80554
Releases: master
Change-Id: I61ad3087f10533b82870aedd4ee42d55d76d09e3
Reviewed-on: https://review.typo3.org/52263
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php

index e991b57..1e6375b 100644 (file)
@@ -172,7 +172,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
 
         $this->systemInformation[] = [
             'title' => 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:toolbarItems.sysinfo.composerMode',
-            'value' => 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.enabled',
+            'value' => $GLOBALS['LANG']->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.enabled'),
             'iconIdentifier' => 'sysinfo-composer-mode'
         ];
     }