diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-02-27 22:14:56 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-02-27 22:14:56 +0400 |
commit | 49adbe3ab8d1709979298870e981def6f69777e2 (patch) | |
tree | 249701ca4fc34a7beea2e8ae8ec576b465f8e24d /source/blender/editors | |
parent | 684a2c8dca6a93d68e62cf8c2502980548efc75c (diff) |
Various fixes to UI messages (among other things, all messages needed it should now be capitalized).
Diffstat (limited to 'source/blender/editors')
7 files changed, 20 insertions, 20 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c index 79d767be63c..00c849ed02d 100644 --- a/source/blender/editors/animation/anim_markers.c +++ b/source/blender/editors/animation/anim_markers.c @@ -1116,7 +1116,7 @@ static void MARKER_OT_select(wmOperatorType *ot) /* 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 diff --git a/source/blender/editors/armature/editarmature_sketch.c b/source/blender/editors/armature/editarmature_sketch.c index 42ec06ee1c7..41a7b20de3d 100644 --- a/source/blender/editors/armature/editarmature_sketch.c +++ b/source/blender/editors/armature/editarmature_sketch.c @@ -2839,7 +2839,7 @@ int ED_operator_sketch_mode(const bContext *C) 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_delete(wmOperatorType *ot) 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_select(wmOperatorType *ot) 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_cancel_stroke(wmOperatorType *ot) 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_convert(wmOperatorType *ot) 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_finish_stroke(wmOperatorType *ot) 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_preview(wmOperatorType *ot) 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_draw_stroke(wmOperatorType *ot) void SKETCH_OT_gesture(wmOperatorType *ot) { /* identifiers */ - ot->name= "gesture"; + ot->name= "Gesture"; ot->idname= "SKETCH_OT_gesture"; /* api callbacks */ diff --git a/source/blender/editors/mesh/bmesh_select.c b/source/blender/editors/mesh/bmesh_select.c index c57e1aecbbf..836a9f2f2b5 100644 --- a/source/blender/editors/mesh/bmesh_select.c +++ b/source/blender/editors/mesh/bmesh_select.c @@ -1837,7 +1837,7 @@ void MESH_OT_select_linked_pick(wmOperatorType *ot) /* 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; diff --git a/source/blender/editors/mesh/bmesh_tools.c b/source/blender/editors/mesh/bmesh_tools.c index 5bc40079613..7ce70f374fb 100644 --- a/source/blender/editors/mesh/bmesh_tools.c +++ b/source/blender/editors/mesh/bmesh_tools.c @@ -668,7 +668,7 @@ void MESH_OT_select_all(wmOperatorType *ot) /* 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 @@ void MESH_OT_delete(wmOperatorType *ot) /* 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 @@ void MESH_OT_flip_normals(wmOperatorType *ot) { /* 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 @@ void MESH_OT_edge_rotate(wmOperatorType *ot) 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 @@ void MESH_OT_blend_from_shape(wmOperatorType *ot) 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 @@ void MESH_OT_tris_convert_to_quads(wmOperatorType *ot) 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 @@ void MESH_OT_select_loose_verts(wmOperatorType *ot) { /* 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 */ diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c index 03fd22d1045..438016a38fa 100644 --- a/source/blender/editors/space_sequencer/sequencer_add.c +++ b/source/blender/editors/space_sequencer/sequencer_add.c @@ -96,7 +96,7 @@ static void sequencer_generic_props__internal(wmOperatorType *ot, int flag) 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"); } diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c index a6568950a01..55fc84b6707 100644 --- a/source/blender/editors/space_sequencer/sequencer_select.c +++ b/source/blender/editors/space_sequencer/sequencer_select.c @@ -705,7 +705,7 @@ void SEQUENCER_OT_select_linked_pick(wmOperatorType *ot) 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"); } diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c index f073c61194f..34ded8cdbf8 100644 --- a/source/blender/editors/transform/transform_ops.c +++ b/source/blender/editors/transform/transform_ops.c @@ -569,7 +569,7 @@ void TRANSFORM_OT_trackball(struct wmOperatorType *ot) ot->cancel = transform_cancel; ot->poll = ED_operator_screenactive; - RNA_def_float_vector(ot->srna, "value", 2, VecOne, -FLT_MAX, FLT_MAX, "angle", "", -FLT_MAX, FLT_MAX); + RNA_def_float_vector(ot->srna, "value", 2, VecOne, -FLT_MAX, FLT_MAX, "Angle", "", -FLT_MAX, FLT_MAX); Transform_Properties(ot, P_PROPORTIONAL|P_MIRROR|P_SNAP); } |