summaryrefslogtreecommitdiff
path: root/templates/embroider.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/embroider.inx
parent871358d990d4a06b2eaaf0e405f2d18e26753d52 (diff)
generate INX files for all languages
Diffstat (limited to 'templates/embroider.inx')
-rw-r--r--templates/embroider.inx14
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/embroider.inx b/templates/embroider.inx
index f4a78d73..d89b4d6f 100644
--- a/templates/embroider.inx
+++ b/templates/embroider.inx
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>{% trans %}Embroider{% endtrans %}</name>
- <id>org.inkstitch.embroider</id>
+ <id>org.inkstitch.embroider.{{ locale }}</id>
<dependency type="executable" location="extensions">inkstitch.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
- <param name="collapse_len_mm" type="float" min="0.0" max="10.0" gui-text="{% trans %}Collapse length (mm){% endtrans %}" gui-description="{% trans %}Jump stitches smaller than this will be treated as normal stitches.{% endtrans %}">3.0</param>
- <param name="hide_layers" type="boolean" gui-text="{% trans %}Hide other layers{% endtrans %}" gui-description="{% trans %}Hide all other top-level layers when the embroidery layer is generated, in order to make stitching discernible.{% endtrans %}">true</param>
- <param name="output_format" type="optiongroup" gui-text="{% trans %}Output file format{% endtrans %}" appearance="minimal">
+ <param name="collapse_len_mm" type="float" min="0.0" max="10.0" _gui-text="{% trans %}Collapse length (mm){% endtrans %}" _gui-description="{% trans %}Jump stitches smaller than this will be treated as normal stitches.{% endtrans %}">3.0</param>
+ <param name="hide_layers" type="boolean" _gui-text="{% trans %}Hide other layers{% endtrans %}" _gui-description="{% trans %}Hide all other top-level layers when the embroidery layer is generated, in order to make stitching discernible.{% endtrans %}">true</param>
+ <param name="output_format" type="optiongroup" _gui-text="{% trans %}Output file format{% endtrans %}" appearance="minimal">
{% for format, description in formats %}
<_option value="{{ format }}">{{ _(description) }} ({{ format | upper }})</_option>
{% endfor %}
@@ -14,12 +14,14 @@
<_option value="{{ format }}">{{ _(description) }} ({{ format | upper }}) [{{ _("DEBUG") }}]</_option>
{% endfor %}
</param>
- <param name="path" type="string" gui-text="{% trans %}Directory{% endtrans %}" gui-description="{% trans %}Leave empty to save the output in Inkscape's extension directory.{% endtrans %}"></param>
+ <param name="path" type="string" _gui-text="{% trans %}Directory{% endtrans %}" _gui-description="{% trans %}Leave empty to save the output in Inkscape's extension directory.{% endtrans %}"></param>
<param name="extension" type="string" gui-hidden="true">embroider</param>
<effect>
<object-type>all</object-type>
<effects-menu>
- <submenu name="Ink/Stitch"/>
+ <submenu name="Ink/Stitch">
+ <submenu name="{% trans %}English{% endtrans %}" />
+ </submenu>
</effects-menu>
</effect>
<script>