Commit aa269d93 authored by Matthias Clasen's avatar Matthias Clasen

gtk-encode-symbolic-svg: Mark all strings for translation

A few error messages were missing.
parent f9ef67d2
......@@ -276,7 +276,7 @@ main (int argc, char **argv)
symbolic = make_symbolic_pixbuf (path, width, height, &error);
if (symbolic == NULL)
{
g_printerr ("Can't load file: %s\n", error->message);
g_printerr (_("Can't load file: %s\n"), error->message);
return 1;
}
......@@ -304,19 +304,19 @@ main (int argc, char **argv)
NULL, &error);
if (out == NULL)
{
g_printerr ("Can't save file %s: %s\n", pngpath, error->message);
g_printerr (_("Can't save file %s: %s\n"), pngpath, error->message);
return 1;
}
if (!gdk_pixbuf_save_to_stream (symbolic, G_OUTPUT_STREAM (out), "png", NULL, &error, NULL))
{
g_printerr ("Can't save file %s: %s\n", pngpath, error->message);
g_printerr (_("Can't save file %s: %s\n"), pngpath, error->message);
return 1;
}
if (!g_output_stream_close (G_OUTPUT_STREAM (out), NULL, &error))
{
g_printerr ("Can't close stream");
g_printerr (_("Can't close stream"));
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment