[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44492] trunk/blender: Various fixes to UI messages (among other things, all messages needed it should now be capitalized).
Bastien Montagne
montagne29 at wanadoo.fr
Mon Feb 27 19:14:56 CET 2012
Revision: 44492
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44492
Author: mont29
Date: 2012-02-27 18:14:56 +0000 (Mon, 27 Feb 2012)
Log Message:
-----------
Various fixes to UI messages (among other things, all messages needed it should now be capitalized).
Modified Paths:
--------------
trunk/blender/release/scripts/modules/bpy_extras/io_utils.py
trunk/blender/release/scripts/startup/bl_operators/uvcalc_smart_project.py
trunk/blender/release/scripts/startup/bl_operators/wm.py
trunk/blender/source/blender/editors/animation/anim_markers.c
trunk/blender/source/blender/editors/armature/editarmature_sketch.c
trunk/blender/source/blender/editors/mesh/bmesh_select.c
trunk/blender/source/blender/editors/mesh/bmesh_tools.c
trunk/blender/source/blender/editors/space_sequencer/sequencer_add.c
trunk/blender/source/blender/editors/space_sequencer/sequencer_select.c
trunk/blender/source/blender/editors/transform/transform_ops.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_scene.c
trunk/blender/source/blender/makesrna/intern/rna_sequencer.c
trunk/blender/source/blender/makesrna/intern/rna_wm.c
Modified: trunk/blender/release/scripts/modules/bpy_extras/io_utils.py
===================================================================
--- trunk/blender/release/scripts/modules/bpy_extras/io_utils.py 2012-02-27 18:08:31 UTC (rev 44491)
+++ trunk/blender/release/scripts/modules/bpy_extras/io_utils.py 2012-02-27 18:14:56 UTC (rev 44492)
@@ -335,7 +335,7 @@
('MATCH', "Match", "Match Absolute/Relative "
"setting with input path"),
('STRIP', "Strip Path", "Filename only"),
- ('COPY', "Copy", "copy the file to the destination path "
+ ('COPY', "Copy", "Copy the file to the destination path "
"(or subdirectory)"),
),
default='AUTO'
Modified: trunk/blender/release/scripts/startup/bl_operators/uvcalc_smart_project.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/uvcalc_smart_project.py 2012-02-27 18:08:31 UTC (rev 44491)
+++ trunk/blender/release/scripts/startup/bl_operators/uvcalc_smart_project.py 2012-02-27 18:14:56 UTC (rev 44492)
@@ -1114,7 +1114,7 @@
angle_limit = FloatProperty(
name="Angle Limit",
- description="lower for more projection groups, higher for less distortion",
+ description="Lower for more projection groups, higher for less distortion",
min=1.0, max=89.0,
default=66.0,
)
Modified: trunk/blender/release/scripts/startup/bl_operators/wm.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/wm.py 2012-02-27 18:08:31 UTC (rev 44491)
+++ trunk/blender/release/scripts/startup/bl_operators/wm.py 2012-02-27 18:14:56 UTC (rev 44492)
@@ -146,12 +146,12 @@
bl_label = "Set Brush Number"
mode = StringProperty(
- name="mode",
+ name="Mode",
description="Paint mode to set brush for",
maxlen=1024,
)
index = IntProperty(
- name="number",
+ name="Number",
description="Brush number",
)
Modified: trunk/blender/source/blender/editors/animation/anim_markers.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_markers.c 2012-02-27 18:08:31 UTC (rev 44491)
+++ trunk/blender/source/blender/editors/animation/anim_markers.c 2012-02-27 18:14:56 UTC (rev 44492)
@@ -1116,7 +1116,7 @@
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
- RNA_def_boolean(ot->srna, "extend", 0, "Extend", "extend the selection");
+ RNA_def_boolean(ot->srna, "extend", 0, "Extend", "Extend the selection");
#ifdef DURIAN_CAMERA_SWITCH
RNA_def_boolean(ot->srna, "camera", 0, "Camera", "Select the camera");
#endif
Modified: trunk/blender/source/blender/editors/armature/editarmature_sketch.c
===================================================================
--- trunk/blender/source/blender/editors/armature/editarmature_sketch.c 2012-02-27 18:08:31 UTC (rev 44491)
+++ trunk/blender/source/blender/editors/armature/editarmature_sketch.c 2012-02-27 18:14:56 UTC (rev 44492)
@@ -2839,7 +2839,7 @@
void SKETCH_OT_delete(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "delete";
+ ot->name= "Delete";
ot->idname= "SKETCH_OT_delete";
/* api callbacks */
@@ -2854,7 +2854,7 @@
void SKETCH_OT_select(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "select";
+ ot->name= "Select";
ot->idname= "SKETCH_OT_select";
/* api callbacks */
@@ -2869,7 +2869,7 @@
void SKETCH_OT_cancel_stroke(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "cancel stroke";
+ ot->name= "Cancel Stroke";
ot->idname= "SKETCH_OT_cancel_stroke";
/* api callbacks */
@@ -2884,7 +2884,7 @@
void SKETCH_OT_convert(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "convert";
+ ot->name= "Convert";
ot->idname= "SKETCH_OT_convert";
/* api callbacks */
@@ -2899,7 +2899,7 @@
void SKETCH_OT_finish_stroke(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "end stroke";
+ ot->name= "End Stroke";
ot->idname= "SKETCH_OT_finish_stroke";
/* api callbacks */
@@ -2914,7 +2914,7 @@
void SKETCH_OT_draw_preview(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "draw preview";
+ ot->name= "Draw Preview";
ot->idname= "SKETCH_OT_draw_preview";
/* api callbacks */
@@ -2931,7 +2931,7 @@
void SKETCH_OT_draw_stroke(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "draw stroke";
+ ot->name= "Draw Stroke";
ot->idname= "SKETCH_OT_draw_stroke";
/* api callbacks */
@@ -2950,7 +2950,7 @@
void SKETCH_OT_gesture(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "gesture";
+ ot->name= "Gesture";
ot->idname= "SKETCH_OT_gesture";
/* api callbacks */
Modified: trunk/blender/source/blender/editors/mesh/bmesh_select.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/bmesh_select.c 2012-02-27 18:08:31 UTC (rev 44491)
+++ trunk/blender/source/blender/editors/mesh/bmesh_select.c 2012-02-27 18:14:56 UTC (rev 44492)
@@ -1837,7 +1837,7 @@
/* api callbacks */
ot->invoke = select_linked_pick_invoke;
ot->poll = ED_operator_editmesh;
- ot->description = "select/deselect all vertices linked to the edge under the mouse cursor";
+ ot->description = "(De)select all vertices linked to the edge under the mouse cursor";
/* flags */
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO;
Modified: trunk/blender/source/blender/editors/mesh/bmesh_tools.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/bmesh_tools.c 2012-02-27 18:08:31 UTC (rev 44491)
+++ trunk/blender/source/blender/editors/mesh/bmesh_tools.c 2012-02-27 18:14:56 UTC (rev 44492)
@@ -668,7 +668,7 @@
/* identifiers */
ot->name = "Select/Deselect All";
ot->idname = "MESH_OT_select_all";
- ot->description = "(de)select all vertices, edges or faces";
+ ot->description = "(De)select all vertices, edges or faces";
/* api callbacks */
ot->exec = mesh_select_all_exec;
@@ -1017,7 +1017,7 @@
/* TODO, move dissolve into its own operator so this doesnt confuse non-dissolve options */
RNA_def_boolean(ot->srna, "use_verts", 0, "Dissolve Verts",
- "When dissolving faaces/edges, also dissolve remaining vertices");
+ "When dissolving faces/edges, also dissolve remaining vertices");
}
@@ -1318,7 +1318,7 @@
{
/* identifiers */
ot->name = "Flip Normals";
- ot->description = "Flip the direction of selected face's vertex and face normals";
+ ot->description = "Flip the direction of selected faces' normals (and of their vertices)";
ot->idname = "MESH_OT_flip_normals";
/* api callbacks */
@@ -1417,7 +1417,7 @@
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO;
/* props */
- RNA_def_enum(ot->srna, "direction", direction_items, DIRECTION_CW, "direction", "direction to rotate edge around");
+ RNA_def_enum(ot->srna, "direction", direction_items, DIRECTION_CW, "Direction", "Direction to rotate edge around");
}
/* swap is 0 or 1, if 1 it hides not selected */
@@ -2722,7 +2722,7 @@
prop = RNA_def_enum(ot->srna, "shape", shape_items, 0, "Shape", "Shape key to use for blending");
RNA_def_enum_funcs(prop, shape_itemf);
RNA_def_float(ot->srna, "blend", 1.0f, -FLT_MAX, FLT_MAX, "Blend", "Blending factor", -2.0f, 2.0f);
- RNA_def_boolean(ot->srna, "add", 1, "Add", "Add rather then blend between shapes");
+ RNA_def_boolean(ot->srna, "add", 1, "Add", "Add rather than blend between shapes");
}
/* BMESH_TODO - some way to select on an arbitrary axis */
@@ -3526,7 +3526,7 @@
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO;
prop = RNA_def_float_rotation(ot->srna, "limit", 0, NULL, 0.0f, DEG2RADF(180.0f),
- "Max Angle", "Angle Limit in Degrees", 0.0f, DEG2RADF(180.0f));
+ "Max Angle", "Angle Limit", 0.0f, DEG2RADF(180.0f));
RNA_def_property_float_default(prop, DEG2RADF(40.0f));
RNA_def_boolean(ot->srna, "uvs", 0, "Compare UVs", "");
@@ -3914,7 +3914,7 @@
{
/* identifiers */
ot->name = "Select Loose Vertices/Edges";
- ot->description = "Select vertices with edges or faces and edges with no faces";
+ ot->description = "Select vertices with no edges nor faces, and edges with no faces";
ot->idname = "MESH_OT_select_loose_verts";
/* api callbacks */
Modified: trunk/blender/source/blender/editors/space_sequencer/sequencer_add.c
===================================================================
--- trunk/blender/source/blender/editors/space_sequencer/sequencer_add.c 2012-02-27 18:08:31 UTC (rev 44491)
+++ trunk/blender/source/blender/editors/space_sequencer/sequencer_add.c 2012-02-27 18:14:56 UTC (rev 44492)
@@ -96,7 +96,7 @@
RNA_def_int(ot->srna, "channel", 1, 1, MAXSEQ, "Channel", "Channel to place this strip into", 1, MAXSEQ);
- RNA_def_boolean(ot->srna, "replace_sel", 1, "Replace Selection", "replace the current selection");
+ RNA_def_boolean(ot->srna, "replace_sel", 1, "Replace Selection", "Replace the current selection");
RNA_def_boolean(ot->srna, "overlap", 0, "Allow Overlap", "Don't correct overlap on new sequence strips");
}
Modified: trunk/blender/source/blender/editors/space_sequencer/sequencer_select.c
===================================================================
--- trunk/blender/source/blender/editors/space_sequencer/sequencer_select.c 2012-02-27 18:08:31 UTC (rev 44491)
+++ trunk/blender/source/blender/editors/space_sequencer/sequencer_select.c 2012-02-27 18:14:56 UTC (rev 44492)
@@ -705,7 +705,7 @@
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
/* properties */
- RNA_def_boolean(ot->srna, "extend", 0, "Extend", "extend the selection");
+ RNA_def_boolean(ot->srna, "extend", 0, "Extend", "Extend the selection");
}
Modified: trunk/blender/source/blender/editors/transform/transform_ops.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform_ops.c 2012-02-27 18:08:31 UTC (rev 44491)
+++ trunk/blender/source/blender/editors/transform/transform_ops.c 2012-02-27 18:14:56 UTC (rev 44492)
@@ -569,7 +569,7 @@
ot->cancel = transform_cancel;
ot->poll = ED_operator_screenactive;
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list