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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNBurn <7nburn@gmail.com>2019-01-23 23:03:09 +0300
committerNBurn <7nburn@gmail.com>2019-01-23 23:03:09 +0300
commit49c1b409286937d00a63fbf4cfb1f820a75a80c0 (patch)
treee85be0be22a3929aa28e4f3b4d3b16741eb26ebc /add_advanced_objects_panels
parent54f2341bdee0e6e5dfacd65a38740f99996efa52 (diff)
addons: add missing text= keyword after label
Diffstat (limited to 'add_advanced_objects_panels')
-rw-r--r--add_advanced_objects_panels/__init__.py28
-rw-r--r--add_advanced_objects_panels/delaunay_voronoi.py2
-rw-r--r--add_advanced_objects_panels/drop_to_ground.py32
-rw-r--r--add_advanced_objects_panels/object_laplace_lightning.py2
-rw-r--r--add_advanced_objects_panels/oscurart_constellation.py2
-rw-r--r--add_advanced_objects_panels/unfold_transition.py2
6 files changed, 34 insertions, 34 deletions
diff --git a/add_advanced_objects_panels/__init__.py b/add_advanced_objects_panels/__init__.py
index 9cc2e6fc..9e2cb030 100644
--- a/add_advanced_objects_panels/__init__.py
+++ b/add_advanced_objects_panels/__init__.py
@@ -166,11 +166,11 @@ class AdvancedObjPreferences1(AddonPreferences):
sub_box = row.box()
sub_box.prop(self, "enable_all", emboss=False,
icon="VISIBLE_IPO_ON", icon_only=True)
- row.label("Enable All")
+ row.label(text="Enable All")
row = split.row()
row.alignment = "RIGHT"
- row.label("Disable All")
+ row.label(text="Disable All")
sub_box = row.box()
sub_box.prop(self, "disable_all", emboss=False,
icon="VISIBLE_IPO_OFF", icon_only=True)
@@ -191,36 +191,36 @@ class AdvancedObjPreferences1(AddonPreferences):
op = sub.operator('wm.context_toggle', text='', icon=icon,
emboss=False)
op.data_path = 'addon_prefs.show_expanded_' + mod_name
- sub.label('{}: {}'.format(info['category'], info['name']))
+ sub.label(text='{}: {}'.format(info['category'], info['name']))
sub = row.row()
sub.alignment = 'RIGHT'
if info.get('warning'):
- sub.label('', icon='ERROR')
+ sub.label(text='', icon='ERROR')
sub.prop(self, 'use_' + mod_name, text='')
# The second stage
if expand:
if info.get('description'):
split = col.row().split(percentage=0.15)
- split.label('Description:')
- split.label(info['description'])
+ split.label(text='Description:')
+ split.label(text=info['description'])
if info.get('location'):
split = col.row().split(percentage=0.15)
- split.label('Location:')
- split.label(info['location'])
+ split.label(text='Location:')
+ split.label(text=info['location'])
if info.get('author'):
split = col.row().split(percentage=0.15)
- split.label('Author:')
- split.label(info['author'])
+ split.label(text='Author:')
+ split.label(text=info['author'])
if info.get('version'):
split = col.row().split(percentage=0.15)
- split.label('Version:')
- split.label('.'.join(str(x) for x in info['version']),
+ split.label(text='Version:')
+ split.label(text='.'.join(str(x) for x in info['version']),
translate=False)
if info.get('warning'):
split = col.row().split(percentage=0.15)
- split.label('Warning:')
- split.label(' ' + info['warning'], icon='ERROR')
+ split.label(text='Warning:')
+ split.label(text=' ' + info['warning'], icon='ERROR')
tot_row = int(bool(info.get('wiki_url')))
if tot_row:
diff --git a/add_advanced_objects_panels/delaunay_voronoi.py b/add_advanced_objects_panels/delaunay_voronoi.py
index 4494b5d5..67169ff6 100644
--- a/add_advanced_objects_panels/delaunay_voronoi.py
+++ b/add_advanced_objects_panels/delaunay_voronoi.py
@@ -110,7 +110,7 @@ class ToolsPanelDelaunay(Panel):
box = layout.box()
col = box.column(align=True)
- col.label("Point Cloud:")
+ col.label(text="Point Cloud:")
col.operator("delaunay.triangulation")
col.operator("voronoi.tesselation")
diff --git a/add_advanced_objects_panels/drop_to_ground.py b/add_advanced_objects_panels/drop_to_ground.py
index 0735f242..735af80a 100644
--- a/add_advanced_objects_panels/drop_to_ground.py
+++ b/add_advanced_objects_panels/drop_to_ground.py
@@ -308,27 +308,27 @@ class Drop_help(Operator):
def draw(self, context):
layout = self.layout
- layout.label("General Info:")
- layout.label("The Active Object has to be of a Mesh, Font,")
- layout.label("Metaball, Curve or Surface type and")
- layout.label("be at the lowest Z location")
- layout.label("The option Use Origins must be enabled to drop")
- layout.label("objects that are not of a Mesh or DupliGroup type")
- layout.label("The Active Object has to be big enough to catch them")
- layout.label("To check that, use the Orthographic Top View")
+ layout.label(text="General Info:")
+ layout.label(text="The Active Object has to be of a Mesh, Font,")
+ layout.label(text="Metaball, Curve or Surface type and")
+ layout.label(text="be at the lowest Z location")
+ layout.label(text="The option Use Origins must be enabled to drop")
+ layout.label(text="objects that are not of a Mesh or DupliGroup type")
+ layout.label(text="The Active Object has to be big enough to catch them")
+ layout.label(text="To check that, use the Orthographic Top View")
layout.separator()
- layout.label("To use:")
+ layout.label(text="To use:")
if self.is_all is False:
- layout.label("Select objects to drop")
- layout.label("Then Shift Select the object to be the ground")
- layout.label("Drops Selected Object to the Active one")
+ layout.label(text="Select objects to drop")
+ layout.label(text="Then Shift Select the object to be the ground")
+ layout.label(text="Drops Selected Object to the Active one")
else:
- layout.label("Select the ground Mesh and press Drop all")
- layout.label("The unselected Objects will be moved straight")
- layout.label("down the Z axis, so they have to be above")
- layout.label("the Selected / Active one to fall")
+ layout.label(text="Select the ground Mesh and press Drop all")
+ layout.label(text="The unselected Objects will be moved straight")
+ layout.label(text="down the Z axis, so they have to be above")
+ layout.label(text="the Selected / Active one to fall")
def execute(self, context):
return {'FINISHED'}
diff --git a/add_advanced_objects_panels/object_laplace_lightning.py b/add_advanced_objects_panels/object_laplace_lightning.py
index 15e6730f..32d7b3f4 100644
--- a/add_advanced_objects_panels/object_laplace_lightning.py
+++ b/add_advanced_objects_panels/object_laplace_lightning.py
@@ -1354,7 +1354,7 @@ class OBJECT_PT_fslg(Panel):
col = layout.column()
col.operator("object.setup_objects_operator", text="Create Setup objects")
- col.label("Origin object")
+ col.label(text="Origin object")
col.prop_search(winmgr, "OOB", context.scene, "objects")
box = layout.box()
diff --git a/add_advanced_objects_panels/oscurart_constellation.py b/add_advanced_objects_panels/oscurart_constellation.py
index dfa33269..796c38fe 100644
--- a/add_advanced_objects_panels/oscurart_constellation.py
+++ b/add_advanced_objects_panels/oscurart_constellation.py
@@ -125,7 +125,7 @@ class Constellation_Operator_Panel(Panel):
box = layout.box()
col = box.column(align=True)
- col.label("Constellation:")
+ col.label(text="Constellation:")
col.operator("mesh.constellation", text="Cross Section")
col.prop(adv_obj, "constellation_limit")
diff --git a/add_advanced_objects_panels/unfold_transition.py b/add_advanced_objects_panels/unfold_transition.py
index f832c21d..562f6a6c 100644
--- a/add_advanced_objects_panels/unfold_transition.py
+++ b/add_advanced_objects_panels/unfold_transition.py
@@ -304,7 +304,7 @@ class PanelFOLD(Panel):
col = box.column()
col.operator("object.set_up_fold", text="1. Set Up Unfold")
col.separator()
- col.label("Unfold Mode:")
+ col.label(text="Unfold Mode:")
col.prop(adv_obj, "unfold_modo")
col.prop(adv_obj, "unfold_flip")