From 83a45b6824577e8c584336493c81698c2599e4de Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Tue, 6 Jan 2026 21:42:51 +0000 Subject: [PATCH] plug-ins: Don't translate "ms" for WEBP animation Resolves #15632 Since our code expects WEBP time to be measured in ASCII "ms", translating it causes the time between frames to be ignored. This patch reuses the string from the GIF loading plug-in so that we always add milliseconds as "MS", per Daniel Plakhotich. --- plug-ins/file-webp/file-webp-load.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plug-ins/file-webp/file-webp-load.c b/plug-ins/file-webp/file-webp-load.c index a981f3418b..b8025869c5 100644 --- a/plug-ins/file-webp/file-webp-load.c +++ b/plug-ins/file-webp/file-webp-load.c @@ -224,7 +224,9 @@ load_image (GFile *file, goto error; } - name = g_strdup_printf (_("Frame %d (%dms)"), frame_num, iter.duration); + name = g_strdup_printf (_("Frame %d (%d%s)"), + frame_num, iter.duration, "ms"); + create_layer (image, outdata, 0, name, width, height); g_free (name);