[Freeciv-Dev] Re: notify_player rewrite
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, 9 Aug 2000, Lauri Tarkkala wrote:
> Yet, when I grep the code in server/*.c, it seems like
> all the notify_player() arguments are specified in plain
> english, like:
>
> > notify_player_ex(unit_owner(punit), src_x, src_y,
> > E_NOEVENT, _("Game: Only %s can attack from sea."),
> > units_str);
>
> Where do locales come into play? Is this not the string which
> is received by the client?
No, not always. Cleverly hidden in that code fragment is the gettext macro
_( ), which replaces the English text with whatever language string you
import from the .po files.
This is all well documented at http://www.freeciv.org/i18n.html.
Yours,
Per
- [Freeciv-Dev] Re: notify_player rewrite, (continued)
[Freeciv-Dev] Re: notify_player rewrite, Lauri Tarkkala, 2000/08/09
[Freeciv-Dev] Re: notify_player rewrite, Reinier Post, 2000/08/10
|
|