[Bf-blender-cvs] [2072134faad] master: UI: Fix mistakes in UI messages.

Bastien Montagne noreply at git.blender.org
Mon Dec 7 10:57:32 CET 2020


Commit: 2072134faadf4fd901c88ed7440e2289d61e0299
Author: Bastien Montagne
Date:   Mon Dec 7 10:57:08 2020 +0100
Branches: master
https://developer.blender.org/rB2072134faadf4fd901c88ed7440e2289d61e0299

UI: Fix mistakes in UI messages.

===================================================================

M	release/scripts/modules/bl_i18n_utils/utils_spell_check.py
M	source/blender/editors/gpencil/gpencil_edit.c
M	source/blender/editors/sculpt_paint/paint_mask.c
M	source/blender/editors/sculpt_paint/sculpt_pose.c
M	source/blender/editors/space_graph/graph_edit.c
M	source/blender/makesrna/intern/rna_sequencer.c

===================================================================

diff --git a/release/scripts/modules/bl_i18n_utils/utils_spell_check.py b/release/scripts/modules/bl_i18n_utils/utils_spell_check.py
index 05985cac868..b1f72408a45 100644
--- a/release/scripts/modules/bl_i18n_utils/utils_spell_check.py
+++ b/release/scripts/modules/bl_i18n_utils/utils_spell_check.py
@@ -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",
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");



More information about the Bf-blender-cvs mailing list