Review main Merged

78190[FEATURE] Allow overriding button text for TCA type=file

Benni Mack CR +2 V +2 Normal +56 −6 updated 03/22/23, 19:21

Commit message

With TCA, it is possible for type=file to change
the label to a different label depending on the field.

This is useful if you want to change the label
to "Choose poster image", if e.g. the selection
of file extensions is changed.

This is done via
* [config][appearance][createNewRelationLinkTitle]

Now, the other two buttons can also be changed:
* [config][appearance][uploadFilesLinkTitle] (defaults to "Select & upload files)
* [config][appearance][addMediaLinkTitle] (defaults to "Add media by URL")

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2