felipebluecaribu / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

Allow server-side error messages to be translated in ASP.NET control #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The error messages stored in the RecaptchaResponse static members can not be 
translated. Especially for the InvalidSolution this is a real usability problem 
for non-English sites. My proposal is to allow setting the 
RecaptchaResponse.ErrorMessage property, so the following code can change the 
default English texts from the outside:

RecaptchaResponse.InvalidSolution.ErrorMessage = "Some other text";

I have attached a small trivial patch that makes it possible to write to the 
ErrorMessage property.

Original issue reported on code.google.com by JorritSc...@gmail.com on 3 Dec 2010 at 2:31

Attachments:

GoogleCodeExporter commented 8 years ago
I'm sorry, due to technical problems at Google I submitted this issue twice.

Original comment by JorritSc...@gmail.com on 3 Dec 2010 at 2:32

GoogleCodeExporter commented 8 years ago

Original comment by adrian.g...@gmail.com on 23 Jan 2011 at 3:53