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.
Problem/Motivation
Would be good for the Spectrum widget to have settings for set Cancel/Choose buttons text. As benefit of this with the https://www.drupal.org/project/drupal/issues/2546212 will be ability to translate this texts.
Steps to reproduce
Cancel/Choose buttons text for now is library default: 'cancel' and 'choose'.
Proposed resolution
Add extra two textfields in the widget settings.
Remaining tasks
Test my patch.
User interface changes
None.
API changes
None.
Data model changes
Spectrum widget config.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3168854-2.patch | 2.92 KB | myha |
|
Comments
Comment #2
myha CreditAttribution: myha commentedHere is my patch.
Comment #4
NickDickinsonWildeThanks for the patch! Makes total sense and always keen on better i18n even if it is dependent on fixes that are in the works for core.