Re: [Freeciv-Dev] i18n for all eternity
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
Re: [Freeciv-Dev] i18n for all eternity,
David Pérez Serrada <=
Re: [Freeciv-Dev] i18n for all eternity, David Pérez Serrada, 1999/08/26
RE: [Freeciv-Dev] i18n for all eternity, David Pérez Serrada, 1999/08/31
|
|