[Spice-devel] [PATCH spice-gtk 1/2] file-xfer: Error messages should always be translated

Pavel Grunt pgrunt at redhat.com
Mon Jul 10 14:49:38 UTC 2017


On Mon, 2017-07-03 at 15:28 +0200, Victor Toso wrote:
> From: Victor Toso <me at victortoso.com>
> 
There are more untranslated error messages in the channel-main.c related to
file-xfer (search for g_error_new)

> Signed-off-by: Victor Toso <victortoso at redhat.com>
> ---
>  src/channel-main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/channel-main.c b/src/channel-main.c
> index 4edd575..1c77c7b 100644
> --- a/src/channel-main.c
> +++ b/src/channel-main.c
> @@ -3119,7 +3119,7 @@ void spice_main_file_copy_async(SpiceMainChannel
> *channel,
>                                  spice_main_file_copy_async,
>                                  SPICE_CLIENT_ERROR,
>                                  SPICE_CLIENT_ERROR_FAILED,
> -                                "The agent is not connected");
> +                                _("The agent is not connected"));
>          return;
>      }
>  


More information about the Spice-devel mailing list