API for POFile attributes
Bug #583934 reported by
Adi Roiban
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:/
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
lp:~adiroiban/launchpad/bug-583934
On hold
for merging
into
lp:launchpad
- Canonical Launchpad Engineering: Pending requested
-
Diff: 500 lines (+299/-17)9 files modifiedlib/lp/translations/browser/configure.zcml (+8/-0)
lib/lp/translations/browser/pofile.py (+12/-4)
lib/lp/translations/configure.zcml (+8/-0)
lib/lp/translations/doc/pofile.txt (+15/-0)
lib/lp/translations/interfaces/pofile.py (+29/-11)
lib/lp/translations/interfaces/statistics.py (+84/-0)
lib/lp/translations/interfaces/webservice.py (+3/-0)
lib/lp/translations/model/pofile.py (+57/-2)
lib/lp/translations/stories/webservice/xx-pofile.txt (+83/-0)
Changed in rosetta: | |
assignee: | nobody → Adi Roiban (adiroiban) |
Changed in rosetta: | |
status: | New → Triaged |
importance: | Undecided → Low |
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.
Here are the exported POFile attributes. The most important part are the exported attributes from ITranslationSta tistics (translation_ message_ *_count )
date_changed : 2010-05-17 21:41:27. 387357+ 00:00 /launchpad. dev/api/ devel/+ languages/ es _link : https:/ /launchpad. dev/api/ devel/~ name16 /launchpad. dev/api/ devel/~ name12 /launchpad. dev/api/ devel/# pofile /launchpad. dev/api/ devel/evolution /trunk/ +pots/evolution -2.2/es
id : 1
language_link : https:/
language_variant : None
last_translator
owner_link : https:/
resource_type_link : https:/
self_link : https:/
translation_ message_ changed_ count : 0 message_ new_count : 1 message_ total_count : 22 message_ translated_ count : 8 message_ unreviewed_ count : 2
translation_
translation_
translation_
translation_