On Wed, 2007-06-06 at 14:55 +0200, Toralf Lund wrote:
> Paul Elliott wrote:
> > How are parameterized translation strings commonly handled? [ ... ]
> >
> >
> >
> > What is the solution that is used everyday in the real world?
> >   
> It seems to me that the simple answer to your questions is "printf". 

g_strdup_printf() is particularly useful.

> Despite the limitations you mention. I don't think it is entirely true 
> that it isn't typesafe, by the way. I mean, there aren't (can't be) 
> proper type checks, of course, but e.g. newer versions gcc/g++ will in 
> fact issue a warning if there is a mismatch between the format and the 
> arguments.

-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to