[Bf-blender-cvs] [9d39980cfd2] master: I18n disambiguation: IRIS is both a file format and a VSE wipe effect...
Bastien Montagne
noreply at git.blender.org
Wed Jan 31 16:55:17 CET 2018
Commit: 9d39980cfd21119f85885b00ccdbd24cb28e33ca
Author: Bastien Montagne
Date: Wed Jan 31 16:43:04 2018 +0100
Branches: master
https://developer.blender.org/rB9d39980cfd21119f85885b00ccdbd24cb28e33ca
I18n disambiguation: IRIS is both a file format and a VSE wipe effect...
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.
===================================================================
M source/blender/makesrna/intern/rna_sequencer.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index 61ac81a6d1c..1d0fa7a311c 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -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);
+ 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");
}
More information about the Bf-blender-cvs
mailing list