UI: Fix mistakes in UI messages.

This commit is contained in:
Bastien Montagne 2020-12-07 10:57:08 +01:00
parent 7d2745f8b3
commit 2072134faa
6 changed files with 13 additions and 9 deletions

View File

@ -80,7 +80,8 @@ class SpellChecker:
"autoexecution",
"autogenerated",
"autolock",
"automasking",
"automask", "automasking",
"automerge",
"autoname",
"autopack",
"autosave",
@ -143,6 +144,7 @@ class SpellChecker:
"midlevel",
"midground",
"mixdown",
"monospaced",
"multi",
"multifractal",
"multiframe",
@ -464,6 +466,7 @@ class SpellChecker:
"eigenvectors",
"emissive",
"equirectangular",
"filmlike",
"fisheye",
"framerate",
"gimbal",
@ -642,6 +645,7 @@ class SpellChecker:
"aa", "msaa",
"ao",
"api",
"apic", # Affine Particle-In-Cell
"asc", "cdl",
"ascii",
"atrac",

View File

@ -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;
}

View File

@ -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,

View File

@ -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]);

View File

@ -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. */

View File

@ -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");