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

A few error messages were missing.
This commit is contained in:
Matthias Clasen 2015-04-27 18:56:16 -04:00
parent f9ef67d2fa
commit aa269d93c4

View File

@ -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;
}