From ab2a9de4b485362725660db840cba40837114c89 Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Thu, 4 Oct 2012 18:21:34 +0000 Subject: Add translation context for volume (Audio), pitch (Rotation) and rename tip->tooltip for custom properties Tracked in [#31062] [2.6x] Context Ambiguity List & Discussion (keep updating) --- source/blender/makesrna/intern/rna_speaker.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesrna/intern/rna_speaker.c') diff --git a/source/blender/makesrna/intern/rna_speaker.c b/source/blender/makesrna/intern/rna_speaker.c index 1e3c8df9273..6c226489ad7 100644 --- a/source/blender/makesrna/intern/rna_speaker.c +++ b/source/blender/makesrna/intern/rna_speaker.c @@ -151,6 +151,7 @@ static void rna_def_speaker(BlenderRNA *brna) RNA_def_property_float_sdna(prop, NULL, "volume"); RNA_def_property_range(prop, 0.0f, 1.0f); RNA_def_property_ui_text(prop, "Volume", "How loud the sound is"); + RNA_def_property_translation_context(prop, "Audio"); /* RNA_def_property_float_funcs(prop, NULL, "rna_Speaker_volume_set", NULL); */ /* RNA_def_property_update(prop, 0, "rna_Speaker_update"); */ -- cgit v1.2.3