Don't use string concatentation in translated strings
gettext can't handle it, and there is no real need to use G_GSIZE_FORMAT here anyway.
This commit is contained in:
@ -883,8 +883,8 @@ static gboolean real_save_png (GdkPixbuf *pixbuf,
|
|||||||
g_set_error (error,
|
g_set_error (error,
|
||||||
GDK_PIXBUF_ERROR,
|
GDK_PIXBUF_ERROR,
|
||||||
GDK_PIXBUF_ERROR_BAD_OPTION,
|
GDK_PIXBUF_ERROR_BAD_OPTION,
|
||||||
_("Color profile has invalid length '%" G_GSIZE_FORMAT "'."),
|
_("Color profile has invalid length %d."),
|
||||||
icc_profile_size);
|
(gint)icc_profile_size);
|
||||||
success = FALSE;
|
success = FALSE;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
@ -735,8 +735,8 @@ gdk_pixbuf__tiff_image_save_to_callback (GdkPixbufSaveFunc save_func,
|
|||||||
g_set_error (error,
|
g_set_error (error,
|
||||||
GDK_PIXBUF_ERROR,
|
GDK_PIXBUF_ERROR,
|
||||||
GDK_PIXBUF_ERROR_BAD_OPTION,
|
GDK_PIXBUF_ERROR_BAD_OPTION,
|
||||||
_("Color profile has invalid length '%d'."),
|
_("Color profile has invalid length %d."),
|
||||||
icc_profile_size);
|
(gint)icc_profile_size);
|
||||||
retval = FALSE;
|
retval = FALSE;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user