[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41135] trunk/blender: A big set of UI messages fixes and tweaks! No functional changes.

Bastien Montagne montagne29 at wanadoo.fr
Thu Oct 20 09:56:05 CEST 2011


Revision: 41135
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41135
Author:   mont29
Date:     2011-10-20 07:56:04 +0000 (Thu, 20 Oct 2011)
Log Message:
-----------
A big set of UI messages fixes and tweaks! No functional changes.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_operators/anim.py
    trunk/blender/release/scripts/startup/bl_operators/object.py
    trunk/blender/release/scripts/startup/bl_operators/presets.py
    trunk/blender/release/scripts/startup/bl_operators/screen_play_rendered_anim.py
    trunk/blender/release/scripts/startup/bl_operators/vertexpaint_dirt.py
    trunk/blender/source/blender/editors/armature/poseobject.c
    trunk/blender/source/blender/editors/curve/editfont.c
    trunk/blender/source/blender/editors/object/object_edit.c
    trunk/blender/source/blender/editors/object/object_hook.c
    trunk/blender/source/blender/editors/screen/screen_ops.c
    trunk/blender/source/blender/editors/space_image/image_buttons.c
    trunk/blender/source/blender/editors/space_info/info_report.c
    trunk/blender/source/blender/editors/space_logic/logic_ops.c
    trunk/blender/source/blender/makesrna/intern/rna_curve.c
    trunk/blender/source/blender/makesrna/intern/rna_fcurve.c
    trunk/blender/source/blender/makesrna/intern/rna_image.c
    trunk/blender/source/blender/makesrna/intern/rna_mesh.c
    trunk/blender/source/blender/makesrna/intern/rna_nodetree.c
    trunk/blender/source/blender/makesrna/intern/rna_object.c
    trunk/blender/source/blender/makesrna/intern/rna_object_force.c
    trunk/blender/source/blender/makesrna/intern/rna_pose.c
    trunk/blender/source/blender/makesrna/intern/rna_scene.c
    trunk/blender/source/blender/makesrna/intern/rna_sculpt_paint.c
    trunk/blender/source/blender/makesrna/intern/rna_sequencer.c
    trunk/blender/source/blender/makesrna/intern/rna_smoke.c
    trunk/blender/source/blender/makesrna/intern/rna_texture.c
    trunk/blender/source/blender/makesrna/intern/rna_userdef.c
    trunk/blender/source/blender/makesrna/intern/rna_wm.c
    trunk/blender/source/blender/makesrna/intern/rna_world.c

Modified: trunk/blender/release/scripts/startup/bl_operators/anim.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/anim.py	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/release/scripts/startup/bl_operators/anim.py	2011-10-20 07:56:04 UTC (rev 41135)
@@ -228,7 +228,7 @@
 
 class ClearUselessActions(Operator):
     """Mark actions with no F-Curves for deletion after save+reload of """ \
-    """file preserving "action libraries"""
+    """file preserving \"action libraries\""""
     bl_idname = "anim.clear_useless_actions"
     bl_label = "Clear Useless Actions"
     bl_options = {'REGISTER', 'UNDO'}

Modified: trunk/blender/release/scripts/startup/bl_operators/object.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/object.py	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/release/scripts/startup/bl_operators/object.py	2011-10-20 07:56:04 UTC (rev 41135)
@@ -122,7 +122,7 @@
 
 
 class SelectHierarchy(Operator):
-    '''Select object relative to the active objects position''' \
+    '''Select object relative to the active object's position''' \
     '''in the hierarchy'''
     bl_idname = "object.select_hierarchy"
     bl_label = "Select Hierarchy"

Modified: trunk/blender/release/scripts/startup/bl_operators/presets.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/presets.py	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/release/scripts/startup/bl_operators/presets.py	2011-10-20 07:56:04 UTC (rev 41135)
@@ -142,7 +142,7 @@
 
 
 class ExecutePreset(Operator):
-    ''' Executes a preset '''
+    '''Execute a preset'''
     bl_idname = "script.execute_preset"
     bl_label = "Execute a Python Preset"
 

