Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2000:
[Freeciv-Dev] Re: Alpha Centauri
Home

[Freeciv-Dev] Re: Alpha Centauri

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Robert Brady <rwb197@xxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Alpha Centauri
From: Tomasz Wegrzanowski <maniek@xxxxxxxx>
Date: Mon, 24 Apr 2000 23:06:46 +0200

On Mon, Apr 24, 2000 at 08:27:41PM +0100, Robert Brady wrote:
> On Mon, 24 Apr 2000, Stewart Adcock wrote:
> 
> > Should be easy to turn off: Just set the valutas to gold for each nation
> > (maybe use default of gold if no money/money_plural field is found in
> > the rulesets) and skip the piece of code which the server uses to send
> > the names to the client.

my version was even easier (but there was no plurals), you could
set variable global_valuta, and nations' ones was used only when
global_valuta == '', so single command, no ruleset editing

> Except that only allows it to be turned off on a per-server basis. People
> were unhappy about that, the consensus seemed to be that a per-client
> option would be needed.

This is as realistic as freeciv on terminal.
Clients get complete strings form server, with valutas already
inserted, so if you turn them off on client, you will end with
50% `gold' (client messages), 50% `dollars' (server messages).
Of course we can send messages like :
`You have found 50 $(players_own_valuta_plural) in this hut'
with $(*) to be changed dependent on client's set-up, but
it is realy to much work.

> That would be difficult with the current message code, but when the
> messages are probably i18ned, it should be a piece of cake to add..

i18n means gettext (done) and utf8 (todo)
is there anything I missed about i18n ?



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