[virt-tools-list] [PATCH virt-viewer 08/25] Mark a menu string as translatable

Daniel P. Berrange berrange at redhat.com
Mon Jul 23 14:01:16 UTC 2012


On Tue, Jul 17, 2012 at 09:24:50PM +0200, Marc-André Lureau wrote:
> ---
>  src/virt-viewer-app.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
> index 5588c6a..661cdd7 100644
> --- a/src/virt-viewer-app.c
> +++ b/src/virt-viewer-app.c
> @@ -1634,7 +1634,7 @@ window_update_menu_displays_cb(gpointer key G_GNUC_UNUSED,
>          gboolean visible;
>          gchar *label;
>  
> -        label = g_strdup_printf("Display %d", *nth);
> +        label = g_strdup_printf(_("Display %d"), *nth);
>          item = gtk_check_menu_item_new_with_label(label);
>          g_free(label);
>          visible = gtk_widget_get_visible(GTK_WIDGET(virt_viewer_window_get_window(vwin)));

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the virt-tools-list mailing list