mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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:
parent
5d57a2594d
commit
760a36aeee
@ -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."));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user