summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-23 21:36:01 -0400
committerLex Neva <github.com@lexneva.name>2018-08-23 21:36:01 -0400
commit2fd6cb4a71daa55c93a56ee4387117a10b762c6b (patch)
treed81f8c460c36edd915bdd81ec6a21f00cd9e26fc /templates
parent8f180fb62847072aa5f8a0ae69c2816d397097f5 (diff)
parent82d7f494184a031dabc6f5318c13c477ec8052a1 (diff)
Merge branch 'lexelby/fix-inx-generation' into lexelby/pes-fixes
Diffstat (limited to 'templates')
-rw-r--r--templates/embroider.inx1
-rw-r--r--templates/layer_commands.inx4
-rw-r--r--templates/object_commands.inx7
3 files changed, 7 insertions, 5 deletions
diff --git a/templates/embroider.inx b/templates/embroider.inx
index d89b4d6f..54f3be1b 100644
--- a/templates/embroider.inx
+++ b/templates/embroider.inx
@@ -20,6 +20,7 @@
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
+ {# L10N This is used for the submenu under Extensions -> Ink/Stitch. Translate this to your language's word for its language, e.g. "EspaƱol" for the spanish translation. #}
<submenu name="{% trans %}English{% endtrans %}" />
</submenu>
</effects-menu>
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>