[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]
[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
|
|