#64879indexed search pi1 (pibased plugin) can't load translation labels locallang.xlf
Description
in the commit bf63a1c http://review.typo3.org/32708
the
$scriptRelPath variable of SearchFormController.php was changed to:
$scriptRelPath = 'Classes/Controller/SearchFormController.php';
before it was:
public $scriptRelPath = 'pi/class.tx_indexedsearch.php';
This change caused the Abstract plugin to search for the locallang.xlf file in
EXT:indexed_search/Classes/Controller/locallang.xlf
but the file was left in indexed_search/pi1/locallang.xlf
We can solve the problem in 3 ways:
1. move locallang.xml to /Classes/Controller/locallang.xlf
2. change $scriptRelPath back to ‘pi/class.tx_indexedsearch.php’;
(like it was left in felogin/Classes/Controller/FrontendLoginController.php)
3. refactor AbstractPlugin to allow having locallang files in the Resources folder.