#1339: AgaviGettextTranslator problem when error tag has params like for="min"
etc.
-----------------------------------+----------------------------------------
 Reporter:  v.liutauras@…          |        Owner:  david     
     Type:  defect                 |       Status:  closed    
 Priority:  normal                 |    Milestone:  1.0.5     
Component:  _OTHER_                |      Version:  1.0.4     
 Severity:  normal                 |   Resolution:  worksforme
 Keywords:                         |    Has_patch:  0         
-----------------------------------+----------------------------------------
Changes (by david):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 I can't reproduce this with the sample app (in
 {{{samples/app/modules/Default/Login.xml}}}, change the username
 validator's {{{<error>}}} to {{{<error for="min">}}}).

 It's also not possible that the {{{for}}} attribute causes this issue, as
 the translation subsystem never sees this value. Only the literal error
 string, regardless of the value of {{{for}}}, is passed to the translator,
 along with the translation domain defined in the {{{<validator>}}} tag.

 My guess is that your .po or .mo file is malformed. Please double check
 your code and feel free to refer to IRC or the users mailing list for
 further assistance.

-- 
Ticket URL: <http://trac.agavi.org/ticket/1339#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to