Skip to content

Commit 0c655cf

Browse files
committed
Adding more context around effect parameters, and updating the POT template (a few new strings)
1 parent 57a2d8e commit 0c655cf

File tree

2 files changed

+44
-28
lines changed

2 files changed

+44
-28
lines changed

src/language/OpenShot/OpenShot.pot

+42-26
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: OpenShot Video Editor (version: 2.5.1-dev3)\n"
1010
"Report-Msgid-Bugs-To: Jonathan Thomas <[email protected]>\n"
11-
"POT-Creation-Date: 2021-08-12 17:41:57.961831\n"
11+
"POT-Creation-Date: 2021-08-13 13:39:44.486794\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Jonathan Thomas <[email protected]>\n"
1414
"Language-Team: https://translations.launchpad.net/+groups/launchpad-translators\n"
@@ -367,6 +367,14 @@ msgstr ""
367367
msgid "Show All"
368368
msgstr ""
369369

370+
#: /home/jonathan/apps/openshot-qt-git/src/windows/views/credits_treeview.py:80
371+
msgid "Copy E-mail"
372+
msgstr ""
373+
374+
#: /home/jonathan/apps/openshot-qt-git/src/windows/views/credits_treeview.py:83
375+
msgid "View Website"
376+
msgstr ""
377+
370378
#: /home/jonathan/apps/openshot-qt-git/src/windows/views/properties_tableview.py:503
371379
msgid "Detected Objects"
372380
msgstr ""
@@ -693,7 +701,7 @@ msgstr ""
693701

694702
#: /home/jonathan/apps/openshot-qt-git/src/windows/views/webview.py:537
695703
#: /home/jonathan/apps/openshot-qt-git/src/windows/views/webview.py:807
696-
#: effect_init (Effect Metadata) Settings for volume
704+
#: effect_init (Effect parameter for Example) Settings volume
697705
msgid "Volume"
698706
msgstr ""
699707

@@ -1151,6 +1159,14 @@ msgstr ""
11511159
msgid "Find directory that contains: %s"
11521160
msgstr ""
11531161

1162+
#: /home/jonathan/apps/openshot-qt-git/src/windows/views/changelog_treeview.py:71
1163+
msgid "Copy Hash"
1164+
msgstr ""
1165+
1166+
#: /home/jonathan/apps/openshot-qt-git/src/windows/views/changelog_treeview.py:73
1167+
msgid "View on GitHub"
1168+
msgstr ""
1169+
11541170
#: /home/jonathan/apps/openshot-qt-git/src/windows/video_widget.py:1224
11551171
msgid "Reset Zoom"
11561172
msgstr ""
@@ -1892,111 +1908,111 @@ msgstr ""
18921908
msgid "Example"
18931909
msgstr ""
18941910

1895-
#: effect_init (Effect Metadata)
1911+
#: effect_init (Effect parameter for Tracker)
18961912
msgid "Region"
18971913
msgstr ""
18981914

1899-
#: effect_init (Effect Metadata) Settings for blender_command
1915+
#: effect_init (Effect parameter for Example) Settings blender_command
19001916
msgid "Blender Command (path)"
19011917
msgstr ""
19021918

1903-
#: effect_init (Effect Metadata) Settings for default-samplerate
1919+
#: effect_init (Effect parameter for Example) Settings default-samplerate
19041920
msgid "Default Audio Sample Rate"
19051921
msgstr ""
19061922

1907-
#: effect_init (Effect Metadata)
1923+
#: effect_init (Effect parameter for Example)
19081924
msgid "22050"
19091925
msgstr ""
19101926

1911-
#: effect_init (Effect Metadata)
1927+
#: effect_init (Effect parameter for Example)
19121928
msgid "44100"
19131929
msgstr ""
19141930

1915-
#: effect_init (Effect Metadata)
1931+
#: effect_init (Effect parameter for Example)
19161932
msgid "48000"
19171933
msgstr ""
19181934

1919-
#: effect_init (Effect Metadata)
1935+
#: effect_init (Effect parameter for Example)
19201936
msgid "96000"
19211937
msgstr ""
19221938

