[Freeciv-Dev] Re: I18n problems
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, 27 Sep 1999, David Pfitzner wrote:
> "Claus Leth Gregersen" <leth@xxxxxxxxxxx> wrote:
>
> Except it would be best to keep such name mangling minimal, so
> that results are still acceptable when compiled without NLS, or
> when message catalogues are not installed, or if translations
> for non-English are not updated yet to do such words, etc.
>
> Adding spaces or underscores may work, and would be sufficiently
> obscure/confusing... :-/
Why don't you just define simple macro somewhere: (common/fcintl.h ?)
#define __(s) (strchr(_(s), ':') + 1)
Modifications in code are minimal:
puts(__("1:Name"))
...
puts(__("2:Name"))
In this case you need neither english translation nor NLS.
Zbigniew Chyla
|
|