diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-03-18 22:43:22 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-03-18 22:43:22 +0400 |
commit | 66c7b54a889e292184dd386cf8cc2b0925e1d0f8 (patch) | |
tree | 903580145a28861f5982a78de999d40db66b25f1 /source/blender/makesrna/intern/rna_sequencer.c | |
parent | b38870ce25a99037d7b9836a4f5a1133043e01f7 (diff) |
Usual minor UI messages fixes.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index 9b81f042358..ed9d12cd1e0 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -35,6 +35,8 @@ #include "BLI_math.h" +#include "BLF_translation.h" + #include "BKE_animsys.h" #include "BKE_global.h" #include "BKE_sequencer.h" @@ -50,8 +52,6 @@ #include "WM_types.h" -#include "BLF_translation.h" - typedef struct EffectInfo { const char *struct_name; const char *ui_name; @@ -1325,6 +1325,7 @@ static void rna_def_sequence(BlenderRNA *brna) RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_enum_items(prop, seq_type_items); RNA_def_property_ui_text(prop, "Type", ""); + RNA_def_property_translation_context(prop, BLF_I18NCONTEXT_ID_SEQUENCE); RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_update"); |