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:
Matthias Clasen 2010-01-02 20:11:50 -05:00
parent 94ba3d86f3
commit 85b41aaffc
2 changed files with 4 additions and 4 deletions

View File

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

View File

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