Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYevgeny Makarov <jenkm>2020-12-24 20:07:32 +0300
committerHans Goudey <h.goudey@me.com>2020-12-24 20:07:32 +0300
commit2917f550caa9e7a3724c7597bdeaec989a339138 (patch)
treedb7de0d316ddcfb631f66e2aae147df3ec33441b /source/blender/makesrna/intern/rna_object.c
parentfe440a92e975e8865c281dcbc5326ee73940eb8c (diff)
Cleanup: Fix capitalization in various UI strings
Approximately 195 changes of capitalization to conform to MLA title style. UI labels and property names should use MLA title case, while descriptions should be capitalized like regular prose, generally with only the start of a sentence capitalized. Differential Revision: https://developer.blender.org/D9922
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r--source/blender/makesrna/intern/rna_object.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 3e8d8e10b37..e1cc5e4b991 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -2611,7 +2611,7 @@ static void rna_def_object_display(BlenderRNA *brna)
PropertyRNA *prop;
srna = RNA_def_struct(brna, "ObjectDisplay", NULL);
- RNA_def_struct_ui_text(srna, "Object Display", "Object display settings for 3d viewport");
+ RNA_def_struct_ui_text(srna, "Object Display", "Object display settings for 3D viewport");
RNA_def_struct_sdna(srna, "Object");
RNA_def_struct_nested(brna, srna, "Object");
RNA_def_struct_path_func(srna, "rna_ObjectDisplay_path");
@@ -2621,7 +2621,7 @@ static void rna_def_object_display(BlenderRNA *brna)
prop = RNA_def_property(srna, "show_shadows", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "dtx", OB_DRAW_NO_SHADOW_CAST);
RNA_def_property_boolean_default(prop, true);
- RNA_def_property_ui_text(prop, "Shadow", "Object cast shadows in the 3d viewport");
+ RNA_def_property_ui_text(prop, "Shadow", "Object cast shadows in the 3D viewport");
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL);
RNA_define_lib_overridable(false);
@@ -2686,7 +2686,7 @@ static void rna_def_object(BlenderRNA *brna)
RNA_def_property_enum_items(prop, rna_enum_object_type_items);
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_override_clear_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
- RNA_def_property_ui_text(prop, "Type", "Type of Object");
+ RNA_def_property_ui_text(prop, "Type", "Type of object");
RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_ID);
prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE);
@@ -2712,7 +2712,7 @@ static void rna_def_object(BlenderRNA *brna)
RNA_def_property_pointer_funcs(prop, NULL, "rna_Object_parent_set", NULL, NULL);
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK);
RNA_def_property_override_funcs(prop, NULL, NULL, "rna_Object_parent_override_apply");
- RNA_def_property_ui_text(prop, "Parent", "Parent Object");
+ RNA_def_property_ui_text(prop, "Parent", "Parent object");
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Object_dependency_update");
prop = RNA_def_property(srna, "parent_type", PROP_ENUM, PROP_NONE);
@@ -3339,14 +3339,14 @@ static void rna_def_object(BlenderRNA *brna)
prop = RNA_def_property(srna, "show_only_shape_key", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "shapeflag", OB_SHAPE_LOCK);
RNA_def_property_ui_text(
- prop, "Shape Key Lock", "Always show the current Shape for this Object");
+ prop, "Shape Key Lock", "Always show the current shape for this object");
RNA_def_property_ui_icon(prop, ICON_UNPINNED, 1);
RNA_def_property_update(prop, 0, "rna_Object_internal_update_data");
prop = RNA_def_property(srna, "use_shape_key_edit_mode", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "shapeflag", OB_SHAPE_EDIT_MODE);
RNA_def_property_ui_text(
- prop, "Shape Key Edit Mode", "Apply shape keys in edit mode (for Meshes only)");
+ prop, "Shape Key Edit Mode", "Apply shape keys in edit mode (for meshes only)");
RNA_def_property_ui_icon(prop, ICON_EDITMODE_HLT, 0);
RNA_def_property_update(prop, 0, "rna_Object_internal_update_data");
@@ -3393,7 +3393,7 @@ static void rna_def_object(BlenderRNA *brna)
RNA_def_property_flag(prop, PROP_NEVER_NULL);
RNA_def_property_struct_type(prop, "ObjectDisplay");
RNA_def_property_pointer_funcs(prop, "rna_Object_display_get", NULL, NULL, NULL);
- RNA_def_property_ui_text(prop, "Object Display", "Object display settings for 3d viewport");
+ RNA_def_property_ui_text(prop, "Object Display", "Object display settings for 3D viewport");
RNA_define_lib_overridable(false);