Reduce amount of markup in translated messages

Markup in messages is fragile and tends to break in translations.
This patch reduces the amount of markup as far as possible.

https://bugzilla.gnome.org/show_bug.cgi?id=679660
This commit is contained in:
Matthias Clasen 2012-07-09 23:14:16 -04:00
parent 5d57a2594d
commit 760a36aeee

View File

@ -108,8 +108,12 @@ delete_ping_timeout_func (MetaDisplay *display,
/* Translators: %s is a window title */
if (window_title)
tmp = g_markup_printf_escaped (_("<tt>%s</tt> is not responding."),
window_title);
{
gchar *bold;
bold = g_strconcat ("<tt>", window_title, "</tt>", NULL);
tmp = g_markup_printf_escaped (_("%s is not responding."), bold);
g_free (bold);
}
else
tmp = g_strdup (_("Application is not responding."));