Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7000) Which message should be translated and which
Home

[Freeciv-Dev] Re: (PR#7000) Which message should be translated and which

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#7000) Which message should be translated and which not
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Tue, 6 Jan 2004 22:56:38 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7000 >

On Tue, Jan 06, 2004 at 02:15:08PM -0800, Jason Short wrote:
> Fine with me.

Can you apply it?

> Another (orthogonal) option is to include the translation in the macro 
> itself.  Something like
> 
>    log_normal("This is a normal message.");
>    log_debug("This is a debug message.");
> 
>    #define log_normal(msg, ...) freelog(LOG_NORMAL, _(msg), ...)
>    #define log_debug(msg, ...) freelog(LOG_DEBUG, msg, ...)
> 
> with suitable additions to the xgettext-running code.

I like this independent of the translation issue. It is shorter.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "Windows is the one true OS. MS invented the GUI. MS invented 
   the 32 bit OS. MS is open and standard. MS loves you. We have 
   always been at war with Oceana."




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