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 translation string extractor script encountered problems with t() strings containing variables. This little patch makes the string extraction run without errors. Not sure about the rest. ;)
Comment | File | Size | Author |
---|---|---|---|
#2 | translation_2.patch | 2.24 KB | cog.rusty |
#1 | translation_1.patch | 2.24 KB | cog.rusty |
translation.patch | 2.25 KB | cog.rusty |
Comments
Comment #1
cog.rusty CreditAttribution: cog.rusty commentedOr maybe this one.
Comment #2
cog.rusty CreditAttribution: cog.rusty commentedOr even better, with balanced parentheses :-/
Comment #3
teradome CreditAttribution: teradome commentedSeems like a simple patch to me, I'm putting it into HEAD to test it out. If it's okay, I'll tag it into the 4.7 package.
Comment #4
teradome CreditAttribution: teradome commented(just adjusting the issue's settings)
Comment #5
teradome CreditAttribution: teradome commentedThis should have been applied to the module... please open a new ticket if you're still encountering errors.
Comment #6
(not verified) CreditAttribution: commented