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 /release/scripts
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 'release/scripts')
-rw-r--r--release/scripts/startup/bl_operators/uvcalc_lightmap.py2
-rw-r--r--release/scripts/startup/bl_operators/wm.py10
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py2
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_toolbar.py2
4 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_lightmap.py b/release/scripts/startup/bl_operators/uvcalc_lightmap.py
index 6ebf39af22e..3b936b2f93b 100644
--- a/release/scripts/startup/bl_operators/uvcalc_lightmap.py
+++ b/release/scripts/startup/bl_operators/uvcalc_lightmap.py
@@ -635,7 +635,7 @@ class LightMapPack(Operator):
)
PREF_IMG_PX_SIZE: IntProperty(
name="Image Size",
- description="Width and Height for the new image",
+ description="Width and height for the new image",
min=64, max=5000,
default=512,
)
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 6915d31f379..e47a27cf6e5 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -893,7 +893,7 @@ class WM_OT_url_open_preset(Operator):
(('BUG', "Bug",
"Report a bug with pre-filled version information"),
_url_from_bug),
- (('BUG_ADDON', "Add-On Bug",
+ (('BUG_ADDON', "Add-on Bug",
"Report a bug in an add-on"),
_url_from_bug_addon),
(('RELEASE_NOTES', "Release Notes",
@@ -1175,7 +1175,7 @@ rna_use_soft_limits = BoolProperty(
rna_is_overridable_library = BoolProperty(
name="Is Library Overridable",
- description="Allow the property to be overridden when the Data-Block is linked",
+ description="Allow the property to be overridden when the data-block is linked",
default=False,
)
@@ -1604,7 +1604,7 @@ class WM_OT_sysinfo(Operator):
class WM_OT_operator_cheat_sheet(Operator):
- """List all the Operators in a text-block, useful for scripting"""
+ """List all the operators in a text-block, useful for scripting"""
bl_idname = "wm.operator_cheat_sheet"
bl_label = "Operator Cheat Sheet"
@@ -1726,7 +1726,7 @@ class WM_OT_tool_set_by_index(Operator):
bl_idname = "wm.tool_set_by_index"
bl_label = "Set Tool by Index"
index: IntProperty(
- name="Index in toolbar",
+ name="Index in Toolbar",
default=0,
)
cycle: BoolProperty(
@@ -2163,7 +2163,7 @@ class WM_OT_batch_rename(Operator):
object_data_type_attrs_map = {
'MESH': ("meshes", "Mesh(es)"),
'CURVE': ("curves", "Curve(s)"),
- 'META': ("metaballs", "MetaBall(s)"),
+ 'META': ("metaballs", "Metaball(s)"),
'ARMATURE': ("armatures", "Armature(s)"),
'LATTICE': ("lattices", "Lattice(s)"),
'GPENCIL': ("grease_pencils", "Grease Pencil(s)"),
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index de4937a959a..8b404c4a306 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -867,7 +867,7 @@ class GreasePencilLayerDisplayPanel:
class GreasePencilFlipTintColors(Operator):
bl_label = "Flip Colors"
bl_idname = "gpencil.tint_flip"
- bl_description = "Switch Tint colors"
+ bl_description = "Switch tint colors"
def execute(self, context):
try:
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index 0411d5c64bc..a5354ca6bbe 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -1424,7 +1424,7 @@ class _defs_sculpt:
return dict(
idname="builtin.mask_by_color",
- label="Mask By Color",
+ label="Mask by Color",
icon="ops.sculpt.mask_by_color",
widget=None,
keymap=(),