1923-
#: effect_init (Effect Metadata)
1939+
#: effect_init (Effect parameter for Example)
19241940
msgid "192000"
19251941
msgstr ""
19261942

19271943
#: libopenshot (Effect Metadata)
19281944
msgid "Tracker"
19291945
msgstr ""
19301946

1931-
#: effect_init (Effect Metadata)
1947+
#: effect_init (Effect parameter for Tracker)
19321948
msgid "Tracker type"
19331949
msgstr ""
19341950

1935-
#: effect_init (Effect Metadata)
1951+
#: effect_init (Effect parameter for Tracker)
19361952
msgid "KCF"
19371953
msgstr ""
19381954

1939-
#: effect_init (Effect Metadata)
1955+
#: effect_init (Effect parameter for Tracker)
19401956
msgid "MIL"
19411957
msgstr ""
19421958

1943-
#: effect_init (Effect Metadata)
1959+
#: effect_init (Effect parameter for Tracker)
19441960
msgid "BOOSTING"
19451961
msgstr ""
19461962

1947-
#: effect_init (Effect Metadata)
1963+
#: effect_init (Effect parameter for Tracker)
19481964
msgid "TLD"
19491965
msgstr ""
19501966

1951-
#: effect_init (Effect Metadata)
1967+
#: effect_init (Effect parameter for Tracker)
19521968
msgid "MEDIANFLOW"
19531969
msgstr ""
19541970

1955-
#: effect_init (Effect Metadata)
1971+
#: effect_init (Effect parameter for Tracker)
19561972
msgid "MOSSE"
19571973
msgstr ""
19581974

1959-
#: effect_init (Effect Metadata)
1975+
#: effect_init (Effect parameter for Tracker)
19601976
msgid "CSRT"
19611977
msgstr ""
19621978

19631979
#: libopenshot (Effect Metadata)
19641980
msgid "Stabilizer"
19651981
msgstr ""
19661982

1967-
#: effect_init (Effect Metadata)
1983+
#: effect_init (Effect parameter for Stabilizer)
19681984
msgid "Smoothing window"
19691985
msgstr ""
19701986

19711987
#: libopenshot (Effect Metadata)
19721988
msgid "Object Detector"
19731989
msgstr ""
19741990

1975-
#: effect_init (Effect Metadata)
1991+
#: effect_init (Effect parameter for Object Detector)
19761992
msgid "Click here for instructions and dependencies..."
19771993
msgstr ""
19781994

1979-
#: effect_init (Effect Metadata)
1995+
#: effect_init (Effect parameter for Object Detector)
19801996
msgid "Model Weights"
19811997
msgstr ""
19821998

1983-
#: effect_init (Effect Metadata)
1999+
#: effect_init (Effect parameter for Object Detector)
19842000
msgid "Model Config"
19852001
msgstr ""
19862002

1987-
#: effect_init (Effect Metadata)
2003+
#: effect_init (Effect parameter for Object Detector)
19882004
msgid "Class names"
19892005
msgstr ""
19902006

1991-
#: effect_init (Effect Metadata)
2007+
#: effect_init (Effect parameter for Object Detector)
19922008
msgid "Processing Device"
19932009
msgstr ""
19942010

1995-
#: effect_init (Effect Metadata)
2011+
#: effect_init (Effect parameter for Object Detector)
19962012
msgid "GPU"
19972013
msgstr ""
19982014

1999-
#: effect_init (Effect Metadata)
2015+
#: effect_init (Effect parameter for Object Detector)
20002016
msgid "CPU"
20012017
msgstr ""
20022018

src/language/generate_translations.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,10 @@
202202
effects_text[effect] = "effect_init (Effect Metadata)"
203203
for param in effect_options[effect]:
204204
if "title" in param:
205-
effects_text[param["title"]] = "effect_init (Effect Metadata)"
205+
effects_text[param["title"]] = "effect_init (Effect parameter for %s)" % effect
206206
if "values" in param:
207207
for value in param["values"]:
208-
effects_text[value["name"]] = "effect_init (Effect Metadata)"
208+
effects_text[value["name"]] = "effect_init (Effect parameter for %s)" % effect
209209

210210
# Append Effect Meta Data
211211
e = openshot.EffectInfo()

0 commit comments

Comments
 (0)