No time to roll a patch now, but this is a very easy fix. In email_confirm.module, t() is mistakenly used to include some HTML code:
$pending_email_notice = t('<div class="messages warning">You currently have a pending change of your e-mail address to <strong>%email</strong>', array('%email' => $user->data['email_confirm']['pending_email'])) . '</div>';
It should be this instead:
$pending_email_notice = '<div class="messages warning">' . t('You currently have a pending change of your e-mail address to <strong>%email</strong>', array('%email' => $user->data['email_confirm']['pending_email'])) . '</div>';
Comments
Comment #1
saad.waseem CreditAttribution: saad.waseem as a volunteer and commentedComment #2
Pravin Ajaaz CreditAttribution: Pravin Ajaaz commentedHere is the patch for it
Comment #3
Pravin Ajaaz CreditAttribution: Pravin Ajaaz commentedComment #4
saad.waseem CreditAttribution: saad.waseem as a volunteer and commentedI have added a translations file for dutch you can use it if you want. You just need to import it and rest of things will work fine. And if you want to translate for other language get the translations and import them into your drupal.
The module is working fine for dustch . I have also added translations for dutch that are marked as "not translated"
in the projects own URL on Drupal.org.
Comment #5
saad.waseem CreditAttribution: saad.waseem as a volunteer and commentedComment #6
gregglesI wonder about the changes that remove the newlines from the emails. Looking at
_user_mail_text()
in core I see that there are newlines. Can you explain why you made that change?Comment #7
greggles*ahem*
Comment #9
gregglesI applied the patch from #2 because I'm not sure about the changes that were added in #4.
If those are still appropriate I'd love to hear why.
Thank you both for your help to improve the module!