intltool fails to extract comments from glade-type files when not last attributes
Bug #705420 reported by
Claude Paroz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
Triaged
|
Medium
|
Данило Шеган |
Bug Description
If you have some element with a comments not at the last position, intltool fails to extract the comment.
Work:
<property name="label" translatable="yes" context=
Fail:
<property name="label" translatable="yes" comments="my comment" context=
For example, just swap the translatable and comments properties in tests/cases/
Related branches
Changed in intltool: | |
status: | New → Triaged |
assignee: | nobody → Данило Шеган (danilo) |
importance: | Undecided → Medium |
milestone: | none → 0.42.0 |
To post a comment you must log in.
I believe we should just fall back on the native xgettext glade support, which seems to work correctly. The one difference I see is that intltool currently keeps the newlines in XML attributes, whereas xgettext -L glade doesn't. I don't think this is a big deal.