Mark all strings for translation in the auth dialog

A few strings weren't marked for translation in the authentication
dialog.
This commit is contained in:
Fabiano Fidêncio 2014-09-12 15:04:09 +02:00
parent 55cdb9867d
commit e825e183a1
2 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@ src/remote-viewer-main.c
src/remote-viewer.c
[type: gettext/glade] src/virt-viewer-about.xml
src/virt-viewer-app.c
src/virt-viewer-auth.c
[type: gettext/glade] src/virt-viewer-auth.xml
src/virt-viewer-main.c
src/virt-viewer-session-spice.c

View File

@ -23,6 +23,7 @@
#include <config.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <string.h>
#ifdef HAVE_GTK_VNC
@ -74,12 +75,11 @@ virt_viewer_auth_collect_credentials(GtkWindow *window,
gtk_widget_set_sensitive(promptPassword, password != NULL);
if (address) {
message = g_strdup_printf("Authentication is required for the %s connection to:\n\n"
"<b>%s</b>\n\n",
message = g_strdup_printf(_("Authentication is required for the %s connection to:\n\n<b>%s</b>\n\n"),
type,
address);
} else {
message = g_strdup_printf("Authentication is required for the %s connection:\n",
message = g_strdup_printf(_("Authentication is required for the %s connection:\n"),
type);
}