After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 154806 - Updates to DTD to support translation
Updates to DTD to support translation
Status: RESOLVED FIXED
Product: libglade
Classification: Deprecated
Component: general
unspecified
Other All
: High normal
: ---
Assigned To: James Henstridge
James Henstridge
Depends on:
Blocks:
 
 
Reported: 2004-10-07 17:29 UTC by Damon Chaplin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to the DTD (919 bytes, patch)
2004-10-07 17:30 UTC, Damon Chaplin
none Details | Review
Patch to ignore the "comments" attributes (1.38 KB, patch)
2004-10-13 12:18 UTC, Damon Chaplin
none Details | Review

Description Damon Chaplin 2004-10-07 17:29:32 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.
Comment 1 Damon Chaplin 2004-10-07 17:30:42 UTC
Created attachment 32351 [details] [review]
Patch to the DTD
Comment 2 Damon Chaplin 2004-10-07 17:34:09 UTC
I should add that libglade already supports "translatable" and "context" for
<property> and <atkproperty>.

It just needs to ignore "comments" attributes in 3 places.
Comment 3 Damon Chaplin 2004-10-13 12:18:45 UTC
Created attachment 32553 [details] [review]
Patch to ignore the "comments" attributes
Comment 4 Damon Chaplin 2004-10-13 12:21:15 UTC
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.
Comment 5 Kjartan Maraas 2004-10-18 14:43:02 UTC
James, please take a look at this.
Comment 6 James Henstridge 2004-11-11 08:49:33 UTC
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.