UI: Fix and improve a few messages
- "Show the result of running commands in the main interface...": add
punctuation.
- "Re-Installed" -> "Reinstalled" seems more common.
- "increase_" and "decrease_subdivision" in the Grease Pencil
modal...: use title case instead of snake case for label.
- "Use a automatic number..." -> "an", typo.
- "... points,{} splines": missing space.
- "End Frame is larger than Start Frame": wrong order in error message.
- "Approximate the object as sphere, which diameter is equal to
thickness the defined...": grammar.
- "Show Seconds" -> "Use Timecode": this option is not necessarily about
seconds. Suggested by Pablo Vasquez.
- Brightness and contrast node input descriptions: add missing spaces.
- "Gamma controls the relative intensity... full white.": remove
trailing ".".
Pull Request: https://projects.blender.org/blender/blender/pulls/122972
This commit is contained in:
committed by
Hans Goudey
parent
6dfed3a021
commit
de139dd7e4
@@ -56,8 +56,8 @@ class BlExtPreferences(AddonPreferences):
|
||||
show_development_reports: BoolProperty(
|
||||
name="Show Development Reports",
|
||||
description=(
|
||||
"Show the result of running commands in the main interface "
|
||||
"this has the advantage that multiple processes that run at once have their errors properly grouped "
|
||||
"Show the result of running commands in the main interface. "
|
||||
"This has the advantage that multiple processes that run at once have their errors properly grouped, "
|
||||
"which is not the case for reports which are mixed together"
|
||||
),
|
||||
default=False,
|
||||
|
||||
@@ -2439,7 +2439,7 @@ class subcmd_client:
|
||||
directories_to_clean.remove(filepath_local_pkg_temp)
|
||||
|
||||
if is_reinstall:
|
||||
message_status(msg_fn, "Re-Installed \"{:s}\"".format(manifest.id))
|
||||
message_status(msg_fn, "Reinstalled \"{:s}\"".format(manifest.id))
|
||||
else:
|
||||
message_status(msg_fn, "Installed \"{:s}\"".format(manifest.id))
|
||||
|
||||
|
||||
@@ -1457,12 +1457,12 @@ void ED_primitivetool_modal_keymap(wmKeyConfig *keyconf)
|
||||
{int(ModalKeyMode::IncreaseSubdivision),
|
||||
"INCREASE_SUBDIVISION",
|
||||
0,
|
||||
"increase_subdivision",
|
||||
"Increase Subdivision",
|
||||
""},
|
||||
{int(ModalKeyMode::DecreaseSubdivision),
|
||||
"DECREASE_SUBDIVISION",
|
||||
0,
|
||||
"decrease_subdivision",
|
||||
"Decrease Subdivision",
|
||||
""},
|
||||
{0, nullptr, 0, nullptr, nullptr},
|
||||
};
|
||||
|
||||
@@ -237,7 +237,7 @@ void SCULPT_OT_mask_filter(wmOperatorType *ot)
|
||||
"auto_iteration_count",
|
||||
true,
|
||||
"Auto Iteration Count",
|
||||
"Use a automatic number of iterations based on the number of vertices of the sculpt");
|
||||
"Use an automatic number of iterations based on the number of vertices of the sculpt");
|
||||
}
|
||||
|
||||
} // namespace blender::ed::sculpt_paint::mask
|
||||
|
||||
@@ -1521,7 +1521,7 @@ static void create_inspection_string_for_geometry_info(const geo_log::GeometryIn
|
||||
case bke::GeometryComponent::Type::Curve: {
|
||||
const geo_log::GeometryInfoLog::CurveInfo &curve_info = *value_log.curve_info;
|
||||
fmt::format_to(fmt::appender(buf),
|
||||
TIP_("\u2022 Curve: {} points,{} splines"),
|
||||
TIP_("\u2022 Curve: {} points, {} splines"),
|
||||
to_string(curve_info.points_num),
|
||||
to_string(curve_info.splines_num));
|
||||
break;
|
||||
|
||||
@@ -77,7 +77,7 @@ static void rna_FCurve_bake(FCurve *fcu,
|
||||
if (start_frame >= end_frame) {
|
||||
BKE_reportf(reports,
|
||||
RPT_ERROR,
|
||||
"Invalid frame range (%d - %d). End Frame is larger than Start Frame",
|
||||
"Invalid frame range (%d - %d). Start Frame is larger than End Frame",
|
||||
start_frame,
|
||||
end_frame);
|
||||
return;
|
||||
|
||||
@@ -836,8 +836,8 @@ void RNA_def_material(BlenderRNA *brna)
|
||||
"SPHERE",
|
||||
0,
|
||||
"Sphere",
|
||||
"Approximate the object as sphere, which diameter is equal to thickness the defined by the "
|
||||
"node tree"},
|
||||
"Approximate the object as a sphere whose diameter is equal to the thickness defined by "
|
||||
"the node tree"},
|
||||
{MA_THICKNESS_SLAB,
|
||||
"SLAB",
|
||||
0,
|
||||
|
||||
@@ -6086,7 +6086,7 @@ static void rna_def_space_sequencer(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "show_seconds", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, nullptr, "flag", SEQ_DRAWFRAMES);
|
||||
RNA_def_property_ui_text(prop, "Show Seconds", "Show timing in seconds not frames");
|
||||
RNA_def_property_ui_text(prop, "Use Timecode", "Show timing as a timecode instead of frames");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, nullptr);
|
||||
|
||||
prop = RNA_def_property(srna, "show_markers", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -6420,7 +6420,7 @@ static void rna_def_space_dopesheet(BlenderRNA *brna)
|
||||
/* display */
|
||||
prop = RNA_def_property(srna, "show_seconds", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, nullptr, "flag", SACTION_DRAWTIME);
|
||||
RNA_def_property_ui_text(prop, "Show Seconds", "Show timing in seconds not frames");
|
||||
RNA_def_property_ui_text(prop, "Use Timecode", "Show timing as a timecode instead of frames");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_DOPESHEET, nullptr);
|
||||
|
||||
prop = RNA_def_property(srna, "show_sliders", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -6568,7 +6568,7 @@ static void rna_def_space_graph(BlenderRNA *brna)
|
||||
/* display */
|
||||
prop = RNA_def_property(srna, "show_seconds", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, nullptr, "flag", SIPO_DRAWTIME);
|
||||
RNA_def_property_ui_text(prop, "Show Seconds", "Show timing in seconds not frames");
|
||||
RNA_def_property_ui_text(prop, "Use Timecode", "Show timing as a timecode instead of frames");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_GRAPH, nullptr);
|
||||
|
||||
prop = RNA_def_property(srna, "show_sliders", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -6692,7 +6692,7 @@ static void rna_def_space_nla(BlenderRNA *brna)
|
||||
/* display */
|
||||
prop = RNA_def_property(srna, "show_seconds", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, nullptr, "flag", SNLA_DRAWTIME);
|
||||
RNA_def_property_ui_text(prop, "Show Seconds", "Show timing in seconds not frames");
|
||||
RNA_def_property_ui_text(prop, "Use Timecode", "Show timing as a timecode instead of frames");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_NLA, nullptr);
|
||||
|
||||
prop = RNA_def_property(srna, "show_strip_curves", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -8124,7 +8124,7 @@ static void rna_def_space_clip(BlenderRNA *brna)
|
||||
/* timeline */
|
||||
prop = RNA_def_property(srna, "show_seconds", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, nullptr, "flag", SC_SHOW_SECONDS);
|
||||
RNA_def_property_ui_text(prop, "Show Seconds", "Show timing in seconds not frames");
|
||||
RNA_def_property_ui_text(prop, "Use Timecode", "Show timing as a timecode instead of frames");
|
||||
RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, nullptr);
|
||||
|
||||
/* grease pencil source */
|
||||
|
||||
@@ -13,7 +13,7 @@ static void node_declare(NodeDeclarationBuilder &b)
|
||||
.description("Color input on which correction will be applied");
|
||||
b.add_input<decl::Float>("Bright").default_value(0.0f).min(-100.0f).max(100.0f).description(
|
||||
"Brightness correction value.\n"
|
||||
"An additive-type factor by which to increase the overall brightness of the image."
|
||||
"An additive-type factor by which to increase the overall brightness of the image. "
|
||||
"Use a negative number to darken an image, and a positive number to brighten it");
|
||||
b.add_input<decl::Float>("Contrast")
|
||||
.default_value(0.0f)
|
||||
@@ -22,7 +22,7 @@ static void node_declare(NodeDeclarationBuilder &b)
|
||||
.description(
|
||||
"Contrast correction value.\n"
|
||||
"A scaling type factor by which to make brighter pixels brighter, but keeping the "
|
||||
"darker pixels dark."
|
||||
"darker pixels dark. "
|
||||
"Use a negative number to decrease contrast, and a positive number to increase it");
|
||||
b.add_output<decl::Color>("Color");
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ static void node_declare(NodeDeclarationBuilder &b)
|
||||
.description(
|
||||
"Gamma correction value\n"
|
||||
"Gamma controls the relative intensity of the mid-tones compared to the full black and "
|
||||
"full white.");
|
||||
"full white");
|
||||
b.add_output<decl::Color>("Color");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user