Translator comments are truncated on export time
Bug #1786 reported by
Carlos Perelló Marín
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Данило Шеган |
Bug Description
Here, you can see a messageset with a translator comment that needs more than one line:
If you export that .po file, that messageset becomes:
# No ha habido ninguna queja en coreutils, pongamos aquí también los
#: gnulib/
msgid "`"
msgstr "«"
and that's broken...
Related branches
lp://qastaging/~danilo/launchpad/bug-1786
- Henning Eggers (community): Approve (code)
-
Diff: 157 lines3 files modifiedlib/lp/translations/doc/potemplate.txt (+8/-0)
lib/lp/translations/utilities/gettext_po_exporter.py (+14/-4)
lib/lp/translations/utilities/tests/test_gettext_po_exporter.py (+42/-0)
Changed in rosetta: | |
status: | New → Accepted |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
Changed in rosetta: | |
assignee: | danilo → nobody |
Changed in rosetta: | |
importance: | Medium → Low |
status: | Triaged → In Progress |
assignee: | nobody → Данило Шеган (danilo) |
Changed in rosetta: | |
milestone: | none → 3.1.11 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've just reproduced this, so the bug is still there. Writing a test case would be a good first step in fixing this.