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_ui.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_ui.c')
-rw-r--r--source/blender/makesrna/intern/rna_ui.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_ui.c b/source/blender/makesrna/intern/rna_ui.c
index b86f5b789da..f9ce297d08c 100644
--- a/source/blender/makesrna/intern/rna_ui.c
+++ b/source/blender/makesrna/intern/rna_ui.c
@@ -1276,12 +1276,12 @@ static void rna_def_ui_layout(BlenderRNA *brna)
prop = RNA_def_property(srna, "ui_units_x", PROP_FLOAT, PROP_UNSIGNED);
RNA_def_property_float_funcs(prop, "rna_UILayout_units_x_get", "rna_UILayout_units_x_set", NULL);
RNA_def_property_ui_text(
- prop, "Units X", "Fixed Size along the X for items in this (sub)layout");
+ prop, "Units X", "Fixed size along the X for items in this (sub)layout");
prop = RNA_def_property(srna, "ui_units_y", PROP_FLOAT, PROP_UNSIGNED);
RNA_def_property_float_funcs(prop, "rna_UILayout_units_y_get", "rna_UILayout_units_y_set", NULL);
RNA_def_property_ui_text(
- prop, "Units Y", "Fixed Size along the Y for items in this (sub)layout");
+ prop, "Units Y", "Fixed size along the Y for items in this (sub)layout");
RNA_api_ui_layout(srna);
prop = RNA_def_property(srna, "emboss", PROP_ENUM, PROP_NONE);
@@ -1380,7 +1380,7 @@ static void rna_def_panel(BlenderRNA *brna)
RNA_def_property_pointer_sdna(prop, NULL, "runtime.custom_data_ptr");
RNA_def_property_pointer_funcs(
prop, "rna_Panel_custom_data_get", NULL, "rna_Panel_custom_data_typef", NULL);
- RNA_def_property_ui_text(prop, "Custom Data", "Panel Data");
+ RNA_def_property_ui_text(prop, "Custom Data", "Panel data");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
/* registration */
@@ -1420,7 +1420,7 @@ static void rna_def_panel(BlenderRNA *brna)
RNA_def_property_enum_sdna(prop, NULL, "type->space_type");
RNA_def_property_enum_items(prop, rna_enum_space_type_items);
RNA_def_property_flag(prop, PROP_REGISTER);
- RNA_def_property_ui_text(prop, "Space type", "The space where the panel is going to be used in");
+ RNA_def_property_ui_text(prop, "Space Type", "The space where the panel is going to be used in");
prop = RNA_def_property(srna, "bl_region_type", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "type->region_type");
@@ -1678,7 +1678,7 @@ static void rna_def_header(BlenderRNA *brna)
RNA_def_property_enum_items(prop, rna_enum_space_type_items);
RNA_def_property_flag(prop, PROP_REGISTER);
RNA_def_property_ui_text(
- prop, "Space type", "The space where the header is going to be used in");
+ prop, "Space Type", "The space where the header is going to be used in");
prop = RNA_def_property(srna, "bl_region_type", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "type->region_type");