[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44611] trunk/blender: "Fix" [#30431] UI string spelling & similar fixes.

Bastien Montagne montagne29 at wanadoo.fr
Fri Mar 2 22:14:43 CET 2012


Revision: 44611
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44611
Author:   mont29
Date:     2012-03-02 21:14:37 +0000 (Fri, 02 Mar 2012)
Log Message:
-----------
"Fix" [#30431] UI string spelling & similar fixes.

All suggested changes looked good to me, thx to Michael F?\195?\164rber for this list of changes!

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_operators/object.py
    trunk/blender/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
    trunk/blender/source/blender/blenkernel/intern/scene.c
    trunk/blender/source/blender/editors/gpencil/gpencil_paint.c
    trunk/blender/source/blender/editors/interface/interface_templates.c
    trunk/blender/source/blender/editors/mesh/editmesh_add.c
    trunk/blender/source/blender/editors/sound/sound_ops.c
    trunk/blender/source/blender/editors/space_view3d/view3d_edit.c
    trunk/blender/source/blender/makesrna/intern/rna_image.c
    trunk/blender/source/blender/makesrna/intern/rna_main_api.c
    trunk/blender/source/blender/makesrna/intern/rna_meta.c
    trunk/blender/source/blender/makesrna/intern/rna_modifier.c
    trunk/blender/source/blender/makesrna/intern/rna_object.c
    trunk/blender/source/blender/makesrna/intern/rna_scene.c
    trunk/blender/source/blender/makesrna/intern/rna_userdef.c
    trunk/blender/source/blender/windowmanager/intern/wm_operators.c

Modified: trunk/blender/release/scripts/startup/bl_operators/object.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/object.py	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/release/scripts/startup/bl_operators/object.py	2012-03-02 21:14:37 UTC (rev 44611)
@@ -27,7 +27,7 @@
 
 
 class SelectPattern(Operator):
-    '''Select object matching a naming pattern'''
+    '''Select objects matching a naming pattern'''
     bl_idname = "object.select_pattern"
     bl_label = "Select Pattern"
     bl_options = {'REGISTER', 'UNDO'}

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py	2012-03-02 21:14:37 UTC (rev 44611)
@@ -217,7 +217,7 @@
 
                 # paint-map output
                 row = layout.row()
-                row.prop_search(surface, "output_name_a", ob.data, "vertex_colors", text="Paintmap layer: ")
+                row.prop_search(surface, "output_name_a", ob.data, "vertex_colors", text="Paintmap layer:")
                 if surface.output_exists(object=ob, index=0):
                     ic = 'ZOOMOUT'
                 else:
@@ -227,7 +227,7 @@
 
                 # wet-map output
                 row = layout.row()
-                row.prop_search(surface, "output_name_b", ob.data, "vertex_colors", text="Wetmap layer: ")
+                row.prop_search(surface, "output_name_b", ob.data, "vertex_colors", text="Wetmap layer:")
                 if surface.output_exists(object=ob, index=1):
                     ic = 'ZOOMOUT'
                 else:
@@ -237,7 +237,7 @@
 
             elif surface_type == 'WEIGHT':
                 row = layout.row()
-                row.prop_search(surface, "output_name_a", ob, "vertex_groups", text="Vertex Group: ")
+                row.prop_search(surface, "output_name_a", ob, "vertex_groups", text="Vertex Group:")
                 if surface.output_exists(object=ob, index=0):
                     ic = 'ZOOMOUT'
                 else:
@@ -270,7 +270,7 @@
                 sub.prop(surface, "output_name_b", text="")
             else:
                 col = layout.column()
-                col.prop(surface, "output_name_a", text="Filename: ")
+                col.prop(surface, "output_name_a", text="Filename:")
                 if surface_type == 'DISPLACE':
                     col.prop(surface, "displace_type", text="Displace Type")
                     col.prop(surface, "depth_clamp")
@@ -309,7 +309,7 @@
             layout.prop_search(surface, "init_layername", ob.data, "uv_textures", text="UV Map:")
 
         elif surface.init_color_type == 'VERTEX_COLOR':
-            layout.prop_search(surface, "init_layername", ob.data, "vertex_colors", text="Color Layer: ")
+            layout.prop_search(surface, "init_layername", ob.data, "vertex_colors", text="Color Layer:")
 
 
 class PHYSICS_PT_dp_effects(PhysicButtonsPanel, Panel):

Modified: trunk/blender/source/blender/blenkernel/intern/scene.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/scene.c	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/source/blender/blenkernel/intern/scene.c	2012-03-02 21:14:37 UTC (rev 44611)
@@ -662,7 +662,7 @@
 		/* XXX particle systems with metas+dupligroups call this recursively */
 		/* see bug #18725 */
 		if (in_next_object) {
-			printf("ERROR: MetaBall generation called recursively, not supported\n");
+			printf("ERROR: Metaball generation called recursively, not supported\n");
 			
 			return F_ERROR;
 		}

Modified: trunk/blender/source/blender/editors/gpencil/gpencil_paint.c
===================================================================
--- trunk/blender/source/blender/editors/gpencil/gpencil_paint.c	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/source/blender/editors/gpencil/gpencil_paint.c	2012-03-02 21:14:37 UTC (rev 44611)
@@ -1938,7 +1938,7 @@
 	ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
 	
 	/* settings for drawing */
-	RNA_def_enum(ot->srna, "mode", prop_gpencil_drawmodes, 0, "Mode", "Way to intepret mouse movements");
+	RNA_def_enum(ot->srna, "mode", prop_gpencil_drawmodes, 0, "Mode", "Way to interpret mouse movements");
 	
 	RNA_def_collection_runtime(ot->srna, "stroke", &RNA_OperatorStrokeElement, "Stroke", "");
 }

Modified: trunk/blender/source/blender/editors/interface/interface_templates.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_templates.c	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/source/blender/editors/interface/interface_templates.c	2012-03-02 21:14:37 UTC (rev 44611)
@@ -315,7 +315,7 @@
 			case ID_OB: return N_("Browse Object to be linked");
 			case ID_ME: return N_("Browse Mesh Data to be linked");
 			case ID_CU: return N_("Browse Curve Data to be linked");
-			case ID_MB: return N_("Browse MetaBall Data to be linked");
+			case ID_MB: return N_("Browse Metaball Data to be linked");
 			case ID_MA: return N_("Browse Material to be linked");
 			case ID_TE: return N_("Browse Texture to be linked");
 			case ID_IM: return N_("Browse Image to be linked");

Modified: trunk/blender/source/blender/editors/mesh/editmesh_add.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_add.c	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/source/blender/editors/mesh/editmesh_add.c	2012-03-02 21:14:37 UTC (rev 44611)
@@ -379,7 +379,7 @@
 	
 	make_prim_finish(C, &state, enter_editmode);
 
-	return OPERATOR_FINISHED;	
+	return OPERATOR_FINISHED;
 }
 
 void MESH_OT_primitive_cone_add(wmOperatorType *ot)
