2010/12/31 Jonathan Lundell <[email protected]>

> On Dec 31, 2010, at 11:20 AM, Martin Weissenboeck wrote:
>
> No, I did not not want to translate these sentences *manually*.
> The error_message=T(..) does not work, because there are some if-statements
> inside the class IS_INT_IN_RANGE (and in some other classes).
>
> One solution could be a list of error messages for these classes.
>
>
> You don't need a list, because for any given instance, only one of the
> error messages is used, depending on which combination of min & max you set.
>

But if you have five different instances of IS_INT_IN_RANGE you have to
write five different error_messages. And you have to do it for each new
website again.

Regards, Martin

Reply via email to