[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: compile warnings from msgfmt

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-06-24 19:58:40 CEST

On Thu, 24 Jun 2004, Ben Collins-Sussman wrote:

> On Thu, 2004-06-24 at 09:33, Branko Čibej wrote:
>
> > You're a bit behind the times, arean't you? :-)
> >
> > These warnings are expected, and are the result of our stripping the
> > Content-Type header from the .po files. And we strip that to make sure
> > some gettext doesn't try to convert the messages to some local encoding,
> > because we need them in UTF-8. We can't use bind_textdomain_codeset,
> > because that's GNU-gettext-specific. This was all discussed on the list
> > a while ago.
>
> I'm still on my high-horse about "make should never produce warnings".
> Maybe we can suppress the output somehow. :-(
>
I've been thinking of testing for bind_textdomain_codeset and avoid the
stripping if it is available. I would think the warning is specific to GNU
gettext, but I'm not sure. This would probably avoid many user questions.
This would also make life easier for translators, since as it stand now,
error messages refer to a temporary file (.spo) which doesn't exist
afterwards.

I'm not sure how to implement this portably. Is the make if construct
portable?

//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 24 19:49:02 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.