API for POFile attributes

Bug #583934 reported by Adi Roiban
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

According to the Translations Reporting API (https://dev.launchpad.net/Translations/Specs/ReportingAPI) we need to expose some of the POFile attributes through the API.

Here is a list of possible attributes
 * Language code
 * Length
 * Number of translated messages
 * Number of unreviewed messages
 * Number of changed messages
 * When the translation was last updated
 * Who the last translator was

Beside exporting the POFile attributes, this branch is about finding a solution for exporting IRosettaStats.

Related branches

Adi Roiban (adiroiban)
Changed in rosetta:
assignee: nobody → Adi Roiban (adiroiban)
Changed in rosetta:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Adi Roiban (adiroiban) wrote :

Here are the exported POFile attributes. The most important part are the exported attributes from ITranslationStatistics (translation_message_*_count )

date_changed : 2010-05-17 21:41:27.387357+00:00
id : 1
language_link : https://launchpad.dev/api/devel/+languages/es
language_variant : None
last_translator_link : https://launchpad.dev/api/devel/~name16
owner_link : https://launchpad.dev/api/devel/~name12
resource_type_link : https://launchpad.dev/api/devel/#pofile
self_link : https://launchpad.dev/api/devel/evolution/trunk/+pots/evolution-2.2/es

translation_message_changed_count : 0
translation_message_new_count : 1
translation_message_total_count : 22
translation_message_translated_count : 8
translation_message_unreviewed_count : 2

Changed in rosetta:
status: Triaged → In Progress
Revision history for this message
Robert Collins (lifeless) wrote :

Ping? Is this still really In Progress, its been unchanged for 7 months...

Adi Roiban (adiroiban)
Changed in launchpad:
status: In Progress → Confirmed
assignee: Adi Roiban (adiroiban) → nobody
Changed in launchpad:
status: Confirmed → Triaged
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.