POFileBaseView.translation_groups_statement needs to use TAL formatter for translators and groups

Bug #426745 reported by Henning Eggers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

POFileBaseView.translation_groups_statement currently produces a plain unicode string with no mark-up. It is supposed to include links to the translation group and the translator person/team using the :link TAL formatter. Actually, there is no such formatter for translation groups yet, could be a good reason to create one.

Revision history for this message
Henning Eggers (henninge) wrote :

allenap suggested:
> I looked into doing something similar recently. The following snippet
> might be useful to you:
>
> from zope.component import getAdapter
> from zope.traversing.interfaces import IPathAdapter
> link_html = getAdapter(thing, IPathAdapter, 'fmt').link(None)

Curtis Hovey (sinzui)
tags: added: tech-debt
Revision history for this message
Данило Шеган (danilo) wrote :

A formatter was implemented by Jeroen for translation groups.

tags: added: post-3-ui-cleanup
Changed in rosetta:
status: New → Triaged
importance: Undecided → High
tags: added: ui
removed: post-3-ui-cleanup
summary: - POFileBaseView.translation_groups_statement needs to use TAL formater
+ POFileBaseView.translation_groups_statement needs to use TAL formatter
for translators and groups
Changed in launchpad:
importance: High → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.