[Bf-extensions-cvs] [6024a89a] master: Sun position: remove trailing colons and capitalize props in UI

Damien Picard noreply at git.blender.org
Sat Dec 5 00:51:35 CET 2020


Commit: 6024a89ae2a5dbacb681874337e4bda2c3f86c25
Author: Damien Picard
Date:   Fri Dec 4 20:50:23 2020 +0100
Branches: master
https://developer.blender.org/rBA6024a89ae2a5dbacb681874337e4bda2c3f86c25

Sun position: remove trailing colons and capitalize props in UI

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

M	sun_position/ui_sun.py

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

diff --git a/sun_position/ui_sun.py b/sun_position/ui_sun.py
index ec58589c..49f04e33 100644
--- a/sun_position/ui_sun.py
+++ b/sun_position/ui_sun.py
@@ -84,7 +84,7 @@ class SUNPOS_PT_Panel(bpy.types.Panel):
 
     def draw_panel(self, context, sp, p, layout):
         col = self.layout.column(align=True)
-        col.label(text="Usage mode:")
+        col.label(text="Usage Mode")
         row = col.row()
         row.prop(sp, "usage_mode", expand=True)
         col.separator()
@@ -98,7 +98,7 @@ class SUNPOS_PT_Panel(bpy.types.Panel):
                              even_rows=False, align=False)
 
         col = flow.column(align=True)
-        col.label(text="Environment texture:")
+        col.label(text="Environment Texture")
 
         if context.scene.world is not None:
             if context.scene.world.node_tree is not None:
@@ -114,7 +114,7 @@ class SUNPOS_PT_Panel(bpy.types.Panel):
         col.separator()
 
         col = flow.column(align=True)
-        col.label(text="Sun object:")
+        col.label(text="Sun Object")
         col.prop_search(sp, "sun_object",
                         context.view_layer, "objects", text="")
         col.separator()
@@ -187,7 +187,7 @@ class SUNPOS_PT_Location(bpy.types.Panel):
         p = context.preferences.addons[__package__].preferences
 
         col = layout.column(align=True)
-        col.label(text="Enter coordinates:")
+        col.label(text="Enter Coordinates")
         col.prop(sp, "co_parser", text='', icon='URL')
 
         layout.separator()



More information about the Bf-extensions-cvs mailing list