[Bf-extensions-cvs] [f1c61ad0] master: Spellcheck: Capitalize words in displayed text

Pullusb noreply at git.blender.org
Tue Oct 6 20:47:58 CEST 2020


Commit: f1c61ad0426d1207c89836a691af7c6523bd3bf3
Author: Pullusb
Date:   Tue Oct 6 20:47:38 2020 +0200
Branches: master
https://developer.blender.org/rBAf1c61ad0426d1207c89836a691af7c6523bd3bf3

Spellcheck: Capitalize words in displayed text

Title cased words for sidebar's Tab category and addon preferences properties.
Changed description field.

===================================================================

M	greasepencil_tools/__init__.py
M	greasepencil_tools/prefs.py
M	greasepencil_tools/ui_panels.py

===================================================================

diff --git a/greasepencil_tools/__init__.py b/greasepencil_tools/__init__.py
index d42b24c5..c99b30de 100644
--- a/greasepencil_tools/__init__.py
+++ b/greasepencil_tools/__init__.py
@@ -19,11 +19,11 @@
 
 bl_info = {
 "name": "Grease Pencil Tools",
-"description": "Pack of tools for Grease pencil drawing",
+"description": "Extra tools for Grease Pencil",
 "author": "Samuel Bernou, Antonio Vazquez, Daniel Martinez Lara, Matias Mendiola",
-"version": (1, 1, 2),
+"version": (1, 1, 3),
 "blender": (2, 91, 0),
-"location": "Sidebar > Grease pencil > Grease pencil",
+"location": "Sidebar > Grease Pencil > Grease Pencil Tools",
 "warning": "",
 "doc_url": "https://docs.blender.org/manual/en/dev/addons/object/grease_pencil_tools.html",
 "tracker_url": "https://github.com/Pullusb/greasepencil-addon/issues",
diff --git a/greasepencil_tools/prefs.py b/greasepencil_tools/prefs.py
index 81434136..4c146220 100644
--- a/greasepencil_tools/prefs.py
+++ b/greasepencil_tools/prefs.py
@@ -54,7 +54,7 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences):
     category : StringProperty(
             name="Category",
             description="Choose a name for the category of the panel",
-            default="Grease pencil",
+            default="Grease Pencil",
             update=update_panel)
 
     pref_tabs : EnumProperty(
@@ -74,7 +74,7 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences):
         items=(('KEY_LINEAR', "Linear (perspective mode)", "Linear interpolation, like corner deform / perspective tools of classic 2D", 'IPO_LINEAR',0),
                ('KEY_BSPLINE', "Spline (smooth deform)", "Spline interpolation transformation\nBest when lattice is subdivided", 'IPO_CIRC',1),
                ),
-        name='Starting interpolation', default='KEY_LINEAR', description='Choose default interpolation when entering mode')
+        name='Starting Interpolation', default='KEY_LINEAR', description='Choose default interpolation when entering mode')
     
     # About interpolation : https://docs.blender.org/manual/en/2.83/animation/shape_keys/shape_keys_panel.html#fig-interpolation-type
 
@@ -142,7 +142,7 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences):
 
                 ## BOX DEFORM
                 box = layout.box()
-                box.label(text='Box deform:')
+                box.label(text='Box Deform:')
                 box.prop(self, "use_clic_drag")
                 # box.separator()
                 box.prop(self, "default_deform_type")
@@ -155,7 +155,7 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences):
                 box = layout.box()
                 box.label(text='Rotate canvas:')
 
-                box.prop(self, "canvas_use_shortcut", text='Bind shortcuts')
+                box.prop(self, "canvas_use_shortcut", text='Bind Shortcuts')
 
                 if self.canvas_use_shortcut:
                     
@@ -181,7 +181,7 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences):
 
                 #**Behavior from context mode**
                 col = layout.column()
-                col.label(text='Box deform tool')
+                col.label(text='Box Deform Tool')
                 col.label(text="Usage:", icon='MOD_LATTICE')
                 col.label(text="Use the shortcut 'Ctrl+T' in available modes (listed below)")
                 col.label(text="The lattice box is generated facing your view (be sure to face canvas if you want to stay on it)")
diff --git a/greasepencil_tools/ui_panels.py b/greasepencil_tools/ui_panels.py
index ecbc9a24..715c4db5 100644
--- a/greasepencil_tools/ui_panels.py
+++ b/greasepencil_tools/ui_panels.py
@@ -19,10 +19,10 @@
 import bpy
 
 class GP_PT_sidebarPanel(bpy.types.Panel):
-    bl_label = "Grease Pencil tools"
+    bl_label = "Grease Pencil Tools"
     bl_space_type = "VIEW_3D"
     bl_region_type = "UI"
-    bl_category = "Grease pencil"
+    bl_category = "Grease Pencil"
 
     def draw(self, context):
         layout = self.layout



More information about the Bf-extensions-cvs mailing list