Various UI messages fixes and tweaks.

This commit is contained in:
2021-02-22 15:48:54 +01:00
parent bc851700a6
commit dd2e0150ae
5 changed files with 7 additions and 5 deletions

View File

@@ -353,6 +353,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
"wav", "wav",
"wmOwnerID '%s' not in workspace '%s'", "wmOwnerID '%s' not in workspace '%s'",
"y", "y",
"y = (Ax + B)",
# Sub-strings. # Sub-strings.
"available with", "available with",
"brown fox", "brown fox",

View File

@@ -645,6 +645,7 @@ class SpellChecker:
# Acronyms # Acronyms
"aa", "msaa", "aa", "msaa",
"ao", "ao",
"aov", "aovs",
"api", "api",
"apic", # Affine Particle-In-Cell "apic", # Affine Particle-In-Cell
"asc", "cdl", "asc", "cdl",

View File

@@ -795,7 +795,7 @@ static void limits_panel_draw(const bContext *C, Panel *panel)
/* Minimums. */ /* Minimums. */
col = uiLayoutColumn(layout, false); col = uiLayoutColumn(layout, false);
row = uiLayoutRowWithHeading(col, true, IFACE_("Minumum X")); row = uiLayoutRowWithHeading(col, true, IFACE_("Minimum X"));
uiItemR(row, ptr, "use_min_x", 0, "", ICON_NONE); uiItemR(row, ptr, "use_min_x", 0, "", ICON_NONE);
sub = uiLayoutColumn(row, true); sub = uiLayoutColumn(row, true);
uiLayoutSetActive(sub, RNA_boolean_get(ptr, "use_min_x")); uiLayoutSetActive(sub, RNA_boolean_get(ptr, "use_min_x"));

View File

@@ -9078,7 +9078,7 @@ static void def_geo_collection_info(StructRNA *srna)
0, 0,
"Relative", "Relative",
"Bring the input collection geometry into the modified object, maintaining the relative " "Bring the input collection geometry into the modified object, maintaining the relative "
"position between the objects in the scene."}, "position between the objects in the scene"},
{0, NULL, 0, NULL, NULL}, {0, NULL, 0, NULL, NULL},
}; };

View File

@@ -7277,16 +7277,16 @@ static void rna_def_scene_eevee(BlenderRNA *brna)
RNA_def_property_boolean_sdna(prop, NULL, "flag", SCE_EEVEE_DOF_JITTER); RNA_def_property_boolean_sdna(prop, NULL, "flag", SCE_EEVEE_DOF_JITTER);
RNA_def_property_ui_text(prop, RNA_def_property_ui_text(prop,
"Jitter Camera", "Jitter Camera",
"Jitter camera position to create accurate bluring " "Jitter camera position to create accurate blurring "
"using render samples"); "using render samples");
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL); RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
prop = RNA_def_property(srna, "bokeh_overblur", PROP_FLOAT, PROP_PERCENTAGE); prop = RNA_def_property(srna, "bokeh_overblur", PROP_FLOAT, PROP_PERCENTAGE);
RNA_def_property_ui_text(prop, RNA_def_property_ui_text(prop,
"Overblur", "Over-blur",
"Apply blur to each jittered sample to reduce " "Apply blur to each jittered sample to reduce "
"undersampling artifacts"); "under-sampling artifacts");
RNA_def_property_range(prop, 0, 100); RNA_def_property_range(prop, 0, 100);
RNA_def_property_ui_range(prop, 0.0f, 20.0f, 1, 1); RNA_def_property_ui_range(prop, 0.0f, 20.0f, 1, 1);
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);