From 8e8d2dd4c46cb2e02baf04b812a60f6621cc00fe Mon Sep 17 00:00:00 2001 From: Anders Jonsson Date: Tue, 9 Apr 2024 18:23:09 +0200 Subject: [PATCH] plug-ins: mark DDS progress strings as translatable --- plug-ins/file-dds/misc.c | 14 ++++++++++---- po-plug-ins/POTFILES.in | 1 + 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/plug-ins/file-dds/misc.c b/plug-ins/file-dds/misc.c index 320f2fb00c..fa8cdd2155 100644 --- a/plug-ins/file-dds/misc.c +++ b/plug-ins/file-dds/misc.c @@ -18,8 +18,12 @@ * along with this program. If not, see . */ +#include "config.h" + #include +#include + #include "endian_rw.h" #include "imath.h" #include "misc.h" @@ -62,7 +66,8 @@ decode_ycocg (GimpDrawable *drawable) gegl_buffer_get (buffer, GEGL_RECTANGLE (0, 0, w, h), 1.0, format, data, GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE); - gimp_progress_init ("Decoding YCoCg pixels..."); + /* Translators: Do not translate YCoCg, it's the name of a colorspace */ + gimp_progress_init (_("Decoding YCoCg pixels...")); for (i = 0; i < num_pixels; ++i) { @@ -127,8 +132,9 @@ decode_ycocg_scaled (GimpDrawable *drawable) gegl_buffer_get (buffer, GEGL_RECTANGLE (0, 0, w, h), 1.0, format, data, GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE); - - gimp_progress_init ("Decoding YCoCg (scaled) pixels..."); + + /* Translators: Do not translate YCoCg, it's the name of a colorspace */ + gimp_progress_init (_("Decoding YCoCg (scaled) pixels...")); for (i = 0; i < num_pixels; ++i) { @@ -195,7 +201,7 @@ decode_alpha_exponent (GimpDrawable *drawable) gegl_buffer_get (buffer, GEGL_RECTANGLE (0, 0, w, h), 1.0, format, data, GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE); - gimp_progress_init ("Decoding Alpha-exponent pixels..."); + gimp_progress_init (_("Decoding Alpha-exponent pixels...")); for (i = 0; i < num_pixels; ++i) { diff --git a/po-plug-ins/POTFILES.in b/po-plug-ins/POTFILES.in index 385334e25b..87b13db9bb 100644 --- a/po-plug-ins/POTFILES.in +++ b/po-plug-ins/POTFILES.in @@ -94,6 +94,7 @@ plug-ins/file-bmp/bmp.c plug-ins/file-dds/dds.c plug-ins/file-dds/ddsread.c plug-ins/file-dds/ddswrite.c +plug-ins/file-dds/misc.c plug-ins/file-exr/file-exr.c plug-ins/file-faxg3/faxg3.c plug-ins/file-fits/fits.c