Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: Message translation problem
Home

[Freeciv-Dev] Re: Message translation problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Pieter J. Kersten" <kersten@xxxxxxxxxx>
Cc: jdorje@xxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Message translation problem
From: Michael Stefaniuc <mstefani@xxxxxxxxx>
Date: Fri, 5 Oct 2001 23:41:50 +0200

On Fri, Oct 05, 2001 at 10:39:27PM +0200, Pieter J. Kersten wrote:
> On Fri, 5 Oct 2001, Jason Dorje Short wrote:
> 
> > "Pieter J. Kersten" wrote:
> > > I'm having troubles with a string that doesn't get translated in the
> > > software. I'm speaking of the string 'Great philosophers...'. Since the
> > > addition of the string 'Great scientists...' which is almost identical,
> > > the string ends up in plain english. The message *is* translated however
> > > in the nl.po file. No matter what I change, this problem stands. Right
> > > now, I'me clueless.
> > >
> > > Can someone help me with this?
> >
> > I see no string "Great philopophers..."
> >
> 
> It is in data/default/techs.ruleset line 409.
> 
> > The "Great scientists..." string seems to be generated by the server and
> > sent to all clients after translation.  I don't know how the server
> > attempts to handle translation.  (It's in server/plrhand.c/320.)
> >
> 
> I've seen that, and I've never seen that string or its translation during
> playing. Perhaps that's another part of the problem.
Yes, it is: take a look at da.po and you will find:
    #: server/plrhand.c:302
    msgid ""
    "Game: Great philosophers ..."

That was changed to "Great scientists ..." . You need to merge the code changes 
into the da.po file. Just do a (in a fresh CVS extract)
cd freeciv/po
make da.pox
After reviewing da.pox you can move it to da.po . This will give you the
(now) correct entry for "Game: Great philosophers ...":
#: data/default/techs.ruleset:409
msgid ""
"Great philosophers ..."


bye
        michael


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani@xxxxxxxxx
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart


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