UI: Fix and improve a few messages
- "Export additional animationsThis feature..." -> Add period and
newline to separate sentences.
- "name from laoded image" -> "Name from loaded image": typo.
- "Duplicate Active Keyframe (All Layer)" -> "All Layers": grammar.
- "%s is no directory" -> "%s is not a directory": grammar.
- "Can't ensure directory: %s" -> "Cannot", see HIG.
- "Duplicate active Frame(s)": title case.
- "Delete active keyframes of all layer" -> "... layers": grammar.
- "Grease Pencil group color tag": title case.
- "color tag": title case.
- "Bake all line art modifiers" -> "... Line Art...": title case for
product name
- "... imported USD files.Export remaining..." -> "... imported USD
files.\nExport remaining...": missing newline.
- "Premanently delete brush. This can't be undo." -> "Permanently
delete brush. This cannot be undone.": typos.
- "Samplerate" -> "Sample Rate": use more correct two-word form.
- Decimate Keyframe operator: rename and rephrase a property to better
reflect what it does.
- "Remove" -> "Factor"
- "The ratio of remaining keyframes after the operation" ->
"The ratio of keyframes to remove"
- "Add a repository referencing an remote repository" -> "an": typo.
- "... unique within the Action.This is used..." -> "... unique within
the Action.\nThis is used...": missing newline.
- "Threashold in screen space ... within this threashold " ->
"Threshold in screen space ... within this threshold ": typo
- "... occluded by other faces (Slower performance)" -> ... (slower
performance): no need for the capital here.
- "Indices must be sorted in acending order" -> "ascending": typo.
- "Enable the new Overlay code-base" -> "codebase": typo.
- "dectected by plane tracks" -> "detected": typo.
- "the same index can occure" -> "occur": typo.
- "Single element geometry..." -> "Single-element": spelling.
- "it can be quite inefficient to splitup large geometries" -> "split
up": spelling.
- "If true, true gizmo is displayed..." -> "the gizmo": typo.
Some issues reported by Tamuna Mebonia.
Pull Request: https://projects.blender.org/blender/blender/pulls/129001
This commit is contained in:
committed by
Hans Goudey
parent
22a2ecb4ef
commit
9b78b8d1ed
@@ -975,7 +975,7 @@ class ExportGLTF2_Base(ConvertGLTF2_Base):
|
||||
export_extra_animations: BoolProperty(
|
||||
name='Prepare extra animations',
|
||||
description=(
|
||||
'Export additional animations'
|
||||
'Export additional animations.\n'
|
||||
'This feature is not standard and needs an external extension to be included in the glTF file'
|
||||
),
|
||||
default=False
|
||||
|
||||
@@ -1091,7 +1091,7 @@ class IMAGE_OT_convert_to_mesh_plane(MaterialProperties_MixIn, TextureProperties
|
||||
name="Name After",
|
||||
items=[
|
||||
('OBJECT', "Source Object", "Name after object source with a suffix"),
|
||||
('IMAGE', "Source Image", "name from laoded image"),
|
||||
('IMAGE', "Source Image", "Name from loaded image"),
|
||||
],
|
||||
default='OBJECT',
|
||||
description="Name for new mesh object and material",
|
||||
|
||||
@@ -5623,11 +5623,11 @@ class VIEW3D_MT_edit_greasepencil_animation(Menu):
|
||||
|
||||
layout.separator()
|
||||
layout.operator("grease_pencil.frame_duplicate", text="Duplicate Active Keyframe (Active Layer)").all = False
|
||||
layout.operator("grease_pencil.frame_duplicate", text="Duplicate Active Keyframe (All Layer)").all = True
|
||||
layout.operator("grease_pencil.frame_duplicate", text="Duplicate Active Keyframe (All Layers)").all = True
|
||||
|
||||
layout.separator()
|
||||
layout.operator("grease_pencil.active_frame_delete", text="Delete Active Keyframe (Active Layer)").all = False
|
||||
layout.operator("grease_pencil.active_frame_delete", text="Delete Active Keyframe (All Layer)").all = True
|
||||
layout.operator("grease_pencil.active_frame_delete", text="Delete Active Keyframe (All Layers)").all = True
|
||||
|
||||
|
||||
class VIEW3D_MT_edit_greasepencil_showhide(Menu):
|
||||
|
||||
@@ -24,7 +24,7 @@ static Vector<NodesModifierBakeFile> pack_files_from_directory(const StringRefNu
|
||||
ReportList *reports)
|
||||
{
|
||||
if (!BLI_is_dir(directory.c_str())) {
|
||||
BKE_reportf(reports, RPT_ERROR, "%s is no directory", directory.c_str());
|
||||
BKE_reportf(reports, RPT_ERROR, "%s is not a directory", directory.c_str());
|
||||
return {};
|
||||
}
|
||||
|
||||
@@ -82,13 +82,13 @@ bool unpack_bake_to_disk(const NodesModifierPackedBake &packed_bake,
|
||||
char file_path[FILE_MAX];
|
||||
BLI_path_join(file_path, sizeof(file_path), directory.c_str(), bake_file.name);
|
||||
if (!BLI_file_ensure_parent_dir_exists(file_path)) {
|
||||
BKE_reportf(reports, RPT_ERROR, "Can't ensure directory: %s", directory.c_str());
|
||||
BKE_reportf(reports, RPT_ERROR, "Cannot ensure directory: %s", directory.c_str());
|
||||
return false;
|
||||
}
|
||||
fstream fs(file_path, std::ios::out);
|
||||
fs.write(static_cast<const char *>(bake_file.packed_file->data), bake_file.packed_file->size);
|
||||
if (fs.bad()) {
|
||||
BKE_reportf(reports, RPT_ERROR, "Can't write file : %s", file_path);
|
||||
BKE_reportf(reports, RPT_ERROR, "Cannot write file: %s", file_path);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -842,7 +842,7 @@ static int grease_pencil_frame_duplicate_exec(bContext *C, wmOperator *op)
|
||||
static void GREASE_PENCIL_OT_frame_duplicate(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Duplicate active Frame(s)";
|
||||
ot->name = "Duplicate Active Frame(s)";
|
||||
ot->idname = "GREASE_PENCIL_OT_frame_duplicate";
|
||||
ot->description = "Make a copy of the active Grease Pencil frame(s)";
|
||||
|
||||
@@ -898,7 +898,7 @@ static int grease_pencil_active_frame_delete_exec(bContext *C, wmOperator *op)
|
||||
static void GREASE_PENCIL_OT_active_frame_delete(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Delete active Frame(s)";
|
||||
ot->name = "Delete Active Frame(s)";
|
||||
ot->idname = "GREASE_PENCIL_OT_active_frame_delete";
|
||||
ot->description = "Delete the active Grease Pencil frame(s)";
|
||||
|
||||
@@ -909,7 +909,7 @@ static void GREASE_PENCIL_OT_active_frame_delete(wmOperatorType *ot)
|
||||
/* flags */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
|
||||
RNA_def_boolean(ot->srna, "all", false, "Delete all", "Delete active keyframes of all layer");
|
||||
RNA_def_boolean(ot->srna, "all", false, "Delete all", "Delete active keyframes of all layers");
|
||||
}
|
||||
|
||||
} // namespace blender::ed::greasepencil
|
||||
|
||||
@@ -976,7 +976,7 @@ static int grease_pencil_layer_group_color_tag_exec(bContext *C, wmOperator *op)
|
||||
static void GREASE_PENCIL_OT_layer_group_color_tag(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Grease Pencil group color tag";
|
||||
ot->name = "Grease Pencil Group Color Tag";
|
||||
ot->idname = "GREASE_PENCIL_OT_layer_group_color_tag";
|
||||
ot->description = "Change layer group icon";
|
||||
|
||||
@@ -985,7 +985,7 @@ static void GREASE_PENCIL_OT_layer_group_color_tag(wmOperatorType *ot)
|
||||
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
ot->prop = RNA_def_enum(ot->srna, "color_tag", enum_layergroup_color_items, 0, "color tag", "");
|
||||
ot->prop = RNA_def_enum(ot->srna, "color_tag", enum_layergroup_color_items, 0, "Color Tag", "");
|
||||
}
|
||||
|
||||
enum class DuplicateCopyMode {
|
||||
|
||||
@@ -509,7 +509,7 @@ static void OBJECT_OT_lineart_bake_strokes(wmOperatorType *ot)
|
||||
ot->exec = lineart_bake_strokes_exec;
|
||||
ot->modal = lineart_bake_strokes_common_modal;
|
||||
|
||||
RNA_def_boolean(ot->srna, "bake_all", false, "Bake All", "Bake all line art modifiers");
|
||||
RNA_def_boolean(ot->srna, "bake_all", false, "Bake All", "Bake all Line Art modifiers");
|
||||
}
|
||||
|
||||
static void OBJECT_OT_lineart_clear(wmOperatorType *ot)
|
||||
|
||||
@@ -162,7 +162,7 @@ const EnumPropertyItem rna_enum_usd_tex_export_mode_items[] = {
|
||||
"PRESERVE",
|
||||
0,
|
||||
"Preserve",
|
||||
"Preserve file paths of textures from already imported USD files."
|
||||
"Preserve file paths of textures from already imported USD files.\n"
|
||||
"Export remaining textures to a 'textures' folder next to the USD file"},
|
||||
{USD_TEX_EXPORT_NEW_PATH,
|
||||
"NEW",
|
||||
|
||||
@@ -694,8 +694,8 @@ static int brush_asset_delete_invoke(bContext *C, wmOperator *op, const wmEvent
|
||||
op,
|
||||
IFACE_("Delete Brush Asset"),
|
||||
ID_IS_LINKED(brush) ?
|
||||
IFACE_("Permanently delete brush asset blend file. This can't be undone.") :
|
||||
IFACE_("Premanently delete brush. This can't be undo."),
|
||||
IFACE_("Permanently delete brush asset blend file. This cannot be undone.") :
|
||||
IFACE_("Permanently delete brush. This cannot be undone."),
|
||||
IFACE_("Delete"),
|
||||
ALERT_ICON_WARNING,
|
||||
false);
|
||||
|
||||
@@ -749,8 +749,8 @@ static void SOUND_OT_mixdown(wmOperatorType *ot)
|
||||
48000,
|
||||
8000,
|
||||
192000,
|
||||
"Samplerate",
|
||||
"Samplerate in samples/s",
|
||||
"Sample Rate",
|
||||
"Sample rate in samples/s",
|
||||
8000,
|
||||
192000);
|
||||
RNA_def_int(ot->srna, "bitrate", 192, 32, 512, "Bitrate", "Bitrate in kbit/s", 32, 512);
|
||||
|
||||
@@ -626,8 +626,8 @@ void GRAPH_OT_decimate(wmOperatorType *ot)
|
||||
1.0f / 3.0f,
|
||||
0.0f,
|
||||
1.0f,
|
||||
"Remove",
|
||||
"The ratio of remaining keyframes after the operation",
|
||||
"Factor",
|
||||
"The ratio of keyframes to remove",
|
||||
0.0f,
|
||||
1.0f);
|
||||
RNA_def_float(ot->srna,
|
||||
|
||||
@@ -477,7 +477,7 @@ static void PREFERENCES_OT_extension_repo_add(wmOperatorType *ot)
|
||||
"REMOTE",
|
||||
ICON_INTERNET,
|
||||
"Add Remote Repository",
|
||||
"Add a repository referencing an remote repository "
|
||||
"Add a repository referencing a remote repository "
|
||||
"with support for listing and updating extensions"},
|
||||
{int(bUserExtensionRepoAddType::Local),
|
||||
"LOCAL",
|
||||
|
||||
@@ -1985,7 +1985,7 @@ static void rna_def_action_slot(BlenderRNA *brna)
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Slot Handle",
|
||||
"Number specific to this Slot, unique within the Action"
|
||||
"Number specific to this Slot, unique within the Action.\n"
|
||||
"This is used, for example, on a ActionKeyframeStrip to look up the "
|
||||
"ActionChannelBag for this Slot");
|
||||
|
||||
|
||||
@@ -1501,7 +1501,7 @@ static void rna_def_gpencil_options(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Simplify",
|
||||
"Threashold in screen space used for the simplify algorithm. Points within this threashold "
|
||||
"Threshold in screen space used for the simplify algorithm. Points within this threshold "
|
||||
"are treated as if they were in a straight line.");
|
||||
RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, ParameterFlag(0));
|
||||
RNA_def_property_update(prop, 0, "rna_BrushGpencilSettings_update");
|
||||
@@ -3394,7 +3394,7 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Occlusion",
|
||||
"Only affect vertices that are not occluded by other faces (Slower performance)");
|
||||
"Only affect vertices that are not occluded by other faces (slower performance)");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop = RNA_def_property(srna, "automasking_view_normal_limit", PROP_FLOAT, PROP_ANGLE);
|
||||
|
||||
@@ -55,7 +55,7 @@ bool rna_CurvesGeometry_remove_curves(blender::bke::CurvesGeometry &curves,
|
||||
return false;
|
||||
}
|
||||
if (!std::is_sorted(indices.begin(), indices.end())) {
|
||||
BKE_report(reports, RPT_ERROR, "Indices must be sorted in acending order");
|
||||
BKE_report(reports, RPT_ERROR, "Indices must be sorted in ascending order");
|
||||
return false;
|
||||
}
|
||||
if (std::adjacent_find(indices.begin(), indices.end(), std::greater_equal<int>()) !=
|
||||
@@ -105,7 +105,7 @@ bool rna_CurvesGeometry_resize_curves(blender::bke::CurvesGeometry &curves,
|
||||
return false;
|
||||
}
|
||||
if (!std::is_sorted(indices.begin(), indices.end())) {
|
||||
BKE_report(reports, RPT_ERROR, "Indices must be sorted in acending order");
|
||||
BKE_report(reports, RPT_ERROR, "Indices must be sorted in ascending order");
|
||||
return false;
|
||||
}
|
||||
if (std::adjacent_find(indices.begin(), indices.end(), std::greater_equal<int>()) !=
|
||||
|
||||
@@ -869,7 +869,7 @@ static void rna_def_sculpt(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Occlusion",
|
||||
"Only affect vertices that are not occluded by other faces (Slower performance)");
|
||||
"Only affect vertices that are not occluded by other faces (slower performance)");
|
||||
RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, nullptr);
|
||||
|
||||
prop = RNA_def_property(srna, "automasking_start_normal_limit", PROP_FLOAT, PROP_ANGLE);
|
||||
|
||||
@@ -1595,7 +1595,7 @@ static void rna_def_trackingTrack(BlenderRNA *brna)
|
||||
prop, nullptr, "algorithm_flag", TRACK_ALGORITHM_FLAG_USE_NORMALIZATION);
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Normalize", "Normalize light intensities while tracking (Slower)");
|
||||
prop, "Normalize", "Normalize light intensities while tracking (slower)");
|
||||
RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, nullptr);
|
||||
|
||||
/* markers */
|
||||
|
||||
@@ -7551,7 +7551,7 @@ static void rna_def_userdef_experimental(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "enable_overlay_next", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, nullptr, "enable_overlay_next", 1);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Overlay Next", "Enable the new Overlay code-base, requires restart");
|
||||
prop, "Overlay Next", "Enable the new Overlay codebase, requires restart");
|
||||
|
||||
prop = RNA_def_property(srna, "enable_new_cpu_compositor", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, nullptr, "enable_new_cpu_compositor", 1);
|
||||
|
||||
@@ -194,7 +194,7 @@ DefNode(CompositorNode, CMP_NODE_NORMAL, 0, "NOR
|
||||
DefNode(CompositorNode, CMP_NODE_NORMALIZE, 0, "NORMALIZE", Normalize, "Normalize", "Map values to 0 to 1 range, based on the minimum and maximum pixel values")
|
||||
DefNode(CompositorNode, CMP_NODE_OUTPUT_FILE, 0, "OUTPUT_FILE", OutputFile, "File Output", "Write image file to disk")
|
||||
DefNode(CompositorNode, CMP_NODE_PIXELATE, def_cmp_pixelate, "PIXELATE", Pixelate, "Pixelate", "Reduce detail in an image by making individual pixels more prominent, for a blocky or mosaic-like appearance")
|
||||
DefNode(CompositorNode, CMP_NODE_PLANETRACKDEFORM,def_cmp_planetrackdeform,"PLANETRACKDEFORM", PlaneTrackDeform, "Plane Track Deform", "Replace flat planes in footage by another image, dectected by plane tracks from motion tracking")
|
||||
DefNode(CompositorNode, CMP_NODE_PLANETRACKDEFORM,def_cmp_planetrackdeform,"PLANETRACKDEFORM", PlaneTrackDeform, "Plane Track Deform", "Replace flat planes in footage by another image, detected by plane tracks from motion tracking")
|
||||
DefNode(CompositorNode, CMP_NODE_POSTERIZE, 0, "POSTERIZE", Posterize, "Posterize", "Reduce number of colors in an image, converting smooth gradients into sharp transitions")
|
||||
DefNode(CompositorNode, CMP_NODE_PREMULKEY, def_cmp_premul_key, "PREMULKEY", PremulKey, "Alpha Convert", "Convert to and from premultiplied (associated) alpha")
|
||||
DefNode(CompositorNode, CMP_NODE_R_LAYERS, def_cmp_render_layers, "R_LAYERS", RLayers, "Render Layers", "Input render passes from a scene render")
|
||||
|
||||
@@ -118,13 +118,13 @@ static void node_declare(NodeDeclarationBuilder &b)
|
||||
nullptr;
|
||||
|
||||
b.add_output<decl::Int>("Index").description(
|
||||
"Index of the element in the source geometry. Note that the same index can occure more than "
|
||||
"Index of the element in the source geometry. Note that the same index can occur more than "
|
||||
"once when iterating over multiple components at once");
|
||||
|
||||
b.add_output<decl::Geometry>("Element")
|
||||
.description(
|
||||
"Single element geometry for the current iteration. Note that it can be quite "
|
||||
"inefficient to splitup large geometries into many small geometries")
|
||||
"Single-element geometry for the current iteration. Note that it can be quite "
|
||||
"inefficient to split up large geometries into many small geometries")
|
||||
.propagate_all()
|
||||
.available(output_storage && AttrDomain(output_storage->domain) != AttrDomain::Corner);
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ static void node_declare(NodeDeclarationBuilder &b)
|
||||
b.add_input<decl::Bool>("Screen Space")
|
||||
.default_value(true)
|
||||
.description(
|
||||
"If true, true gizmo is displayed in screen space. Otherwise it's in object space");
|
||||
"If true, the gizmo is displayed in screen space. Otherwise it's in object space");
|
||||
b.add_input<decl::Float>("Radius").default_value(1.0f);
|
||||
b.add_output<decl::Geometry>("Transform");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user