Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] (PR#2403) Popup items with slash won't translate
Home

[Freeciv-Dev] (PR#2403) Popup items with slash won't translate

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: juhani.heino@xxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#2403) Popup items with slash won't translate
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 20 Dec 2002 01:28:38 -0800
Reply-to: rt@xxxxxxxxxxxxxx

[guest - Fri Dec 20 08:01:20 2002]:

> Sorry for delay, I've been too tired after work lately.
> 
> I tried every amount of slashes from 4 to 0, so the result in the file
> was everything
> from \\\\\\\\/ to / with even number of slashes, but each gave the
> same result:
> translation went without errors but the phrases were untouched in the
> client.
> Perhaps an odd number would work, but in po-mode that isn't possible.
> In Finnish
> translation we worked around this: the phrases are without slashes.
> And after this
> test I recommend that to other teams too.

The bug is in translate_menu_path in gui-gtk-2.0/menu.c:798.  It does
not respect \/ as a genuine slash and instead tries to split the string
around it.  Thus it tris to translate "Go" and "Airlift to city", both
of which fail.

jason



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