GNOME Bugzilla – Bug 154806
Updates to DTD to support translation
Last modified: 2004-12-22 21:47:04 UTC
Here's a patch to the DTD, mainly to add support for a "comments" attribute for the <property> element. The comments are intended to end up in the po file before a translatable string, to help translators. The patch also adds all the translation attributes to the <atkproperty> element, and adds a comment saying that <atkaction> description attributes are assumed to be translatable text. I'm going to do a new release of Glade 2 soon with support for the above attributes, so reply soon if you can think of any problems with them.
Created attachment 32351 [details] [review] Patch to the DTD
I should add that libglade already supports "translatable" and "context" for <property> and <atkproperty>. It just needs to ignore "comments" attributes in 3 places.
Created attachment 32553 [details] [review] Patch to ignore the "comments" attributes
I've just released a new version of Glade 2 that supports the "comments" attribute, and added bug 155294 to intltool asking for them to support it.
James, please take a look at this.
I've just checked this in on HEAD. I'm going to back port all these fixes to the GTK 2.4 branch soon too.