@@ -388,7 +388,7 @@
 
 	/* identifiers */
 	ot->name= "Add Cone";
-	ot->description= "Construct a conic mesh (ends filled)";
+	ot->description= "Construct a conic mesh";
 	ot->idname= "MESH_OT_primitive_cone_add";
 	
 	/* api callbacks */

Modified: trunk/blender/source/blender/editors/sound/sound_ops.c
===================================================================
--- trunk/blender/source/blender/editors/sound/sound_ops.c	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/source/blender/editors/sound/sound_ops.c	2012-03-02 21:14:37 UTC (rev 44611)
@@ -299,7 +299,7 @@
 {
 	/* identifiers */
 	ot->name= "Update animation cache";
-	ot->description= "Updates the audio animation cache so that it's up to date";
+	ot->description= "Update the audio animation cache";
 	ot->idname= "SOUND_OT_bake_animation";
 
 	/* api callbacks */

Modified: trunk/blender/source/blender/editors/space_view3d/view3d_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/view3d_edit.c	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_edit.c	2012-03-02 21:14:37 UTC (rev 44611)
@@ -3108,7 +3108,7 @@
 	/* flags */
 	ot->flag   = 0;
 
-	RNA_def_int(ot->srna, "index", 0, 0, INT_MAX, "Index", "Background image index to remove ", 0, INT_MAX);
+	RNA_def_int(ot->srna, "index", 0, 0, INT_MAX, "Index", "Background image index to remove", 0, INT_MAX);
 }
 
 /* ********************* set clipping operator ****************** */

