Feature: #65020 - Change button labels within TCA type=file

See forge#65020

Description

When working with file references (sys_file_reference records) within FormEngine, there are up to three buttons available:

  • "Create new relation"

  • "Select & upload files"

  • "Add media by URL"

Whereas the first button text can be changed via TCA on a per-field basis via [config][appearance][createNewRelationLinkTitle] = 'LLL:my_extension/...'; the two other label fields are hard-coded. It is especially useful to override such a label when only a certain type of media is required (for example, just images) or online media of type YouTube.

It is now possible to do so by using two new TCA configuration settings for TCA type=file

  • [config][appearance][uploadFilesLinkTitle]

  • [config][appearance][addMediaLinkTitle]

Impact

An extension author can now completely modify the label texts of all buttons.