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.
This commit is contained in:
Damien Picard
2025-07-05 18:00:58 +02:00
committed by Bastien Montagne
parent 6914e04f5c
commit 771af1a0ad

View File

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