#1136: [PATCH] Enable formencode and turbogears validator translation
-------------------------+--------------------------------------------------
 Reporter:  ghorvath     |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  1.1      
Component:  unassigned   |      Version:  trunk    
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by alberto):

 Unfortunately I think I do. For {{{tg-admin i18n collect}}} to catch them
 I need to wrap them in {{{_()}}}, However if I do so without setting _ to
 a dummy I get the mentioned TypeError. If I don't restore it, then the
 strings in the widget will not get translated.

 However, this seems like a minor nuisance taking into account that I'm
 already moving custom validators to separate modules and I'm feeling
 better by doing so. So don't break your head too much on it. On the other
 hand, I'm not sure where other users are defining their validators so this
 might come back biting later...

 Alberto

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1136>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to