PO files exported to original path, not updated path when downloading

Bug #148286 reported by Matthew East
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

From bug 147186.

Exporting translations from Launchpad results in wrong paths on some files: we store the POFile.path on import, and generate it when new PO file is created through LP, and then use that blindly when exporting PO files. That is most often wrong and we should just put all PO files under language codes in the same directory as POT files.

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

This is just because the code is not checking that we only export Translation Templates that are active

Changed in rosetta:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Carlos Perelló Marín (carlos) wrote :

Sorry, I'm a bit blind (thanks Jeroen), this is just because we use the original .po file path which in this case, has changed several times, but the path was not updated

Revision history for this message
Matthew East (mdke) wrote : Re: [Bug 148286] Re: multiple template export has wrong directory names

On 04/10/2007, Carlos Perelló Marín <email address hidden> wrote:
> This is just because the code is not checking that we only export
> Translation Templates that are active

It's strange that most of the valid translations exported were under
the wrong directory (aboutubuntu rather than about-ubuntu). I copies
all the po files under the three directories to the about-ubuntu
directly, and they seem to work fine.

--
Matthew East
http://www.mdke.org
gnupg pub 1024D/0E6B06FF

summary: - multiple template export has wrong directory names
+ PO files exported in the wrong path when downloading
description: updated
summary: - PO files exported in the wrong path when downloading
+ PO files exported to original path, not updated path when downloading
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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