Actions
Bug #15753
closedOverwriting csh-labels in XClass doesn't work
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2006-03-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
im writing a XCLASS-Extension and need some different description (locallang_csh.php). Therefore I use an other locallang_csh.php file and include it with:
t3lib_extMgm::addLLrefForTCAdescr('tx_aseventdb_events','EXT:ks_eventdb/locallang_csh.php');
But the help-window still displays the old Text...
investigating further I found that the TCA_DESCR-Array contains an Element
[refs] => Array
(
[0] => EXT:as_eventdb/locallang_csh.php
[1] => EXT:ks_eventdb/locallang_csh.php
)
but only the first file is loaded by lang.php when the method $LANG->loadSingleTableDescription($table); is called.
I fixed this issue by xclassing language::loadSingleTableDescription($table), where I replaced "$LOCAL_LANG = $this->includeLLFile($llfile,0,1);" with "$this->includeLLFile($llfile,1,1);" in line 352.
(issue imported from #M2746)
Actions