diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-06-21 01:30:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-06-21 01:34:27 +0300 |
commit | 91b8e24db3bce0d45203dcaf720bbbf472a59c1d (patch) | |
tree | 8eca02484ea5c42120a0734f09c76a09628700f3 | |
parent | 2cad07176178b5acc20091416dd80d4791950062 (diff) |
Cleanup: don't use plural for forward/backward enum
Match existing enums.
Also use the term 'strip', instead of a 'clip'
(again, follow existing terminology, clip is used for movie-clip strips).
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index 3e3ef3a8f61..f39f5eba52f 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -1958,8 +1958,8 @@ static void rna_def_filter_video(StructRNA *srna) }; static const EnumPropertyItem playback_direction_items[] = { - {0, "FORWARDS", 0, "Forwards", "Play clip forwards"}, - {SEQ_REVERSE_FRAMES, "BACKWARDS", 0, "Backwards", "Play clip backwards"}, + {0, "FORWARD", 0, "Forwards", "Play strip forwards"}, + {SEQ_REVERSE_FRAMES, "BACKWARD", 0, "Backwards", "Play strip backwards"}, {0, NULL, 0, NULL, NULL}, }; @@ -1992,7 +1992,7 @@ static void rna_def_filter_video(StructRNA *srna) prop = RNA_def_property(srna, "playback_direction", PROP_ENUM, PROP_NONE); /* as an enum */ RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag"); RNA_def_property_enum_items(prop, playback_direction_items); - RNA_def_property_ui_text(prop, "Playback Direction", "Play clip forwards or backwards"); + RNA_def_property_ui_text(prop, "Playback Direction", "Play strip forwards or backwards"); RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update"); prop = RNA_def_property(srna, "color_multiply", PROP_FLOAT, PROP_UNSIGNED); @@ -2408,7 +2408,8 @@ static void rna_def_sound(BlenderRNA *brna) prop = RNA_def_property(srna, "show_waveform", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_AUDIO_DRAW_WAVEFORM); - RNA_def_property_ui_text(prop, "Display Waveform", "Display the audio waveform inside the clip"); + RNA_def_property_ui_text( + prop, "Display Waveform", "Display the audio waveform inside the strip"); RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, NULL); rna_def_input(srna); |