Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2001:
[Freeciv-Dev] Re: headers in po-files
Home

[Freeciv-Dev] Re: headers in po-files

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Bruno Haible <haible@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: headers in po-files
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: 26 Jun 2001 17:30:00 +0100

On Tue, 26 Jun 2001, haible@xxxxxxx wrote:
> Gaute B Strokkenes writes:
> 
>> That was my first thought as well, but it's not the case.
> 
> Did you put a breakpoint at gettext() to verify it?

I was about to do that (replace it with logged_gettext() actually, but
it's the same thing.)

>> For instance, if Freeciv was somehow passing an empty string then
>> there shouldn't be any output when Freeciv is configured with
>> --disable-nls, however this is not the case.
> 
> Then your --disable-nls is not working. If --disable-nls would work,
> the program wouldn't use gettext() at all.

What I meant was, the _() macro gets the same arguments.

Anyway, the bug in this case was that Freeciv would construct a label
by concatenating two strings, one of which could be empty.  I'm rather
ashamed I didn't notice this myself, in fact I looked at it right
before emailing you and I was _sure_ that it was correct.  In my
defense, no one else found it before now either.

Anyway, thanks for your time and your trouble.

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
Yow!  I threw up on my window!


[Prev in Thread] Current Thread [Next in Thread]