summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-03-04 21:00:15 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-05 20:03:41 +0100
commitf3ba4036804d2d2d8addcebc5b0b5da51a7c85c1 (patch)
tree86bd77161d2efe39e6e8795d3baf031de85fa63a
parent1d782164a4949cce31d4144a8be0ed2751937a43 (diff)
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.
-rw-r--r--src/virt-viewer-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c
index 708678a..e2f5425 100644
--- a/src/virt-viewer-window.c
+++ b/src/virt-viewer-window.c
@@ -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());