Skip to content

some error messages aren't translated  #19

Closed
@piermariacosina

Description

@piermariacosina

the cause for this is that in some messages there is a part that varies based on what I've inputed

"The username portion of the email address is invalid (the portion before the @: ùà)"

when this is tested againt the array of solutions && $.ajaxChimp.responses[msg]
returns always undefine
i've made a workaround cutting the part of the message that change.
msg = msg.substring(0,msg.indexOf("(")-1);
so the message become something like
"The username portion of the email address is invalid"

i think there is a better solution anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions