From df618c9e91d8440d93cf3fcb9a1750233513afec Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Tue, 5 Jan 2010 15:39:50 -0500 Subject: [PATCH] Remove markup from translated string --- src/core/delete.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/core/delete.c b/src/core/delete.c index b7f781291..8feb08b52 100644 --- a/src/core/delete.c +++ b/src/core/delete.c @@ -77,7 +77,7 @@ delete_ping_timeout_func (MetaDisplay *display, { MetaWindow *window = user_data; char *window_title; - gchar *window_content; + gchar *window_content, *tmp; GPid dialog_pid; meta_topic (META_DEBUG_PING, @@ -92,11 +92,14 @@ delete_ping_timeout_func (MetaDisplay *display, window_title = g_locale_from_utf8 (window->title, -1, NULL, NULL, NULL); - window_content = g_strdup_printf( - _("%s is not responding.\n\n" - "You may choose to wait a short while for it to " - "continue or force the application to quit entirely."), - window_title); + /* Translators: %s is a window title */ + tmp = g_strdup_printf (_("%s is not responding."), + window_title); + window_content = g_strdup_printf ( + "%s\n\n%s", + tmp, + _("You may choose to wait a short while for it to " + "continue or force the application to quit entirely.")); g_free (window_title); @@ -108,6 +111,7 @@ delete_ping_timeout_func (MetaDisplay *display, NULL, NULL); g_free (window_content); + g_free (tmp); window->dialog_pid = dialog_pid; g_child_watch_add (dialog_pid, dialog_exited, window);