The captcha module does not work for user registration if translated. Apparently the reason is that
the hook_user() implementation compares the first argument $type against a translated string, while the
caller supplies an untranslated string. Attached is a patch that fixes this problem and also adds a t() at
a place where you really, really want it.

N.B.: what is the caller supposed to supply for $type? a translated or untranslated string?

CommentFileSizeAuthor
#1 captcha.diff1.31 KBsignal11
diff_0.txt562 bytessignal11

Comments

signal11’s picture

Title: Doesn't work if translated » Doesn't work if translated - context diff
StatusFileSize
new1.31 KB

Proper context diff for the aforementioned issue (captcha does not work if lokalized).

arnabdotorg’s picture

Assigned: Unassigned » arnabdotorg

fixed, committed.

Anonymous’s picture