Fixed bug #11772: Hardcoded strings in TCA of template module
authorOliver Hader <oliver.hader@typo3.org>
Tue, 25 Aug 2009 15:11:09 +0000 (15:11 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 25 Aug 2009 15:11:09 +0000 (15:11 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5822 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/locallang_tca.xml
typo3/sysext/cms/tbl_cms.php

index 1a93079..5b06475 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * Added feature #11707: Integrate possibility to enable/disable the deprecation logging (thanks to Sascha Kettler)
        * Fixed bug #11657: Extension sys_action uses hardcoded labels (thanks to Christopher Stelmaszyk)
        * Fixed bug #11660: Hardcoded labels in backend.php (thanks to Christopher Stelmaszyk)
+       * Fixed bug #11772: Hardcoded strings in TCA of template module (thanks to Christopher Stelmaszyk)
 
 2009-08-25  Ingo Renner  <ingo@typo3.org>
 
index 430bce5..9ed99a2 100755 (executable)
                        <label index="sys_template.editorcfg">Backend Editor Configuration:</label>
                        <label index="sys_template.description">Description:</label>
                        <label index="sys_template.static_file_mode">Static template files from T3 Extensions:</label>
+                       <label index="sys_template.static_file_mode.0">Default (Include before if Root-flag is set)</label>
+                       <label index="sys_template.static_file_mode.1">Always include before this template record</label>
+                       <label index="sys_template.static_file_mode.2">Never include before this template record</label>
                        <label index="sys_template.basedOn_add">Add new basis template</label>
                        <label index="sys_template.tabs.files">Resources</label>
                        <label index="sys_template.tabs.include">Includes</label>
index cdc8539..375c1a6 100755 (executable)
@@ -926,9 +926,9 @@ $TCA['sys_template'] = array(
                        'config' => array(
                                'type' => 'select',
                                'items' => array(
-                                       array('Default (Include before if Root-flag is set)', '0'),
-                                       array('Always include before this template record', '1'),
-                                       array('Never include before this template record', '2'),
+                                       array('LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode.0', '0'),
+                                       array('LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode.1', '1'),
+                                       array('LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode.2', '2'),
                                ),
                                'default' => '0'
                        )