Re: doc-i18n-tool



On Mon, 2001-10-22 at 15:23, Jonathan Blandford wrote:
> > > > Comment?
> > > 
> > > I just nagged a few people from #i18n into playing with this tonight,
> > > and, at least on my test document, the .pot file isn't good.  Here's a
> > > wee bit from it:
> > > 
> > > #: policies.sgml:4
> > > msgid "\n"
> > > "  "
> > > msgstr ""
> > > 
> > > I poked Daniel about this on IRC (although as it turns out, I'm almost
> > > too sleepy to ask constructive questions there), and he suggested that
> > > "maybe the parser needs to be instructed to ignore whitespace".  I'll
> > > stop right here, before I ramble too much further, and hopefully
> > > somebody can take a look at this today.  Later,
> > 
> >   Hum, I will let Jonathan check this one.
> 
> My plan was to use xmllint for this.  In my example, I ran the doc
> through xmllint --noblanks before passing it to doc-i18n-tool.  I don't
> think doing anything else is worth doing.

I did.  It doesn't appear to work to remove those.  The above snippit is
from policies.pot, generated with the command 'xmllint --noblanks
|doc-i18n-tool --output-pot-file policies.xml > file.pot'.  policies.xml
is gnome-docu/gnome-org-policies/policies.xml.  
	Greg





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