summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-23 20:53:30 -0400
committerLex Neva <github.com@lexneva.name>2018-08-23 21:05:47 -0400
commitd2f16f0666e4e294b5050a5e70449da8c23b9ea2 (patch)
treef3ca2aacb9d05351fecd12be59508b7a0dbac5f2
parent082e1664bb1dc6edfcae7aef65021109d6da28da (diff)
fix layer and object commands templates
-rw-r--r--messages.po4
-rw-r--r--templates/layer_commands.inx4
-rw-r--r--templates/object_commands.inx7
3 files changed, 8 insertions, 7 deletions
diff --git a/messages.po b/messages.po
index 093e0e35..cbb660de 100644
--- a/messages.po
+++ b/messages.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2018-08-22 14:16-0400\n"
+"POT-Creation-Date: 2018-08-23 20:56-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1118,7 +1118,7 @@ msgstr ""
#. translation.
#: templates/convert_to_satin.inx:12 templates/embroider.inx:24
#: templates/flip.inx:12 templates/install.inx:12
-#: templates/layer_commands.inx:16 templates/object_commands.inx:14
+#: templates/layer_commands.inx:16 templates/object_commands.inx:15
#: templates/params.inx:12 templates/print.inx:12 templates/simulate.inx:12
msgid "English"
msgstr ""
diff --git a/templates/layer_commands.inx b/templates/layer_commands.inx
index 17eb3d83..a6c0283c 100644
--- a/templates/layer_commands.inx
+++ b/templates/layer_commands.inx
@@ -11,11 +11,11 @@
<param name="extension" type="string" gui-hidden="true">layer_commands</param>
<effect>
<object-type>all</object-type>
- <submenu name="Ink/Stitch">
+ <effects-menu>
<submenu name="Ink/Stitch">
<submenu name="{% trans %}English{% endtrans %}" />
</submenu>
- </submenu>
+ </effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">inkstitch.py</command>
diff --git a/templates/object_commands.inx b/templates/object_commands.inx
index 5807dc47..6de2a3fc 100644
--- a/templates/object_commands.inx
+++ b/templates/object_commands.inx
@@ -5,15 +5,16 @@
<dependency type="executable" location="extensions">inkstitch.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
{% for command, description in object_commands %}
- <param name="{{ object }}" type="boolean" _gui-text="{{ _(description ) }}">false</param>
+ <param name="{{ command }}" type="boolean" _gui-text="{{ _(description ) }}">false</param>
{% endfor %}
+ <param name="extension" type="string" gui-hidden="true">object_commands</param>
<effect>
<object-type>all</object-type>
- <submenu name="Ink/Stitch">
+ <effects-menu>
<submenu name="Ink/Stitch">
<submenu name="{% trans %}English{% endtrans %}" />
</submenu>
- </submenu>
+ </effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">inkstitch.py</command>