[gimp] plug-ins: don't use G_GSIZE_FORMAT specifier in translatable string in psd-load.



commit 666ae4ecfebd16fab4642d9894900278bff12834
Author: Jacob Boerema <jgboerema gmail com>
Date:   Wed May 12 16:03:00 2021 -0400

    plug-ins: don't use G_GSIZE_FORMAT specifier in translatable string in psd-load.
    
    See: https://gitlab.gnome.org/GNOME/gimp/-/commit/38c0344fa88c023b9e69d3c237a35f2e8fcac158#note_1103992

 plug-ins/file-psd/psd-load.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/file-psd/psd-load.c b/plug-ins/file-psd/psd-load.c
index e4e4dc7cb9..3f9eb924bb 100644
--- a/plug-ins/file-psd/psd-load.c
+++ b/plug-ins/file-psd/psd-load.c
@@ -679,8 +679,9 @@ read_layer_info (PSDimage      *img_a,
           if (block_len + 4 > block_rem)
             {
               g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
-                           _("Unsupported or invalid mask info size: %" G_GOFFSET_FORMAT),
-                           block_len);
+                           _("Unsupported or invalid mask info size."));
+              /* Translations have problems with using G_GSIZE_FORMAT, let's use g_debug. */
+              g_debug ("Unsupported or invalid mask info size: %" G_GSIZE_FORMAT, block_len);
               return NULL;
             }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]