Bug #24136
closed
Live-Search uses hardcoded texts
Added by Felix Kopp about 14 years ago.
Updated over 13 years ago.
Description
The labels within the livesearch fly-out are not internationalized but hardcoded within $helpContent (class.extdirect_dataprovider_backendlivesearch):
These texts are
- "How to use advanced search tags" and
- "Search in certain tables: page:Home will search for all pages with the title "Home""
Put labels into 'LANG'
(issue imported from #M16481)
Files
These texts are also present in locallang_misc.xml. I just translated them and I now see them in German.
Maybe these texts in the PHP file are not needed at all and can be removed?
But there is one other untranslated text:
- The word "Search" when you hover over the magnifier icon, coming from typo3/classes/class.livesearch.php line 73.
And something else:
- A tooltip is missing when you hover over the "x" which empties the search field.
Thanks for the bug report! You're right that the hardcoded strings in the PHP files are not used at all. Attached patch removes this code and fixes the hardcoded title attribute of "Search".
For the time being, I don't think we need a tooltip over the "x" since this is used throughout the core without a tooltip.
Committed to trunk in r9909.
- Target version deleted (
4.5.0)
Also available in: Atom
PDF