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

CommentFileSizeAuthor
#2 226531.patch952 bytesrobloach

Comments

iellawindy’s picture

Title: Title not translated » label not translated

Label 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

robloach’s picture

Status: Active » Needs review
StatusFileSize
new952 bytes

The correct way to fix it is to create patches ;-) .

mh86’s picture

The 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??

dooug’s picture

This patch worked fine, but I agree with the mh86 that the t() function on the default value seems unusual.