Re: intltool and gnome-core breakage



Glynn Foster wrote:

On Wed, 2002-01-16 at 17:54, Darin Adler wrote:

Please tell me about the oddities, and I will sort them out. As I understand
it, gnome-terminal.glade.h is a generated file that should not be checked
into cvs, nor listed in POTFILES.in, nor included in any tarball.


I was just copying what had been done before, as gnome-terminal.glade.h
and others are already in gnome-core CVS. I only put them into
POTFILES.in because I saw strings in them [in reality I have no clue
about the i18n stuff]. I'll try and remove them from my local source and
see what happens.

I suppose intltool should be able to extract strings directly from the glade2 file, rather than needing a separate "extracted strings" header file for xgettext to process. I don't know whether intltool supports the new glade format or not though. It is trivial to do so though -- just add the contents of <property> elements to the catalog if the translatable attribute is set to "yes". For example:

   <property name="label" translatable="yes">Terminal Class:</property>

It should be very straight forward.

James.

--
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]