Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I need to change the text of 'Departure date' and 'Arrival date' to something else. It would be great to have a setting to do this, rather than rely on something like String Overrides.
Comments
Comment #0.0
glennnz CreditAttribution: glennnz commentedUpdated due to more info
Comment #1
fietserwinI have no intention to add a UI for this to the module itself, although I could use it myself as well. So this will either be a dependency on string overrides (for English, normal translation interface otherwise) or the variable module that provides a default interface for changing/setting variables. (Currently, I know of the Colorbox module that does so.)
You can speed this up by:
- creating a list of all strings that may need customisation
- writing a patch that changes all these strings into variables
- extending this patch (or writing a follow-up patch) with an implementation of (all) the hook(s) that the variable module needs.
Comment #1.0
fietserwinCorrected incorrectness
Comment #2
fietserwinI added this feature via the variable module.
If UI texts are missing do not hesitate to inform me.