The title of the email field is not translated in a multilingual system. There is a t() missing on line 194. I fixed it like this:
'#title' => t($field['widget']['label']),
Could you please fix this and make an official release.
Kind regards
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 226531.patch | 952 bytes | robloach |
Comments
Comment #1
iellawindy commentedLabel of the email field is not translated in a multilingual system. There is a t() missing on line 154. I fixed it like this:
'#default_value' => isset($node_field[$delta]['email']) ? $node_field[$delta]['email'] : t($default_value),
Could you please fix this and make an official release.
Thanks
Comment #2
robloachThe correct way to fix it is to create patches ;-) .
Comment #3
mh86 commentedThe translation of the label is missing, so we should add this.
But concerning the default value, I'm not sure if this is common.. translation of email addresses??
Comment #4
dooug commentedThis patch worked fine, but I agree with the mh86 that the t() function on the default value seems unusual.