Actions
Feature #77540
closedExtensionManagementUtility::addStaticFile language handling for $title
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2016-08-18
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
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' ); ?>
Actions