[BUGFIX] Missing labels in backend modules
There seems to be some magic in SOBE that automatically includes language files if they are located parallel to the module that is loaded. The task from #46143 and #46144 registered new wizard classes at a different location, so the magic doesn't hit anymore. As a result, no labels are show in above extensions in the backend. Fix is to include the locallang file in main() of the modules. The direct access to $LANG is removed along the way by accessing $GLOBALS['LANG'] directly. Change-Id: Iecddb181141f5317b87e405ada925c61cfd9261c Fixes: #46296 Related: #46143 Related: #46144 Releases: 6.1 Reviewed-on: https://review.typo3.org/18925 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
Showing
- typo3/sysext/tstemplate_analyzer/Classes/Controller/TemplateAnalyzerModuleFunctionController.php 1 addition, 0 deletions...s/Controller/TemplateAnalyzerModuleFunctionController.php
- typo3/sysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php 1 addition, 1 deletion...ysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php
- typo3/sysext/tstemplate_ceditor/Classes/Controller/TypoScriptTemplateConstantEditorModuleFunctionController.php 1 addition, 0 deletions...oScriptTemplateConstantEditorModuleFunctionController.php
- typo3/sysext/tstemplate_ceditor/class.tx_tstemplateceditor.php 1 addition, 1 deletion.../sysext/tstemplate_ceditor/class.tx_tstemplateceditor.php
- typo3/sysext/tstemplate_info/Classes/Controller/TypoScriptTemplateInformationModuleFunctionController.php 1 addition, 0 deletions...TypoScriptTemplateInformationModuleFunctionController.php
- typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php 1 addition, 1 deletiontypo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php
- typo3/sysext/tstemplate_objbrowser/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php 1 addition, 0 deletions...poScriptTemplateObjectBrowserModuleFunctionController.php
- typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php 1 addition, 1 deletion...t/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php
- typo3/sysext/wizard_crpages/Classes/Controller/CreatePagesWizardModuleFunctionController.php 8 additions, 8 deletions.../Controller/CreatePagesWizardModuleFunctionController.php
- typo3/sysext/wizard_sortpages/Classes/View/SortPagesWizardModuleFunction.php 14 additions, 14 deletions..._sortpages/Classes/View/SortPagesWizardModuleFunction.php
Please register or sign in to comment