Re: i8n problems




> That's might not work as intended - you'll be asking the translators to
> translate the string "message_list_titles [0]". I think doing
> 
> 	  puts(gettext(message_list_titles[0]));
> 
> Is proper here.

Nope, that is how we do it all over the source code.  

_() is a macro that maps to gettext.  And xgettext knows that if _
( does not have a " inmediately, then, it does not put it on the po
file.

Miguel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]