[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



ACK. Maybe add a translator comment explaining what 'display' means in this
context?

Christophe

On Mon, Jul 16, 2012 at 06:57:43PM +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 b93a978..03cf4b4 100644
> --- a/src/virt-viewer-app.c
> +++ b/src/virt-viewer-app.c
> @@ -1633,7 +1633,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)));
> -- 
> 1.7.10.4
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list redhat com
> https://www.redhat.com/mailman/listinfo/virt-tools-list

Attachment: pgphGK0pWykd3.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]