Import will fail if there are two lines together in a single line

Bug #49599 reported by Jordi Mallach
12
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Jeroen T. Vermeulen

Bug Description

The attached file failed to import in Rosetta.

The problem comes when we find something like:

"foo""bar"

Instead of:

"foo"
"bar"

Revision history for this message
Jordi Mallach (jordi) wrote : Faulty po file

Valid file that fails to import

Revision history for this message
Carlos Perelló Marín (carlos) wrote : Re: Import will fail if there's extra contnet at the end of the file.

The problem raised by that file is at line #1864:

#: ../thunar/thunar-renamer-progress.c:220
msgid ""
"You can either choose to skip this file and continue to rename the remaining "
"files, or revert the previously renamed files to their previous names, or "
"cancel the operation without reverting previous changes."
msgstr ""
"Puteţi alege să omiteţi acest fişier şi să continuaţi să redenumiţi fişierele ""rămase, puteţi reveni la vechile nume pentru fişierele deja redenumite sau "
"puteţi opri acţiunea de redenumire fără a schimba fişierele deja redenumite."

The translation part has two lines together in a single line.

It's a weird content, but our parser should be able to accept it.

Changed in rosetta:
assignee: nobody → carlos
importance: Untriaged → High
status: Unconfirmed → Confirmed
description: updated
Changed in rosetta:
assignee: carlos → jtv-xs4all
Changed in rosetta:
status: Confirmed → In Progress
Changed in rosetta:
status: In Progress → Fix Committed
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Fixed in 1.0.

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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