You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Peter N. Lundblad" <pe...@famlundblad.se> on 2004/06/23 21:31:42 UTC

Checking format strings in .po files (fwd)

[It might work if I use the correct list address...]

---------- Forwarded message ----------
Date: Wed, 23 Jun 2004 23:17:06 +0200 (CEST)
From: Peter N. Lundblad <pe...@famlundblad.se>
To: Erik Huelsmann <e....@gmx.net>
Cc: devel@subversion.tigris.org
Subject: Checking format strings in .po files

[Moving this discussion to the dev list]

On Wed, 23 Jun 2004, Erik Huelsmann wrote:

> > On Wed, 23 Jun 2004, Greg Stein wrote:
> >
> > > For translations... heck yah. That's an even lower part than partial
> > > commit access to the raw code.
> > >
> > Hmmm... Remember that a translation is part of the code. A bad translation
> > can introduce crashes due to formatting strings. But only for that
> > language. That was why I wanted to add --check-format to the msgfmt
> > command line some week ago.
>
> I think we can't do that in the Makefile, but I could include this check in
> my cronjob (which I will commit when it proves alright).
>
But we could add the -c option in the Makefile if we add
Last-Translator: Subversion Developers <de...@subversion.tigris.org>
to every .po file. (In fact my msgfmt only checks that the header is
there, so we could possibly leave it empty, but that's ugly.)

I'd like to have the check in the regular build so we make sure we don't
release with a translation which crashes svn.

If no one objects, I can do this in all .po files and change the
Makefile.in. Anyone knows if -c is available in other msgfmt programs that
we support?

//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org