Modified: trunk/blender/source/blender/makesrna/intern/rna_image.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_image.c	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/source/blender/makesrna/intern/rna_image.c	2012-03-02 21:14:37 UTC (rev 44611)
@@ -45,7 +45,7 @@
 static EnumPropertyItem image_source_items[]= {
 	{IMA_SRC_FILE, "FILE", 0, "Single Image", "Single image file"},
 	{IMA_SRC_SEQUENCE, "SEQUENCE", 0, "Image Sequence", "Multiple image files, as a sequence"},
-	{IMA_SRC_MOVIE, "MOVIE", 0, "Movie File", "Movie file"},
+	{IMA_SRC_MOVIE, "MOVIE", 0, "Movie", "Movie file"},
 	{IMA_SRC_GENERATED, "GENERATED", 0, "Generated", "Generated image"},
 	{IMA_SRC_VIEWER, "VIEWER", 0, "Viewer", "Compositing node viewer"},
 	{0, NULL, 0, NULL, NULL}};

Modified: trunk/blender/source/blender/makesrna/intern/rna_main_api.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_main_api.c	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/source/blender/makesrna/intern/rna_main_api.c	2012-03-02 21:14:37 UTC (rev 44611)
@@ -343,7 +343,7 @@
 	if(ID_REAL_USERS(mb) <= 0)
 		free_libblock(&bmain->mball, mb);
 	else
-		BKE_reportf(reports, RPT_ERROR, "MetaBall \"%s\" must have zero users to be removed, found %d",
+		BKE_reportf(reports, RPT_ERROR, "Metaball \"%s\" must have zero users to be removed, found %d",
 		            mb->id.name+2, ID_REAL_USERS(mb));
 }
 
@@ -1066,7 +1066,7 @@
 	RNA_def_property_srna(cprop, "BlendDataMetaBalls");
 	srna= RNA_def_struct(brna, "BlendDataMetaBalls", NULL);
 	RNA_def_struct_sdna(srna, "Main");
-	RNA_def_struct_ui_text(srna, "Main MetaBalls", "Collection of metaballs");
+	RNA_def_struct_ui_text(srna, "Main Metaballs", "Collection of metaballs");
 
 	func= RNA_def_function(srna, "new", "rna_Main_metaballs_new");
 	RNA_def_function_ui_description(func, "Add a new metaball to the main database");
@@ -1079,7 +1079,7 @@
 	func= RNA_def_function(srna, "remove", "rna_Main_metaballs_remove");
 	RNA_def_function_flag(func, FUNC_USE_REPORTS);
 	RNA_def_function_ui_description(func, "Remove a metaball from the current blendfile");
-	parm= RNA_def_pointer(func, "metaball", "MetaBall", "", "MetaBall to remove");
+	parm= RNA_def_pointer(func, "metaball", "MetaBall", "", "Metaball to remove");
 	RNA_def_property_flag(parm, PROP_REQUIRED|PROP_NEVER_NULL);
 
 	func= RNA_def_function(srna, "tag", "rna_Main_metaballs_tag");

Modified: trunk/blender/source/blender/makesrna/intern/rna_meta.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_meta.c	2012-03-02 18:23:08 UTC (rev 44610)
+++ trunk/blender/source/blender/makesrna/intern/rna_meta.c	2012-03-02 21:14:37 UTC (rev 44611)
@@ -133,7 +133,7 @@

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list