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 | |
---|---|---|---|---|---|
| intltool |
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
Данило Шеган (danilo)
on 2011-10-08
Changed in intltool: | |
status: | New → Triaged |
assignee: | nobody → Данило Шеган (danilo) |
importance: | Undecided → Medium |
milestone: | none → 0.42.0 |
Данило Шеган (danilo) wrote : | #1 |
Данило Шеган (danilo) wrote : | #2 |
Except that gtkbuilder files context is not supported :(
Данило Шеган (danilo) wrote : | #3 |
Upstream gettext bugs that are blocking this: https:/
Changed in intltool: | |
milestone: | 0.42.0 → none |
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.