diff options
author | Bastien Montagne <bastien@blender.org> | 2020-12-07 12:57:08 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-12-07 12:57:27 +0300 |
commit | 2072134faadf4fd901c88ed7440e2289d61e0299 (patch) | |
tree | 418ebfecf1fa54237454d76bd303db390a65a8b8 /source | |
parent | 7d2745f8b3bf2db6edcf6af388ef4958ebd2f1b8 (diff) |
UI: Fix mistakes in UI messages.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_edit.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_mask.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_pose.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_edit.c | 8 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index a183c34fd9d..95c94f8cfed 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -3577,7 +3577,7 @@ static int gpencil_stroke_join_exec(bContext *C, wmOperator *op) if (tot_strokes == max_join_strokes) { BKE_reportf(op->reports, RPT_WARNING, - "Too many strokes selected. Only joined first %d strokes.", + "Too many strokes selected, only joined first %d strokes", max_join_strokes); break; } diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c index 11d897cf76f..17690757fa5 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -335,7 +335,7 @@ static void sculpt_gesture_operator_properties(wmOperatorType *ot) false, "Limit to Segment", "Apply the gesture action only to the area that is contained within the " - "segement without extending its effect to the entire line"); + "segment without extending its effect to the entire line"); } static void sculpt_gesture_context_init_common(bContext *C, diff --git a/source/blender/editors/sculpt_paint/sculpt_pose.c b/source/blender/editors/sculpt_paint/sculpt_pose.c index 4b318a05591..1bf9ba60073 100644 --- a/source/blender/editors/sculpt_paint/sculpt_pose.c +++ b/source/blender/editors/sculpt_paint/sculpt_pose.c @@ -1197,7 +1197,7 @@ void SCULPT_do_pose_brush(Sculpt *sd, Object *ob, PBVHNode **nodes, int totnode) quat_to_mat4(ik_chain->segments[i].trans_mat[symm_it], symm_rot); } - /* Apply segement scale to the transform. */ + /* Apply segment scale to the transform. */ for (int scale_i = 0; scale_i < 3; scale_i++) { mul_v3_fl(ik_chain->segments[i].trans_mat[symm_it][scale_i], ik_chain->segments[i].scale[scale_i]); diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index 1647fd4a6a6..ae34cd6cf6d 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -1903,7 +1903,7 @@ static int graphkeys_euler_filter_exec(bContext *C, wmOperator *op) if (curves_seen < 3) { /* Showing the entire error message makes no sense when the artist is only trying to filter * one or two curves. */ - BKE_report(op->reports, RPT_WARNING, "No Euler Rotations could be corrected."); + BKE_report(op->reports, RPT_WARNING, "No Euler Rotations could be corrected"); } else { BKE_report(op->reports, @@ -1919,15 +1919,15 @@ static int graphkeys_euler_filter_exec(bContext *C, wmOperator *op) BLI_assert(curves_filtered < curves_seen); BKE_reportf(op->reports, RPT_INFO, - "%d of %d rotation channels were filtered. See the Info window for details.", + "%d of %d rotation channels were filtered (see the Info window for details)", curves_filtered, curves_seen); } else if (curves_seen == 1) { - BKE_report(op->reports, RPT_INFO, "The rotation channel was filtered."); + BKE_report(op->reports, RPT_INFO, "The rotation channel was filtered"); } else { - BKE_reportf(op->reports, RPT_INFO, "All %d rotation channels were filtered.", curves_seen); + BKE_reportf(op->reports, RPT_INFO, "All %d rotation channels were filtered", curves_seen); } /* Set notifier that keyframes have changed. */ diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index ac45cd5c5ff..4313b468deb 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -1408,7 +1408,7 @@ static void rna_def_strip_transform(BlenderRNA *brna) prop = RNA_def_property(srna, "rotation", PROP_FLOAT, PROP_ANGLE); RNA_def_property_float_sdna(prop, NULL, "rotation"); - RNA_def_property_ui_text(prop, "Rotation", "Rotate around image centr"); + RNA_def_property_ui_text(prop, "Rotation", "Rotate around image center"); RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SequenceTransform_update"); RNA_def_struct_path_func(srna, "rna_SequenceTransform_path"); |