Modified: trunk/blender/release/scripts/startup/bl_operators/screen_play_rendered_anim.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/screen_play_rendered_anim.py	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/release/scripts/startup/bl_operators/screen_play_rendered_anim.py	2011-10-20 07:56:04 UTC (rev 41135)
@@ -66,7 +66,7 @@
 
 
 class PlayRenderedAnim(Operator):
-    '''Plays back rendered frames/movies using an external player'''
+    '''Play back rendered frames/movies using an external player'''
     bl_idname = "render.play_rendered_anim"
     bl_label = "Play Rendered Animation"
     bl_options = {'REGISTER'}

Modified: trunk/blender/release/scripts/startup/bl_operators/vertexpaint_dirt.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/vertexpaint_dirt.py	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/release/scripts/startup/bl_operators/vertexpaint_dirt.py	2011-10-20 07:56:04 UTC (rev 41135)
@@ -159,7 +159,7 @@
             )
     blur_iterations = IntProperty(
             name="Blur Iterations",
-            description="Number times to blur the colors. (higher blurs more)",
+            description="Number times to blur the colors (higher blurs more)",
             min=0, max=40,
             default=1,
             )

Modified: trunk/blender/source/blender/editors/armature/poseobject.c
===================================================================
--- trunk/blender/source/blender/editors/armature/poseobject.c	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/source/blender/editors/armature/poseobject.c	2011-10-20 07:56:04 UTC (rev 41135)
@@ -1197,7 +1197,7 @@
 	/* identifiers */
 	ot->name= "Paste Pose";
 	ot->idname= "POSE_OT_paste";
-	ot->description= "Pastes the stored pose on to the current pose";
+	ot->description= "Paste the stored pose on to the current pose";
 	
 	/* api callbacks */
 	ot->exec= pose_paste_exec;

Modified: trunk/blender/source/blender/editors/curve/editfont.c
===================================================================
--- trunk/blender/source/blender/editors/curve/editfont.c	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/source/blender/editors/curve/editfont.c	2011-10-20 07:56:04 UTC (rev 41135)
@@ -1046,7 +1046,7 @@
 	ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
 
 	/* properties */
-	RNA_def_int(ot->srna, "delta", 1, -20, 20, "Delta", "Amount to decrease or increasing character spacing with", -20, 20);
+	RNA_def_int(ot->srna, "delta", 1, -20, 20, "Delta", "Amount to decrease or increase character spacing with", -20, 20);
 }
 
 /************************* change character **********************/

Modified: trunk/blender/source/blender/editors/object/object_edit.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_edit.c	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/source/blender/editors/object/object_edit.c	2011-10-20 07:56:04 UTC (rev 41135)
@@ -585,7 +585,7 @@
 	/* identifiers */
 	ot->name= "Toggle Pose Mode";
 	ot->idname= "OBJECT_OT_posemode_toggle";
-	ot->description= "Enables or disables posing/selecting bones";
+	ot->description= "Enable or disable posing/selecting bones";
 	
 	/* api callbacks */
 	ot->exec= posemode_exec;

Modified: trunk/blender/source/blender/editors/object/object_hook.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_hook.c	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/source/blender/editors/object/object_hook.c	2011-10-20 07:56:04 UTC (rev 41135)
@@ -837,7 +837,7 @@
 	
 	/* identifiers */
 	ot->name= "Select Hook";
-	ot->description= "Selects effected vertices on mesh";
+	ot->description= "Select affected vertices on mesh";
 	ot->idname= "OBJECT_OT_hook_select";
 	
 	/* callbacks */

Modified: trunk/blender/source/blender/editors/screen/screen_ops.c
===================================================================
--- trunk/blender/source/blender/editors/screen/screen_ops.c	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/source/blender/editors/screen/screen_ops.c	2011-10-20 07:56:04 UTC (rev 41135)
@@ -649,7 +649,7 @@
 	
 	ot->flag= OPTYPE_BLOCKING;
 	
-	RNA_def_int(ot->srna, "modifier", 0, 0, 2, "modifier", "modifier state", 0, 2);
+	RNA_def_int(ot->srna, "modifier", 0, 0, 2, "Modifier", "Modifier state", 0, 2);
 }
 
 /* ************** swap area operator *********************************** */

