summaryrefslogtreecommitdiff
path: root/templates/object_commands.inx
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-20 20:42:02 -0400
committerLex Neva <github.com@lexneva.name>2018-08-20 20:42:02 -0400
commita2cad1f522074b84895897632ac69dcb5deda340 (patch)
treebac168dd8ba5b70537bc4c0c1cfa9f8257855791 /templates/object_commands.inx
parent871358d990d4a06b2eaaf0e405f2d18e26753d52 (diff)
generate INX files for all languages
Diffstat (limited to 'templates/object_commands.inx')
-rw-r--r--templates/object_commands.inx14
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/object_commands.inx b/templates/object_commands.inx
index 71f9d0b3..024a694b 100644
--- a/templates/object_commands.inx
+++ b/templates/object_commands.inx
@@ -1,17 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Attach Commands{% endtrans %}</name>
- <id>org.inkstitch.commands</id>
+ <name>{% trans %}Attach Commands{% endtrans %}</_name>
+ <id>org.inkstitch.commands.{{ locale }}</id>
<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="{{ object }}" type="boolean" _gui-text="{{ _(description ) }}">false</param>
{% endfor %}
<effect>
<object-type>all</object-type>
- <effects-menu>
- <submenu name="Ink/Stitch" />
- </effects-menu>
+ <submenu name="Ink/Stitch">
+ <submenu name="Ink/Stitch">
+ <submenu name="{% trans %}English{% endtrans %}" />
+ </submenu>
+ </submenu>
</effect>
<script>
<command reldir="extensions" interpreter="python">inkstitch.py</command>