From 771af1a0ad65701ab0c183e73fcae8e7fb242fbb Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Sat, 5 Jul 2025 18:00:58 +0200 Subject: [PATCH] I18n: Translate "Equalizer" strip modifier name New sequence strip modifiers get a name that is to be translated if translation of data is enabled. This used the default translation context, but "Sequence" must be used because this is the context used to extract the modifier names (`modifiersTypes` array in modifier.cc). Reported by Ye Gui in #43295. --- source/blender/sequencer/intern/modifier.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/sequencer/intern/modifier.cc b/source/blender/sequencer/intern/modifier.cc index c7c5442f2d7..4da37f58c35 100644 --- a/source/blender/sequencer/intern/modifier.cc +++ b/source/blender/sequencer/intern/modifier.cc @@ -1208,7 +1208,7 @@ StripModifierData *modifier_new(Strip *strip, const char *name, int type) smd->flag |= SEQUENCE_MODIFIER_EXPANDED; if (!name || !name[0]) { - STRNCPY(smd->name, DATA_(smti->name)); + STRNCPY(smd->name, CTX_DATA_(BLT_I18NCONTEXT_ID_SEQUENCE, smti->name)); } else { STRNCPY(smd->name, name);