Activity log for bug #581825

Date Who What changed Old value New value Message
2010-05-17 16:52:30 Douglas Cerna bug added bug
2010-05-17 16:52:58 Douglas Cerna schooltool.gradebook: assignee Alan Elkner (aelkner)
2010-05-17 16:54:40 Douglas Cerna description When I use the Spanish (es) or Salvadoran Spanish (es_SV) translations in the gradebook, and I try to create a Report Activity in a Report Template Sheet, the view keeps asking me for a required input in the score system field. From what I can see this bug is caused by the use of titles as the values of the <option ...> elements in the Score System dropdown. The English form shows: <option value="-- Use range below --" id="form-widgets-scoresystem-0">-- Use range below --</option> In Spanish this changes to: <option value="-- Use el rango de abajo --" id="form-widgets-scoresystem-0">-- Use el rango de abajo --</option> I guess the term creation has to be changed in schooltool.gradebook.browser.report_card: def ReportScoreSystemsVocabulary(context): vocab = UtilityVocabulary(context, interface=IScoreSystem) rangedTerm = UtilityTerm('ranged', _('-- Use range below --')) vocab._terms[rangedTerm.token] = rangedTerm return vocab Although I still don't know how zope.componentvocabulary.vocabulary.(UtilityVocabulary, UtilityTerm) work. When I use the Spanish (es) or Salvadoran Spanish (es_SV) translations in the gradebook, and I try to create a Report Activity in a Report Sheet Template, the view keeps asking me for a required input in the score system field. From what I can see this bug is caused by the use of titles as the values of the <option ...> elements in the Score System dropdown. The English form shows: <option value="-- Use range below --" id="form-widgets-scoresystem-0">-- Use range below --</option> In Spanish this changes to: <option value="-- Use el rango de abajo --" id="form-widgets-scoresystem-0">-- Use el rango de abajo --</option> I guess the term creation has to be changed in schooltool.gradebook.browser.report_card: def ReportScoreSystemsVocabulary(context):     vocab = UtilityVocabulary(context, interface=IScoreSystem)     rangedTerm = UtilityTerm('ranged', _('-- Use range below --'))     vocab._terms[rangedTerm.token] = rangedTerm     return vocab Although I still don't know how zope.componentvocabulary.vocabulary.(UtilityVocabulary, UtilityTerm) work.
2010-05-17 17:02:43 Douglas Cerna schooltool.gradebook: assignee Alan Elkner (aelkner) Douglas Cerna (replaceafill)
2010-05-17 17:02:50 Douglas Cerna schooltool.gradebook: status New In Progress
2010-05-18 05:30:16 Douglas Cerna schooltool.gradebook: status In Progress Fix Committed
2010-05-18 05:30:35 Launchpad Janitor branch linked lp:~replaceafill/schooltool.gradebook/schooltool.gradebook_fix_581825
2010-05-18 09:03:30 Gediminas Paulauskas schooltool.gradebook: milestone 0.7.0
2010-06-22 09:35:11 Gediminas Paulauskas schooltool.gradebook: status Fix Committed Fix Released