mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 06:04:10 +00: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 */
|
/* Translators: %s is a window title */
|
||||||
if (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
|
else
|
||||||
tmp = g_strdup (_("Application is not responding."));
|
tmp = g_strdup (_("Application is not responding."));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user