[TYPO3-core] RFC #11699: Menu entries in the template module miss translation

Rupert Germann rupi at gmx.li
Fri Aug 21 14:44:09 CEST 2009


FYI: committed to trunk rev 5809

rupert


Christopher Stelmaszyk schrieb:
> Hi!
> 
> This is a SVN patch request.
> 
> Type: feature
> 
> Branches: trunk
> 
> BT reference:
> http://bugs.typo3.org/view.php?id=11699
> 
> Problem:
> Four texts in the menu of the template-module are hardcoded.
> 
> Solution:
> This patch adds them in the locallang-file of the mother-module. I put the 
> texts to this central place, because this mother-module is used as a 
> container to display the sub-modules.
> 
> Cheers
> 
> Christopher
> 
> 
>  Index: typo3/sysext/tstemplate_analyzer/ext_tables.php
> ===================================================================
> --- typo3/sysext/tstemplate_analyzer/ext_tables.php	(revision 5779)
> +++ typo3/sysext/tstemplate_analyzer/ext_tables.php	(working copy)
> @@ -6,7 +6,7 @@
>  		'web_ts',
>  		'tx_tstemplateanalyzer',
>  		t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateanalyzer.php',
> -		'Template Analyzer'
> +		'LLL:EXT:tstemplate/ts/locallang.xml:templateAnalyzer'
>  	);
>  }
>  ?>
> \ No newline at end of file
> Index: typo3/sysext/tstemplate_ceditor/ext_tables.php
> ===================================================================
> --- typo3/sysext/tstemplate_ceditor/ext_tables.php	(revision 5779)
> +++ typo3/sysext/tstemplate_ceditor/ext_tables.php	(working copy)
> @@ -6,7 +6,7 @@
>  		'web_ts',
>  		'tx_tstemplateceditor',
>  		t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateceditor.php',
> -		'Constant Editor'
> +		'LLL:EXT:tstemplate/ts/locallang.xml:constantEditor'
>  	);
>  }
>  ?>
> \ No newline at end of file
> Index: typo3/sysext/tstemplate_info/ext_tables.php
> ===================================================================
> --- typo3/sysext/tstemplate_info/ext_tables.php	(revision 5779)
> +++ typo3/sysext/tstemplate_info/ext_tables.php	(working copy)
> @@ -6,7 +6,7 @@
>  		'web_ts',
>  		'tx_tstemplateinfo',
>  		t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateinfo.php',
> -		'Info/Modify'
> +		'LLL:EXT:tstemplate/ts/locallang.xml:infoModify'
>  	);
>  }
>  ?>
> \ No newline at end of file
> Index: typo3/sysext/tstemplate_objbrowser/ext_tables.php
> ===================================================================
> --- typo3/sysext/tstemplate_objbrowser/ext_tables.php	(revision 5779)
> +++ typo3/sysext/tstemplate_objbrowser/ext_tables.php	(working copy)
> @@ -6,7 +6,7 @@
>  		'web_ts',
>  		'tx_tstemplateobjbrowser',
>  		t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateobjbrowser.php',
> -		'TypoScript Object Browser'
> +		'LLL:EXT:tstemplate/ts/locallang.xml:objectBrowser'
>  	);
>  }
>  ?>
> \ No newline at end of file
> Index: typo3/sysext/tstemplate/ts/locallang.xml
> ===================================================================
> --- typo3/sysext/tstemplate/ts/locallang.xml	(revision 5779)
> +++ typo3/sysext/tstemplate/ts/locallang.xml	(working copy)
> @@ -7,6 +7,10 @@
>  	<data type="array">
>  		<languageKey index="default" type="array">
>  			<label index="moduleTitle">Template tools</label>
> +			<label index="templateAnalyzer">Template Analyzer</label>
> +			<label index="constantEditor">Constant Editor</label>
> +			<label index="infoModify">Info/Modify</label>
> +			<label index="objectBrowser">TypoScript Object Browser</label>
>  			<label index="viewTemplates">Viewing templates of</label>
>  			<label index="pageName">Page name</label>
>  			<label index="templates"># Templates</label>
>  
> 
> 
> 


More information about the TYPO3-team-core mailing list