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
The text for the empty behavior option "text" is not translatable
Proposed resolution
Make it translatable.
Remaining tasks
None
User interface changes
None
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#2 | 3039172-2.patch | 454 bytes | casey |
Comments
Comment #2
casey CreditAttribution: casey at SWIS commentedComment #3
borisson_Instead of text, we should probably use
label
, that is also translatable but it is more appropriate.Comment #4
flocondetoileAre you sure of using 'label' instead of 'text' ? If we use 'label', then in the config translation UI we will get a simple textfield to translate the empty text. Where as using 'text' we will get a textarea in the config translation UI, I believe. For consistency, as the input field for empty text is a textarea we should use the 'text" property no ?
Comment #5
flocondetoileFor #4
Comment #6
borisson_You are right, makes more sense.
Comment #8
borisson_Committed and pushed, thanks!