> 
> Translation strings for spice options are already present
> in the respective PO files.
> 
> g_option_group_set_translation_domain() call needs to be made,
> so that the strings marked with N_() actually get translated at runtime.
> 
> Signed-off-by: Jakub Janků <[email protected]>

Acked-by: Frediano Ziglio <[email protected]>

> ---
>  src/spice-option.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/spice-option.c b/src/spice-option.c
> index 7df093d..c2b059e 100644
> --- a/src/spice-option.c
> +++ b/src/spice-option.c
> @@ -207,6 +207,7 @@ GOptionGroup* spice_get_option_group(void)
>  
>      grp = g_option_group_new("spice", _("Spice Options:"), _("Show Spice
>      Options"), NULL, NULL);
>      g_option_group_add_entries(grp, entries);
> +    g_option_group_set_translation_domain(grp, GETTEXT_PACKAGE);
>  
>      return grp;
>  }

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to