[mutter] Remove markup from translated string
- From: Owen Taylor <otaylor src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mutter] Remove markup from translated string
- Date: Wed, 10 Feb 2010 19:40:45 +0000 (UTC)
commit b1c465eab08afc1efc11745181d79daf00125301
Author: Claude Paroz <claude 2xlibre net>
Date: Tue Jan 5 15:39:50 2010 -0500
Remove markup from translated string
src/core/delete.c | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/src/core/delete.c b/src/core/delete.c
index 20ec1b9..584e201 100644
--- a/src/core/delete.c
+++ b/src/core/delete.c
@@ -75,7 +75,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,
@@ -90,11 +90,14 @@ delete_ping_timeout_func (MetaDisplay *display,
window_title = g_locale_from_utf8 (window->title, -1, NULL, NULL, NULL);
- window_content = g_strdup_printf(
- _("<big><b><tt>%s</tt> is not responding.</b></big>\n\n"
- "<i>You may choose to wait a short while for it to "
- "continue or force the application to quit entirely.</i>"),
- window_title);
+ /* Translators: %s is a window title */
+ tmp = g_strdup_printf (_("<tt>%s</tt> is not responding."),
+ window_title);
+ window_content = g_strdup_printf (
+ "<big><b>%s</b></big>\n\n<i>%s</i>",
+ tmp,
+ _("You may choose to wait a short while for it to "
+ "continue or force the application to quit entirely."));
g_free (window_title);
@@ -106,6 +109,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]