Complete.Org: Mailing Lists: Archives: freeciv-dev: August 1999:
Re: [Freeciv-Dev] i18n for all eternity
Home

Re: [Freeciv-Dev] i18n for all eternity

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] i18n for all eternity
From: David Pérez Serrada <dperezs@xxxxxxxxxxxxxxx>
Date: Thu, 26 Aug 1999 10:13:58 +0200

Alex Zepeda escribió:

> On Mon, 23 Aug 1999, Ba'rdosi Zolta'n wrote:
>
> > 2. how? any special rules, ideas? or just putting some _( ) around text
> > constants?
> >  once this is complete, i think i can post hungarian translation
>
> Essentially you create a function such as
>
> char *i18n(const char *msg)
> {
>   return gettext(msg);
> }
>
> Now, I'd say use a function because functions are cheap, and it makes it
> easier to do more complex things or switch to another i18n system.  You
> can use gettext (which xgettext will pick up automatically unless told not
> to) or some other things (see the info page).

Why is necesary to make a new function where a macro is more
usefull? And whats more gettext, use a macro gettext() -> _(), I thnik
that
we should use this, is more standart.

  Really, I dont see the pros of using the function.


                                  Ta otra.... David

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