Modified: trunk/blender/source/blender/editors/space_image/image_buttons.c
===================================================================
--- trunk/blender/source/blender/editors/space_image/image_buttons.c	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/source/blender/editors/space_image/image_buttons.c	2011-10-20 07:56:04 UTC (rev 41135)
@@ -704,8 +704,8 @@
 						sprintf(str, "(%d) Frames:", iuser->framenr);
 					else strcpy(str, "Frames:");
 					uiBlockBeginAlign(block);
-					uiDefButI(block, NUM, imagechanged, str,		10, 90,150, 20, &iuser->frames, 0.0, MAXFRAMEF, 0, 0, "Sets the number of images of a movie to use");
-					uiDefButI(block, NUM, imagechanged, "StartFr:",	160,90,150,20, &iuser->sfra, 1.0, MAXFRAMEF, 0, 0, "Sets the global starting frame of the movie");
+					uiDefButI(block, NUM, imagechanged, str,		10, 90,150, 20, &iuser->frames, 0.0, MAXFRAMEF, 0, 0, "Number of images of a movie to use");
+					uiDefButI(block, NUM, imagechanged, "StartFr:",	160,90,150,20, &iuser->sfra, 1.0, MAXFRAMEF, 0, 0, "Global starting frame of the movie");
 				}
 #endif
 			}

Modified: trunk/blender/source/blender/editors/space_info/info_report.c
===================================================================
--- trunk/blender/source/blender/editors/space_info/info_report.c	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/source/blender/editors/space_info/info_report.c	2011-10-20 07:56:04 UTC (rev 41135)
@@ -160,7 +160,7 @@
 	/* ot->flag= OPTYPE_REGISTER; */
 
 	/* properties */
-	RNA_def_int(ot->srna, "report_index", 0, 0, INT_MAX, "Report", "The index of the report", 0, INT_MAX);
+	RNA_def_int(ot->srna, "report_index", 0, 0, INT_MAX, "Report", "Index of the report", 0, INT_MAX);
 }
 
 

Modified: trunk/blender/source/blender/editors/space_logic/logic_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_logic/logic_ops.c	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/source/blender/editors/space_logic/logic_ops.c	2011-10-20 07:56:04 UTC (rev 41135)
@@ -478,7 +478,7 @@
 static void LOGIC_OT_actuator_remove(wmOperatorType *ot)
 {
 	ot->name= "Remove Actuator";
-	ot->description= "Remove a actuator from the active object";
+	ot->description= "Remove an actuator from the active object";
 	ot->idname= "LOGIC_OT_actuator_remove";
 	
 	ot->invoke= actuator_remove_invoke;
@@ -533,7 +533,7 @@
 	
 	/* identifiers */
 	ot->name= "Add Actuator";
-	ot->description = "Add a actuator to the active object";
+	ot->description = "Add an actuator to the active object";
 	ot->idname= "LOGIC_OT_actuator_add";
 	
 	/* api callbacks */

Modified: trunk/blender/source/blender/makesrna/intern/rna_curve.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_curve.c	2011-10-20 07:20:17 UTC (rev 41134)
+++ trunk/blender/source/blender/makesrna/intern/rna_curve.c	2011-10-20 07:56:04 UTC (rev 41135)
@@ -722,7 +722,7 @@
 
 	prop= RNA_def_property(srna, "weight", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "vec[3]");
-	RNA_def_property_ui_text(prop, "Weight", "Nurbs weight");
+	RNA_def_property_ui_text(prop, "Weight", "NURBS weight");
 	RNA_def_property_update(prop, 0, "rna_Curve_update_data");
 
 	/* Number values */
@@ -1446,7 +1446,7 @@
 
 	srna= RNA_def_struct(brna, "Spline", NULL);
 	RNA_def_struct_sdna(srna, "Nurb");
-	RNA_def_struct_ui_text(srna, "Spline", "Element of a curve, either Nurbs, Bezier or Polyline or a character with text objects");
+	RNA_def_struct_ui_text(srna, "Spline", "Element of a curve, either NURBS, Bezier or Polyline or a character with text objects");
 
 	prop= RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
 	RNA_def_property_collection_sdna(prop, NULL, "bp", NULL);
@@ -1496,13 +1496,13 @@
 	prop= RNA_def_property(srna, "order_u", PROP_INT, PROP_NONE);
 	RNA_def_property_int_sdna(prop, NULL, "orderu");

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list