Closed (fixed)
Project:
CAPTCHA
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
9 Feb 2005 at 21:45 UTC
Updated:
9 Jun 2005 at 05:58 UTC
Jump to comment: Most recent file
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?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | captcha.diff | 1.31 KB | signal11 |
| diff_0.txt | 562 bytes | signal11 |
Comments
Comment #1
signal11 commentedProper context diff for the aforementioned issue (captcha does not work if lokalized).
Comment #2
arnabdotorg commentedfixed, committed.
Comment #3
(not verified) commented