Don't attempt to translate ""

The empty string has a magic meaning for gettext, it's used to
store a translation header with all kind of information about the
po file. This is not something we want to use as a window title, so
change to _("") to "" when we want an empty string.
This commit is contained in:
Christophe Fergeau 2012-03-04 21:00:15 +01:00 committed by Marc-André Lureau
parent 1d782164a4
commit f3ba403680

View File

@ -896,9 +896,9 @@ virt_viewer_window_update_title(VirtViewerWindow *self)
*/
title = g_strdup_printf(_("%s%s%s - %s"),
/* translators: <ungrab empty> */
ungrab ? ungrab : _(""),
ungrab ? ungrab : "",
/* translators: <space> */
ungrab && priv->subtitle ? _(" ") : _(""),
ungrab && priv->subtitle ? _(" ") : "",
priv->subtitle,
g_get_application_name());