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.
$params = array(
'subject' => token_replace('Signup confirmation for [node:content-type]: [node:title]', array('node' => $node, 'signup' => $signup)),
'body' => token_replace($node->signup_confirmation_email, array('node' => $node, 'signup' => $signup, 'global' => NULL)),
'node' => $node,
'signup' => $signup,
);
Shouldnt it look like the following:
$params = array(
'subject' => token_replace(t('Signup confirmation for [node:content-type]: [node:title]'), array('node' => $node, 'signup' => $signup)),
'body' => token_replace($node->signup_confirmation_email, array('node' => $node, 'signup' => $signup, 'global' => NULL)),
'node' => $node,
'signup' => $signup,
);
Comment | File | Size | Author |
---|---|---|---|
#2 | signup-confirmation_mail_subject_translatable-1762786-2.patch | 1.04 KB | Jerenus |
Comments
Comment #1
microniko CreditAttribution: microniko commented+1
Comment #2
Jerenus CreditAttribution: Jerenus commentedPatch here.
Comment #3
Jerenus CreditAttribution: Jerenus commentedComment #3.0
Jerenus CreditAttribution: Jerenus commentedSpelling misstake
Comment #4
artol CreditAttribution: artol commentedSeems to work with me after this correction.