When rendering HoneypotWidget language is already active and it is not necessary to use ugettext_lazy as it returns object instance. Plus, string operator % will insert into string value of repr() instead translated text. It results in incorrect HTML.
When rendering
HoneypotWidget
language is already active and it is not necessary to useugettext_lazy
as it returns object instance. Plus, string operator%
will insert into string value ofrepr()
instead translated text. It results in incorrect HTML.