API for POFile attributes

Bug #583934 reported by Adi Roiban on 2010-05-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself

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) on 2010-05-21
Changed in rosetta:
assignee: nobody → Adi Roiban (adiroiban)
Changed in rosetta:
status: New → Triaged
importance: Undecided → Low
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
Robert Collins (lifeless) wrote :

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

Adi Roiban (adiroiban) on 2011-01-17
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  Edit
Everyone can see this information.

Other bug subscribers