I have extended tx-news with a custom date-field and want to sort the list view by this field. Accordding to the documentation I have extended the "Sort by"-Selectbox of the news-plugin an everything works fine:
$GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['orderByNews'] .= ',my_field';
plugin.tx_news.settings.orderByAllowed := addToList(my_field)
But how can I translate or customize the label of the option in the selectbox? Currently it shows the name of the field?