GNOME Bugzilla – Bug 55635
gdm2 / use xml-i18n-tools for glade files
Last modified: 2005-05-17 02:42:33 UTC
Package: gdm Severity: enhancement Version: 2.2.2.1 Synopsis: gdm2 / use xml-i18n-tools for glade files Bugzilla-Product: gdm Bugzilla-Component: general Description: Hello, usage of xml-i18n-tools is incomplete. Please, use it for glade files, too. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-06-02 16:23 ------- The original reporter (ke@gnu.franken.de) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, jirka@5z.com.
Hmmm, I saw glade support in xml-i18n-tools but I'm not sure how this is supposed to work. I mean glade already saves strings and they are already in .po files, am I missing something here?
I was too terse. Yes, it works as is, but with xml-i18n-tools you can drop the intermediate *-strings.c files; the REAMDE coming with xml-i18n-tools says: o Add the .xml and .glade files you want translated to POTFILES.in
Has there been any further work on this?
No work has been done on this. And I believe the xml-i18-tools is now called intltool.
Kenneth, Danilo, comments?
All you need to do is to remove *-strings.c files from gui/Makefile.am (it also has duplicate references to .glade files), and remove references to *-strings.c files in po/POTFILES.in. Basically, this has been resolved a long time ago (it uses intltool to extract strings), so you just need to clean up dangling references.
Created attachment 37334 [details] [review] Remove *-strings.c files and references to them (note to comitter [me :]: don't forget to "cvs rm" these files) I've tested this patch, and it builds. I haven't tested "make dist" yet, but I suspect there won't be any problems. I remove references to *.glade files in EXTRA_DIST because there's already $Glade_data.
Fixed in CVS head. Sorry it took me so long, I didn't notice the patch had been added to this bug.