mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-27 14:54:14 +00:00
Disambiguate "unknown" messages
Give them a context to explain what is the "unknown thing", so it is possible to provide proper translations. Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
parent
88e4d565a3
commit
debedd40d1
@ -1178,9 +1178,9 @@ virt_viewer_window_menu_help_guest_details(GtkWidget *menu G_GNUC_UNUSED,
|
||||
g_object_get(self->priv->app, "guest-name", &name, "uuid", &uuid, NULL);
|
||||
|
||||
if (!name || *name == '\0')
|
||||
name = g_strdup(_("Unknown"));
|
||||
name = g_strdup(C_("Unknown name", "Unknown"));
|
||||
if (!uuid || *uuid == '\0')
|
||||
uuid = g_strdup(_("Unknown"));
|
||||
uuid = g_strdup(C_("Unknown UUID", "Unknown"));
|
||||
gtk_label_set_text(GTK_LABEL(namelabel), name);
|
||||
gtk_label_set_text(GTK_LABEL(guidlabel), uuid);
|
||||
g_free(name);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user