Faulty line breaks and line break markers in Checkbox test descriptions

Bug #868571 reported by Gabor Kelemen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Medium
Gabor Kelemen
Ubuntu Translations
Fix Released
Medium
Unassigned

Bug Description

The problems once solved in bug #514401 haunt us again in other files. There are several job descriptions which have line breaks incorrectly extracted by intltool, and others contain line break markers (\) which have no effect aside from appearing in the English UI and confusing translators.

For example:
https://translations.launchpad.net/ubuntu/oneiric/+source/checkbox/+pots/checkbox/hu/+translate?batch=10&show=all&search=%3A+1
These will never show up translated, because they don't match the strings in the original files.

The reason is explained here: https://bugs.launchpad.net/ubuntu/+source/checkbox/+bug/514401/comments/8

According to the specification, you can have a line break if you start the line with two spaces and you will have a continuous paragraph if you start the line with one space. In order to have correctly extracted translatable strings, lines intended to preserve line breaks should be changed to start with two spaces.
This also means that backslashes at line ends have no effect so those should be removed.

Related branches

Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Gabor Kelemen (kelemeng) wrote :
Revision history for this message
Daniel Manrique (roadmr) wrote :

Gabor,

Thanks for the patch! I need to wait for Checkbox revision 0.13 to be released in Precise before merging in more stuff to trunk, but it shouldn't be long. I'll update the bug's status once that's done.

Changed in checkbox:
status: New → Triaged
importance: Undecided → Medium
Daniel Manrique (roadmr)
Changed in checkbox:
status: Triaged → Fix Committed
assignee: nobody → Gabor Kelemen (kelemeng)
Revision history for this message
Gabor Kelemen (kelemeng) wrote :

This is fixed now in Precise, thanks!

Changed in ubuntu-translations:
status: Triaged → Fix Released
Changed in checkbox:
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.