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.
The t() function is not called when displaying the description "help text". Therefore - cck forms cannot be fully translated since the help text entered for each field does not show up as a language string. The attached patch fixes this problem.
Comment | File | Size | Author |
---|---|---|---|
#2 | t-function-fieldgroup.patch | 538 bytes | jmcclelland |
#1 | t-function-text.patch | 1.33 KB | jmcclelland |
add-t-function.patch | 977 bytes | jmcclelland |
Comments
Comment #1
jmcclelland CreditAttribution: jmcclelland commentedAdding a new patch - missed once instance of calling the t() function.
Comment #2
jmcclelland CreditAttribution: jmcclelland commentedAdding a fix for the fieldgroup module, which also does not properly call the t() function on help text.
Comment #3
yched CreditAttribution: yched commentedfixed in all branches and in all core cck field modules
Comment #4
(not verified) CreditAttribution: commented