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.
I guess messages like "Click here to view this message on the web." are not visible in admin/config/regional/translate/translate
because in the php of this module is missing the t function.
Would be nice to use it.
Comment | File | Size | Author |
---|---|---|---|
#5 | htmlmail-d6-text-translation-1744200-5-do-not-test.patch | 530 bytes | jacob.embree |
#2 | 1744200-text-translation.patch | 877 bytes | Stevel |
Comments
Comment #1
splatterb0y CreditAttribution: splatterb0y commentedThis is because it's hardcoded into the 'htmlmail--simplenews.tpl.php', this should be mapped to a variable or something.
Comment #2
Stevel CreditAttribution: Stevel commentedHere is a patch that makes the text at least translateable.
Comment #3
RunePhilosof CreditAttribution: RunePhilosof commentedLooks good
Comment #4
sylvaticus CreditAttribution: sylvaticus commentedI am also affected by this problem.. would it be possible to commit it ? It's a very simple patch that surelly doesn't have tremendous side effects...
Comment #5
jacob.embree CreditAttribution: jacob.embree commentedConfirmed #2 works.
This patch is a backport for 6.x-2.x-dev in case #2 ever gets committed. Fixes #2015951: Make htmlmail--simplenews.tpl.php strings translatable.
Comment #6
salvisLet's see whether #2 applies.
Comment #9
salvisThanks, Stevel and jacob.embree!