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 /sequencer_kinoraw_tools
parent54f2341bdee0e6e5dfacd65a38740f99996efa52 (diff)
addons: add missing text= keyword after label
Diffstat (limited to 'sequencer_kinoraw_tools')
-rw-r--r--sequencer_kinoraw_tools/proxy_tools.py8
-rw-r--r--sequencer_kinoraw_tools/random_editor.py2
-rw-r--r--sequencer_kinoraw_tools/recursive_loader.py4
-rw-r--r--sequencer_kinoraw_tools/ui.py8
4 files changed, 11 insertions, 11 deletions
diff --git a/sequencer_kinoraw_tools/proxy_tools.py b/sequencer_kinoraw_tools/proxy_tools.py
index 10a83344..e36bf0d0 100644
--- a/sequencer_kinoraw_tools/proxy_tools.py
+++ b/sequencer_kinoraw_tools/proxy_tools.py
@@ -285,7 +285,7 @@ class CreateProxyToolPanel(Panel):
if prefs.use_bi_custom_directory:
row.prop(prefs, "proxy_dir", text="")
filename = strip.filepath.rpartition("/")[2].rpartition(".")[0]
- layout.label("sample dir: //" + bpy.path.abspath(prefs.proxy_dir + filename))
+ layout.label(text="sample dir: //" + bpy.path.abspath(prefs.proxy_dir + filename))
layout = self.layout
col = layout.column()
@@ -299,7 +299,7 @@ class CreateProxyToolPanel(Panel):
col.prop(prefs, "timecode")
layout = self.layout
- layout.label("Setup and create BI proxy:")
+ layout.label(text="Setup and create BI proxy:")
row = layout.row(align=True)
for i in range(4):
@@ -316,13 +316,13 @@ class CreateProxyToolPanel(Panel):
layout.prop(prefs, "proxy_dir", text="Path for proxies")
layout = self.layout
- layout.label("Create and import proxy from clip:")
+ layout.label(text="Create and import proxy from clip:")
row = layout.row(align=True)
layout = self.layout
layout.prop(prefs, "ffmpeg_command", text="command")
- layout.label("{} = filename, with, height, fileoutput")
+ layout.label(text="{} = filename, with, height, fileoutput")
label = prefs.ffmpeg_command.format("filename", "with", "height", "fileoutput")
layout.label(label)
diff --git a/sequencer_kinoraw_tools/random_editor.py b/sequencer_kinoraw_tools/random_editor.py
index 4e739ff3..654136fd 100644
--- a/sequencer_kinoraw_tools/random_editor.py
+++ b/sequencer_kinoraw_tools/random_editor.py
@@ -133,6 +133,6 @@ class RandomEditorPanel(Panel):
layout = self.layout
col = layout.column(align=True)
- col.label("Cut duration:")
+ col.label(text="Cut duration:")
col.prop(prefs, "random_frames")
col.operator("sequencer.randomscratchoperator")
diff --git a/sequencer_kinoraw_tools/recursive_loader.py b/sequencer_kinoraw_tools/recursive_loader.py
index abc51b6d..246e1b70 100644
--- a/sequencer_kinoraw_tools/recursive_loader.py
+++ b/sequencer_kinoraw_tools/recursive_loader.py
@@ -250,7 +250,7 @@ class ExifInfoPanel(Panel):
row = col.row()
col.label(text=d)
col = split.column()
- col.label(str(sce['metadata'][0][d]))
+ col.label(text=str(sce['metadata'][0][d]))
else:
for d in sce['metadata'][frame - f]:
split = layout.split(percentage=0.5)
@@ -258,7 +258,7 @@ class ExifInfoPanel(Panel):
row = col.row()
col.label(text=d)
col = split.column()
- col.label(str(sce['metadata'][frame - f][d]))
+ col.label(text=str(sce['metadata'][frame - f][d]))
except (IndexError, KeyError):
pass
diff --git a/sequencer_kinoraw_tools/ui.py b/sequencer_kinoraw_tools/ui.py
index 2729bef9..8f073fbc 100644
--- a/sequencer_kinoraw_tools/ui.py
+++ b/sequencer_kinoraw_tools/ui.py
@@ -29,7 +29,7 @@ class SEQUENCER_EXTRA_MT_input(Menu):
bl_label = "Input"
def draw(self, context):
- self.layout.label("Kinoraw Input")
+ self.layout.label(text="Kinoraw Input")
self.layout.separator()
self.layout.operator_context = "INVOKE_REGION_WIN"
@@ -378,14 +378,14 @@ class JumptoCut(Panel):
else:
row = layout.row(align=True)
- row.label("Snap:")
+ row.label(text="Snap:")
row.operator("sequencerextra.extrasnap", text="Left", icon="SNAP_ON").align = 0
row.operator("sequencerextra.extrasnap", text="Center", icon="SNAP_SURFACE").align = 1
row.operator("sequencerextra.extrasnap", text="Right", icon="SNAP_ON").align = 2
row = layout.row(align=True)
- row.label("Handlers:")
+ row.label(text="Handlers:")
row.operator("sequencerextra.extrahandles",
text="Left", icon="TRIA_LEFT").side = 0
row.operator("sequencerextra.extrahandles",
@@ -591,7 +591,7 @@ class JumptoCut(Panel):
sub.operator("screen.animation_play", text="", icon='PAUSE' if
context.screen.is_animation_playing else 'PLAY')
- row.label("Cut To")
+ row.label(text="Cut To")
for i in range(1, strip.channel):
row.operator("sequencer.cut_multicam", text="%d" % i).camera = i