Cleanup: Fix a few messages in the UI #105473

Merged
Hans Goudey merged 1 commits from pioverfour/blender:dp_fix_messages into blender-v3.5-release 2023-03-05 23:16:38 +01:00
9 changed files with 11 additions and 11 deletions

View File

@ -249,7 +249,7 @@ def align_uv_rotation(context, method, axis):
class AlignUVRotation(Operator):
"""Align uv island's rotation"""
"""Align the UV island's rotation"""
bl_idname = "uv.align_rotation"
bl_label = "Align Rotation"
bl_options = {'REGISTER', 'UNDO'}
@ -382,7 +382,7 @@ def randomize_uv_transform(context, transform_params):
class RandomizeUVTransform(Operator):
"""Randomize uv island's location, rotation, and scale"""
"""Randomize the UV island's location, rotation, and scale"""
bl_idname = "uv.randomize_uv_transform"
bl_label = "Randomize"
bl_options = {'REGISTER', 'UNDO'}

View File

@ -657,7 +657,7 @@ void OBJECT_OT_hook_add_selob(wmOperatorType *ot)
"use_bone",
false,
"Active Bone",
"Assign the hook to the hook objects active bone");
"Assign the hook to the hook object's active bone");
}
static int object_add_hook_newob_exec(bContext *C, wmOperator *op)

View File

@ -6985,7 +6985,7 @@ void PAINT_OT_add_simple_uvs(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add Simple UVs";
ot->description = "Add cube map uvs on mesh";
ot->description = "Add cube map UVs on mesh";
ot->idname = "PAINT_OT_add_simple_uvs";
/* api callbacks */

View File

@ -2861,7 +2861,7 @@ static const EnumPropertyItem outliner_lib_op_type_items[] = {
"DELETE",
ICON_X,
"Delete",
"Delete this library and all its item.\n"
"Delete this library and all its items.\n"
"Warning: No undo"},
{OL_LIB_RELOCATE,
"RELOCATE",

View File

@ -41,7 +41,7 @@ const EnumPropertyItem rna_enum_object_greasepencil_modifier_type_items[] = {
"GP_TEXTURE",
ICON_MOD_UVPROJECT,
"Texture Mapping",
"Change stroke uv texture values"},
"Change stroke UV texture values"},
{eGpencilModifierType_Time, "GP_TIME", ICON_MOD_TIME, "Time Offset", "Offset keyframes"},
{eGpencilModifierType_WeightAngle,
"GP_WEIGHT_ANGLE",
@ -1031,7 +1031,7 @@ static void rna_def_modifier_gpencilnoise(BlenderRNA *brna)
RNA_def_property_float_sdna(prop, NULL, "factor_uvs");
RNA_def_property_range(prop, 0.0, FLT_MAX);
RNA_def_property_ui_range(prop, 0.0, 1.0, 0.1, 2);
RNA_def_property_ui_text(prop, "UV Factor", "Amount of noise to apply uv rotation");
RNA_def_property_ui_text(prop, "UV Factor", "Amount of noise to apply to UV rotation");
RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
prop = RNA_def_property(srna, "use_random", PROP_BOOLEAN, PROP_NONE);

View File

@ -3065,7 +3065,7 @@ static void rna_def_mloopuv(BlenderRNA *brna)
prop = RNA_def_property(srna, "pin", PROP_COLLECTION, PROP_NONE);
RNA_def_property_struct_type(prop, "BoolAttributeValue");
RNA_def_property_ui_text(prop, "UV Pin", "UV pinned state in the uv editor");
RNA_def_property_ui_text(prop, "UV Pin", "UV pinned state in the UV editor");
RNA_def_property_collection_funcs(prop,
"rna_MeshUVLoopLayer_pin_begin",
"rna_iterator_array_next",

View File

@ -4928,7 +4928,7 @@ static void rna_def_modifier_uvwarp(BlenderRNA *brna)
PropertyRNA *prop;
srna = RNA_def_struct(brna, "UVWarpModifier", "Modifier");
RNA_def_struct_ui_text(srna, "UVWarp Modifier", "Add target position to uv coordinates");
RNA_def_struct_ui_text(srna, "UVWarp Modifier", "Add target position to UV coordinates");
RNA_def_struct_sdna(srna, "UVWarpModifierData");
RNA_def_struct_ui_icon(srna, ICON_MOD_UVPROJECT);

View File

@ -1150,7 +1150,7 @@ static void rna_def_collision(BlenderRNA *brna)
prop = RNA_def_property(srna, "use", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "deflect", 1);
RNA_def_property_ui_text(
prop, "Enabled", "Enable this objects as a collider for physics systems");
prop, "Enabled", "Enable this object as a collider for physics systems");
RNA_def_property_update(prop, 0, "rna_CollisionSettings_dependency_update");
/* Particle Interaction */

View File

@ -3608,7 +3608,7 @@ static void rna_def_space_image_uv(BlenderRNA *brna)
prop = RNA_def_property(srna, "show_texpaint", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SI_NO_DRAW_TEXPAINT);
RNA_def_property_ui_text(
prop, "Display Texture Paint UVs", "Display overlay of texture paint uv layer");
prop, "Display Texture Paint UVs", "Display overlay of texture paint UV layer");
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL);
prop = RNA_def_property(srna, "show_pixel_coords", PROP_BOOLEAN, PROP_NONE);