#18931Change labels of formatblock items
Description
It’s currently not possible to change the labels (Paragraph, Heading 1 and so fourth) of the formatblock drop down. It would be nice to have this possibility through pageTS.
(issue imported from #M8668)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 3
History 5
-
Andreas Wagner commented 06/10/08, 17:55
-
Andreas Wagner commented 06/10/08, 19:07
The attached patch adds this feature by adding the page TSconfig property buttons.formatblock.items.[item-name].label
I am not exactly sure what $this->htmlAreaRTE->getPageConfigLabel() does, but it seems right to get the label through this function from looking at the function name. And this is how the label is fetched in buildJSClassesArray() for example.
-
Stanislas Rolland commented 09/02/08, 04:09
Thanks for the patch. I modified it slightly.
getPageConfigLabel() gets the label from PageTSConfig which may be a simple string, but may also be of the form LLL:EXT:[fileref]:[labelkey], in other words may be a reference to an entry in a xml localization file.
-
Stanislas Rolland commented 09/02/08, 04:31
Committed to SVN TYPO3core trunk revision 4050.
-
Benni Mack changed status
ResolvedClosed 10/02/18, 12:41
Hm, this is supposed to have Severity = feature and Reproducibility = always. Would be great if someone could change this.