Fix various typos and other UI messages issues.

This commit is contained in:
Bastien Montagne 2022-04-22 16:18:43 +02:00
parent 535c9308ef
commit 024a4da6b3
5 changed files with 19 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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

View File

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