diff -ru rtehtmlarea.orig/extensions/BlockElements/class.tx_rtehtmlarea_blockelements.php rtehtmlarea/extensions/BlockElements/class.tx_rtehtmlarea_blockelements.php
--- rtehtmlarea.orig/extensions/BlockElements/class.tx_rtehtmlarea_blockelements.php 2008-04-23 12:15:48.000000000 +0200
+++ rtehtmlarea/extensions/BlockElements/class.tx_rtehtmlarea_blockelements.php 2008-06-10 18:40:48.000000000 +0200
@@ -138,6 +138,10 @@
} else {
$blockElementsOptions[$item] = $LANG->getLL($this->defaultBlockElements[$item]);
}
+ // Getting custom labels
+ if ($this->thisConfig['buttons.']['formatblock.']['items.'][$item.'.']['label']) {
+ $blockElementsOptions[$item] = $this->htmlAreaRTE->getPageConfigLabel($this->thisConfig['buttons.']['formatblock.']['items.'][$item.'.']['label'], 0);
+ }
$blockElementsOptions[$item] = (($prefixLabelWithTag && $item != 'none')?($item . ' - '):'') . $blockElementsOptions[$item] . (($postfixLabelWithTag && $item != 'none')?(' - ' . $item):'');
}
}