From 0214dac604b15de6106cbe4da1411397b75d1504 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 6 Aug 2013 14:55:00 +0000 Subject: [PATCH] Usual edits/fixes to new UI messages... --- .../scripts/modules/bl_i18n_utils/utils_spell_check.py | 2 ++ source/blender/makesrna/intern/rna_dynamicpaint.c | 3 ++- source/blender/makesrna/intern/rna_scene.c | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/release/scripts/modules/bl_i18n_utils/utils_spell_check.py b/release/scripts/modules/bl_i18n_utils/utils_spell_check.py index 1da45a9f415..f365351766a 100644 --- a/release/scripts/modules/bl_i18n_utils/utils_spell_check.py +++ b/release/scripts/modules/bl_i18n_utils/utils_spell_check.py @@ -72,6 +72,7 @@ class SpellChecker(): "bandnoise", "bindcode", "bitrate", + "blackbody", "blendfile", "blendin", "bonesize", @@ -361,6 +362,7 @@ class SpellChecker(): "timecode", "voronoi", "voxel", "voxels", + "vsync", "wireframe", "zmask", "ztransp", diff --git a/source/blender/makesrna/intern/rna_dynamicpaint.c b/source/blender/makesrna/intern/rna_dynamicpaint.c index ff6b5a400b8..c716c3263d1 100644 --- a/source/blender/makesrna/intern/rna_dynamicpaint.c +++ b/source/blender/makesrna/intern/rna_dynamicpaint.c @@ -713,7 +713,8 @@ static void rna_def_canvas_surface(BlenderRNA *brna) prop = RNA_def_property(srna, "wave_smoothness", PROP_FLOAT, PROP_NONE); RNA_def_property_range(prop, 0.0, 10.0); RNA_def_property_ui_range(prop, 0.1, 5.0, 1, 2); - RNA_def_property_ui_text(prop, "Smoothness", "Limit maximum steepness of wave slope between simulation points. Use higher values for smoother waves at expense of reduced detail"); + RNA_def_property_ui_text(prop, "Smoothness", "Limit maximum steepness of wave slope between simulation points " + "(use higher values for smoother waves at expense of reduced detail)"); prop = RNA_def_property(srna, "use_wave_open_border", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flags", MOD_DPAINT_WAVE_OPEN_BORDERS); diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 9e580b1626c..83dbd79024e 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -3145,14 +3145,14 @@ static void rna_def_scene_game_data(BlenderRNA *brna) }; static EnumPropertyItem vsync_items[] = { - {VSYNC_OFF, "OFF", 0, "Off", "Disables vsync"}, - {VSYNC_ON, "ON", 0, "On", "Enables vsync"}, - {VSYNC_ADAPTIVE, "ADAPTIVE", 0, "Adaptive", "Enables adaptive vsync (if supported)"}, + {VSYNC_OFF, "OFF", 0, "Off", "Disable vsync"}, + {VSYNC_ON, "ON", 0, "On", "Enable vsync"}, + {VSYNC_ADAPTIVE, "ADAPTIVE", 0, "Adaptive", "Enable adaptive vsync (if supported)"}, {0, NULL, 0, NULL, NULL} }; static EnumPropertyItem storage_items[] = { - {RAS_STORE_AUTO, "AUTO", 0, "Auto Select", "Chooses the best supported mode"}, + {RAS_STORE_AUTO, "AUTO", 0, "Auto Select", "Choose the best supported mode"}, {RAS_STORE_IMMEDIATE, "IMMEDIATE", 0, "Immediate Mode", "Slowest performance, requires OpenGL (any version)"}, {RAS_STORE_VA, "VERTEX_ARRAY", 0, "Vertex Arrays", "Better performance, requires at least OpenGL 1.1"}, #if 0 /* XXX VBOS are currently disabled since they cannot beat vertex array with display lists in performance. */