[Po4a-devel][patch] Making Html.pm (slightly) better

Martin Quinson martin.quinson@imag.fr
Mon, 29 Nov 2004 16:54:44 +0100


--GRPZ8SYKNexpdSJ7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 27, 2004 at 01:43:50PM +0100, Jordi Vilalta wrote:
> Hi,
>=20
> On Sat, 27 Nov 2004, Yves Rutschle wrote:
> >For the sake of testing, it'd be convenient to fill all the
> >msgstr of an empty PO file with a copy of the msgid. That
> >way, you can apply the PO to the original file, and check it
> >looks the same (through whatever kind of browser is relevant
> >to the format). Does such a tool exist? If not, would one be
> >welcome in po4a?
>=20
> I think you should have a look at po4a-normalize. It parses the document=
=20
> and writes it back without translating anything.

yeah, po4a-normalize is exactly what you describe. It is called that way
because the sgml module reindent the source, so after a run through
-normalize, the source file is supposed to look better.

But I now stop to rewrite the man page:

   The "po4a-normalize" script is a debugging tool used to make sure that
   po4a don't change the document when it's not supposed to. Only use it if
   you're developping a new module, or if you doubt the sanity of the tools.
      =20
Bye, Mt.

--GRPZ8SYKNexpdSJ7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBq0ZEIiC/MeFF8zQRAucJAJwPVliXsfxUFA5Qcu5yDzZGvRorAwCfQzlq
qJpNv5s0EhQ7Qs79Wx+YMOg=
=Hxob
-----END PGP SIGNATURE-----

--GRPZ8SYKNexpdSJ7--