intltool fails to extract comments from glade-type files when not last attributes

Bug #705420 reported by Claude Paroz on 2011-01-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Данило Шеган

Bug Description

If you have some element with a comments not at the last position, intltool fails to extract the comment.

<property name="label" translatable="yes" context="infinitive" comments="my comment">

<property name="label" translatable="yes" comments="my comment" context="infinitive">

For example, just swap the translatable and comments properties in tests/cases/ and the test will fail.

Changed in intltool:
status: New → Triaged
assignee: nobody → Данило Шеган (danilo)
importance: Undecided → Medium
milestone: none → 0.42.0

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.

Except that gtkbuilder files context is not supported :(

Changed in intltool:
milestone: 0.42.0 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers