mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
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:
parent
94ba3d86f3
commit
85b41aaffc
@ -883,8 +883,8 @@ static gboolean real_save_png (GdkPixbuf *pixbuf,
|
||||
g_set_error (error,
|
||||
GDK_PIXBUF_ERROR,
|
||||
GDK_PIXBUF_ERROR_BAD_OPTION,
|
||||
_("Color profile has invalid length '%" G_GSIZE_FORMAT "'."),
|
||||
icc_profile_size);
|
||||
_("Color profile has invalid length %d."),
|
||||
(gint)icc_profile_size);
|
||||
success = FALSE;
|
||||
goto cleanup;
|
||||
}
|
||||
|
@ -735,8 +735,8 @@ gdk_pixbuf__tiff_image_save_to_callback (GdkPixbufSaveFunc save_func,
|
||||
g_set_error (error,
|
||||
GDK_PIXBUF_ERROR,
|
||||
GDK_PIXBUF_ERROR_BAD_OPTION,
|
||||
_("Color profile has invalid length '%d'."),
|
||||
icc_profile_size);
|
||||
_("Color profile has invalid length %d."),
|
||||
(gint)icc_profile_size);
|
||||
retval = FALSE;
|
||||
goto cleanup;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user