I18n disambiguation: IRIS is both a file format and a VSE wipe effect...
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 31 Jan 2018 15:43:04 +0000 (16:43 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 31 Jan 2018 15:43:04 +0000 (16:43 +0100)
At some point, we could probably think about removing IRIS file format
support, don't think there are much of those around anymore. But for
now, let's add a translation context to wipe effect. :)

Reported in T43295 by @blend-it, thanks.

source/blender/makesrna/intern/rna_sequencer.c

index 61ac81a6d1cefc968bbc6d92c629649ea8e47d31..1d0fa7a311c1a97d87dc0b5d7d9d90099e19287b 100644 (file)
@@ -2160,6 +2160,7 @@ static void rna_def_wipe(StructRNA *srna)
        prop = RNA_def_property(srna, "transition_type", PROP_ENUM, PROP_NONE);
        RNA_def_property_enum_sdna(prop, NULL, "wipetype");
        RNA_def_property_enum_items(prop, wipe_type_items);
        prop = RNA_def_property(srna, "transition_type", PROP_ENUM, PROP_NONE);
        RNA_def_property_enum_sdna(prop, NULL, "wipetype");
        RNA_def_property_enum_items(prop, wipe_type_items);
+       RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_SEQUENCE);
        RNA_def_property_ui_text(prop, "Transition Type", "");
        RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_update");
 }
        RNA_def_property_ui_text(prop, "Transition Type", "");
        RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_update");
 }