Obsolete strings at the top of exported files

Bug #173530 reported by David Planella
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Henning Eggers

Bug Description

When exporting files from Launchpad translations, obsolete strings present in the file seem to be moved to the top, i.e. they appear before the actually translatable strings.

With obsolete strings I am referring to those "commented out" with #~, as in the following example:

#~ msgid "Application Launcher..."
#~ msgstr "Llançador d'aplicació..."

Not only that changes the original, but it can also be confusing for users with not much experience with the .po file format. Furthermore, it makes it difficult to compare the downloaded file with its upstream version in the cases where it has to be synchronised manually in Launchpad, especially when there is a considerable number of obsolete strings.

Revision history for this message
Данило Шеган (danilo) wrote :

We've got some more important bugs to look into resulting from our big DB schema refactoring we landed last month. We will be looking into this one after we're done with that, and I'll confirm it once I indeed confirm it :)

Revision history for this message
David Planella (dpm) wrote :

This is still an issue at the moment. Could someone confirm it?

Steps to reproduce it: simply export a PO file from Rosetta.

Expected: obsolete strings are at the end of the file

Actual: obsolete strings start at the top of the file

Changed in rosetta:
importance: Undecided → Medium
status: New → Confirmed
Changed in rosetta:
assignee: nobody → henninge
milestone: none → 2.1.9
Changed in rosetta:
milestone: 2.1.9 → 2.1.10
status: Confirmed → Triaged
Revision history for this message
Henning Eggers (henninge) wrote :

Yes, this behaviour is confirmed, I saw that, too. I will look into that soon.

Changed in rosetta:
status: Triaged → In Progress
Revision history for this message
Henning Eggers (henninge) wrote :

Fixed in RF 7120

Changed in rosetta:
status: In Progress → Fix Committed
Revision history for this message
Henning Eggers (henninge) wrote :

Released in 2.1.10

Changed in rosetta:
status: Fix Committed → Fix Released
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.