Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] Re: (PR#14914) bug in the message of an attac
Home

[Freeciv-Dev] Re: (PR#14914) bug in the message of an attac

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aaron_talamasca@xxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#14914) bug in the message of an attac
From: "Vasco Alexandre da Silva Costa" <vasco.costa@xxxxxxxxx>
Date: Mon, 19 Dec 2005 13:25:01 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14914 >

On 12/19/05, Gilderoy <aaron_talamasca@xxxxxxxx> wrote:
>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14914 >
>
> hi all, i'm quite new to freeciv, and i play under windows XP, with
> version 2.0.7, with the italian leanguage.
> I found a bug in the message that report an attac on my troops, the
> message always say
> *you lose a $s by an attack from $s of $s$s*
> of course translated in italian.
> in attachment there is a schreenshot of the message error.
> I do not know a lot about C programming, but.. is possible that the
> errore is in the char string of control for the output? instead of $s
> that should be %s?
> thank you in advantage! (and excuse me for my awful English ;)

I believe this is the dreaded problem of the broken Windows *printf one
of our Japanese users had. The $ I believe is used to swap the order
of the *printf arguments after the format string (some languages
use a different sentence word order than English).

e.g. NATO (North Atlantic Treaty Organization) in English is
OTAN (Organização do Tratado do Atlântico Norte) in Portuguese.

See PR#12932.

--
Vasco Alexandre da Silva Costa





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