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

Christopher Stelmaszyk christopher at yahoo.de
Fri Aug 14 13:52:34 CEST 2009


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>
 


begin 666 11699_template_menu.patch
M26YD97 at Z('1Y<&\S+W-Y<V5X="]T<W1E;7!L871E7V%N86QY>F5R+V5X=%]T
M86)L97,N<&AP"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*+2TM('1Y<&\S+W-Y
M<V5X="]T<W1E;7!L871E7V%N86QY>F5R+V5X=%]T86)L97,N<&AP"2AR979I
M<VEO;B U-S<Y*0HK*RL@='EP;S,O<WES97AT+W1S=&5M<&QA=&5?86YA;'EZ
M97(O97AT7W1A8FQE<RYP:' )*'=O<FMI;F<@8V]P>2D*0$ @+38L-R K-BPW
M($! "B )"2=W96)?=',G+ H@"0DG='A?='-T96UP;&%T96%N86QY>F5R)RP*
M( D)=#-L:6)?97AT36=M.CIE>'10871H*"1?15A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%B96P@:6YD97@](G1E;7!L871E
6<R(^(R!496UP;&%T97,\+VQA8F5L/@``
`
end



More information about the TYPO3-team-core mailing list