Re: More gnome-doc-utils breakage



Yesterday at 19:21, Shaun McCance wrote:

> The bg, nb, and no translations on HEAD all had broken XML.  There
> was a missing left angle bracket on an ending tag, a missing slash
> on an empty tag, and some malformed numeric entities.  I have fixed
> the broken XML and committed to HEAD.

Anyone volunteering to implement "xml-format" (just like "c-format")
handling for msgfmt and xgettext?  ;-)

It would need only to check well-formedness, so it should be simple
enough and we'd avoid these problems.

FWIW, recent intltool releases should discard bad-formed XML snippets:

  http://bugzilla.gnome.org/show_bug.cgi?id=170471

(also check isWellFormedXmlFragment function in intltool-merge.in.in)

The problem with this approach is that translators won't know that
they messed up since intltool will silently ignore their
mistranslations :(

I am not sure what's the best way to fix this, apart from introducing
xml-format tag in GNU gettext.

Cheers,
Danilo


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