#77540ExtensionManagementUtility::addStaticFile language handling for $title
Description
Currently it’s not possible to use a string from language file for the $title when adding a static TypoScript template file.
This works:
<?php
// Add an entry in the static template list found in sys_templates for static TS
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'ext_key',
'Configuration/TypoScript',
'TS Title'
);
?>
This doesn’t, but should:
<?php
// Add an entry in the static template list found in sys_templates for static TS
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'ext_key',
'Configuration/TypoScript',
'LLL:EXT:ext_key/Resources/Private/Language/locallang.xlf:tstitle'
);
?>