mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Remove markup from translated string
This commit is contained in:
parent
7aa54b5a23
commit
df618c9e91
@ -77,7 +77,7 @@ delete_ping_timeout_func (MetaDisplay *display,
|
|||||||
{
|
{
|
||||||
MetaWindow *window = user_data;
|
MetaWindow *window = user_data;
|
||||||
char *window_title;
|
char *window_title;
|
||||||
gchar *window_content;
|
gchar *window_content, *tmp;
|
||||||
GPid dialog_pid;
|
GPid dialog_pid;
|
||||||
|
|
||||||
meta_topic (META_DEBUG_PING,
|
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_title = g_locale_from_utf8 (window->title, -1, NULL, NULL, NULL);
|
||||||
|
|
||||||
window_content = g_strdup_printf(
|
/* Translators: %s is a window title */
|
||||||
_("<big><b><tt>%s</tt> is not responding.</b></big>\n\n"
|
tmp = g_strdup_printf (_("<tt>%s</tt> is not responding."),
|
||||||
"<i>You may choose to wait a short while for it to "
|
window_title);
|
||||||
"continue or force the application to quit entirely.</i>"),
|
window_content = g_strdup_printf (
|
||||||
window_title);
|
"<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);
|
g_free (window_title);
|
||||||
|
|
||||||
@ -108,6 +111,7 @@ delete_ping_timeout_func (MetaDisplay *display,
|
|||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
|
|
||||||
g_free (window_content);
|
g_free (window_content);
|
||||||
|
g_free (tmp);
|
||||||
|
|
||||||
window->dialog_pid = dialog_pid;
|
window->dialog_pid = dialog_pid;
|
||||||
g_child_watch_add (dialog_pid, dialog_exited, window);
|
g_child_watch_add (dialog_pid, dialog_exited, window);
|
||||||
|
Loading…
Reference in New Issue
Block a user