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:
committed by
Bastien Montagne
parent
6914e04f5c
commit
771af1a0ad
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user