Minor improvements to the not responding dialog

https://bugzilla.gnome.org/show_bug.cgi?id=684306
This commit is contained in:
William Jon McCann 2012-09-18 12:10:18 -04:00 committed by Florian Müllner
parent 0593df8fe0
commit 909cd82bea

View File

@ -108,17 +108,12 @@ delete_ping_timeout_func (MetaDisplay *display,
/* Translators: %s is a window title */ /* Translators: %s is a window title */
if (window_title) if (window_title)
{ tmp = g_strdup_printf (_("“%s” is not responding."), window_title);
gchar *bold;
bold = g_markup_printf_escaped ("<tt>%s</tt>", window_title);
tmp = g_strdup_printf (_("%s is not responding."), bold);
g_free (bold);
}
else else
tmp = g_strdup (_("Application is not responding.")); tmp = g_strdup (_("Application is not responding."));
window_content = g_strdup_printf ( window_content = g_strdup_printf (
"<big><b>%s</b></big>\n\n<i>%s</i>", "<big><b>%s</b></big>\n\n%s",
tmp, tmp,
_("You may choose to wait a short while for it to " _("You may choose to wait a short while for it to "
"continue or force the application to quit entirely.")); "continue or force the application to quit entirely."));