[Bf-blender-cvs] [024a4da6b34] master: Fix various typos and other UI messages issues.

Bastien Montagne noreply at git.blender.org
Fri Apr 22 16:19:11 CEST 2022


Commit: 024a4da6b347fc755a88a3d06ecf43c7fdf101ed
Author: Bastien Montagne
Date:   Fri Apr 22 16:18:43 2022 +0200
Branches: master
https://developer.blender.org/rB024a4da6b347fc755a88a3d06ecf43c7fdf101ed

Fix various typos and other UI messages issues.

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

M	release/scripts/modules/bl_i18n_utils/settings.py
M	release/scripts/modules/bl_i18n_utils/utils_spell_check.py
M	release/scripts/startup/bl_ui/properties_data_armature.py
M	source/blender/editors/io/io_obj.c
M	source/blender/editors/sculpt_paint/sculpt.c

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

diff --git a/release/scripts/modules/bl_i18n_utils/settings.py b/release/scripts/modules/bl_i18n_utils/settings.py
index a398299aa56..58e7486b39b 100644
--- a/release/scripts/modules/bl_i18n_utils/settings.py
+++ b/release/scripts/modules/bl_i18n_utils/settings.py
@@ -299,6 +299,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
     "ascii",
     "author",                        # Addons' field. :/
     "bItasc",
+    "color_index is invalid",
     "cos(A)",
     "cosh(A)",
     "dbl-",                          # Compacted for 'double', for keymap items.
@@ -355,6 +356,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
     # Sub-strings.
     "all",
     "all and invert unselected",
+    "and AMD driver version 22.10 or newer",
     "and AMD Radeon Pro 21.Q4 driver or newer",
     "and NVIDIA driver version 470 or newer",
     "available with",
@@ -389,11 +391,14 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
     "normal",
     "or AMD with macOS 12.3 or newer",
     "performance impact!",
+    "read",
+    "remove",
     "right",
     "selected",
     "selected and lock unselected",
     "selected and unlock unselected",
     "the lazy dog",
+    "this legacy pose library to pose assets",
     "to the top level of the tree",
     "unable to load movie clip",
     "unable to load text",
@@ -410,8 +415,8 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
     "verts only",
     "view",
     "virtual parents",
-    "and NVIDIA driver version 470 or newer",
-    "and AMD driver version ??? or newer",
+    "which was replaced by the Asset Browser",
+    "write",
 }
 WARN_MSGID_NOT_CAPITALIZED_ALLOWED |= set(lng[2] for lng in LANGUAGES)
 
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 c0e065bf050..31b9705e45c 100644
--- a/release/scripts/modules/bl_i18n_utils/utils_spell_check.py
+++ b/release/scripts/modules/bl_i18n_utils/utils_spell_check.py
@@ -136,6 +136,7 @@ class SpellChecker:
         "inscatter", "inscattering",
         "libdata",
         "lightcache",
+        "lightgroup", "lightgroups",
         "lightprobe", "lightprobes",
         "lightless",
         "lineset",
@@ -394,9 +395,11 @@ class SpellChecker:
         "bitangent",
         "boid", "boids",
         "ceil",
+        "centum",  # From 'centum weight'
         "compressibility",
         "coplanar",
         "curvilinear",
+        "dekameter", "dekameters",
         "equiangular",
         "equisolid",
         "euler", "eulers",
@@ -414,8 +417,11 @@ class SpellChecker:
         "lambertian",
         "laplacian",
         "metadata",
+        "microwatt", "microwatts",
+        "milliwatt", "milliwatts",
         "msgfmt",
         "nand", "xnor",
+        "nanowatt", "nanowatts",
         "normals",
         "numpad",
         "octahedral",
@@ -662,6 +668,7 @@ class SpellChecker:
 
         # Acronyms
         "aa", "msaa",
+        "acescg", # ACEScg color space.
         "ao",
         "aov", "aovs",
         "api",
diff --git a/release/scripts/startup/bl_ui/properties_data_armature.py b/release/scripts/startup/bl_ui/properties_data_armature.py
index bb2491d7720..58ccaffaf50 100644
--- a/release/scripts/startup/bl_ui/properties_data_armature.py
+++ b/release/scripts/startup/bl_ui/properties_data_armature.py
@@ -174,7 +174,7 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, Panel):
 
         col = layout.column(align=True)
         col.label(text="This panel is a remainder of the old pose library,")
-        col.label(text="which was replaced by the Asset Browser.")
+        col.label(text="which was replaced by the Asset Browser")
 
         url = self.get_manual_url()
         col.operator("wm.url_open", text="More Info", icon='URL').url = url
@@ -193,7 +193,7 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, Panel):
                              text="Convert to Pose Assets", icon='ASSET_MANAGER')
             else:
                 col.label(text="Enable the Pose Library add-on to convert", icon='ERROR')
-                col.label(text="this legacy pose library to pose assets.", icon='BLANK1')
+                col.label(text="this legacy pose library to pose assets", icon='BLANK1')
 
             # Put the deprecated stuff in its own sub-layout.
 
diff --git a/source/blender/editors/io/io_obj.c b/source/blender/editors/io/io_obj.c
index beed4abd52b..3345d422bd1 100644
--- a/source/blender/editors/io/io_obj.c
+++ b/source/blender/editors/io/io_obj.c
@@ -438,7 +438,7 @@ void WM_OT_obj_import(struct wmOperatorType *ot)
       0.0f,
       1000.0f,
       "Clamp Bounding Box",
-      "Resize the objects to keep bounding box under this value. Value 0 diables clamping",
+      "Resize the objects to keep bounding box under this value. Value 0 disables clamping",
       0.0f,
       1000.0f);
   RNA_def_enum(ot->srna,
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 62f672ed383..93a60b9908e 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -5252,10 +5252,10 @@ bool SCULPT_handles_colors_report(SculptSession *ss, ReportList *reports)
     case PBVH_FACES:
       return true;
     case PBVH_BMESH:
-      BKE_report(reports, RPT_ERROR, "Not supported in dynamic topology mode.");
+      BKE_report(reports, RPT_ERROR, "Not supported in dynamic topology mode");
       return false;
     case PBVH_GRIDS:
-      BKE_report(reports, RPT_ERROR, "Not supported in multiresolution mode.");
+      BKE_report(reports, RPT_ERROR, "Not supported in multiresolution mode");
       return false;
   }



More information about the Bf-blender-cvs mailing list