Re: Please avoid unnecessary markup in messages



Hi,

So the short-term way to fix this is:

 str = g_strdup_printf ("<b>%s</b>", _("My translated string"));

but if we really want people to avoid the markup, I think we need to
add:

 gtk_label_set_font_weight ();
 gtk_label_set_font_style ();

etc. Maybe worth a GTK bug.

Havoc



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