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.
In tweet.tpl and twitter_views_field_handlers.inc there are hardcoded text strings, Reply, Retweet, Favorite and Follow
I have fixed this in the attached patch :o)
Comment | File | Size | Author |
---|---|---|---|
#12 | twitter-n1943728-12.patch | 3.49 KB | DamienMcKenna |
#5 | translations-1943728-5.patch | 3.22 KB | plopesc |
Comments
Comment #1
juampynr CreditAttribution: juampynr commentedMissing 'print' here and in the next two ones.
Comment #2
frankdk CreditAttribution: frankdk commentedI have fixed the mixin print in the attached patch
Comment #3
plopescHello
Re-rolling patch avoiding the use of
t()
function in tpl files passing those values as theme function variables.Regards.
Comment #4
plopescI have tested lasta patch against 7.x-6.x branch and is applied cleanly too.
Marking issue for 7.x-6.branch, then it could be backported easily.
Regards
Comment #5
plopescI noticed there can be cache issues with text translations when hardcoding it in the
hook_theme()
declaration.Re-rolling new patch.
Comment #6
DamienMcKennaShort & simple.
Comment #7
DamienMcKennaComment #8
DamienMcKennaTriggering the testbot.
Comment #11
DamienMcKennaCommitted to 7.x-6.x.
Comment #12
DamienMcKennaRerolled for 7.x-5.x.
Comment #13
DamienMcKennaCommitted.