Gregor Horvath wrote:
> I therefore propose a new class attribute: formencode.Validator.gettextargs
> For standalone FormEncode this attribute is {}. (Because standard
> gettext function does not allow additional parameters)
>
> <formencode.api.py>
> class Validator(declarative.Declarative):
> [....]
> gettextargs = {}
> [...]
That would be fine, but for this case we might also just put
"gettext_domain='FormEncode'" into the class too, no? It seems
reasonable to set the domain to 'FormEncode' by default.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---