diff options
Diffstat (limited to 'templates/layer_commands.inx')
| -rw-r--r-- | templates/layer_commands.inx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/layer_commands.inx b/templates/layer_commands.inx index 7eadd094..e04d2540 100644 --- a/templates/layer_commands.inx +++ b/templates/layer_commands.inx @@ -1,16 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> - <_name>Add Layer Commands</_name> + <name>{% trans %}Add Layer Commands{% endtrans %}</name> <id>org.inkstitch.layer_commands</id> <dependency type="executable" location="extensions">inkstitch.py</dependency> <dependency type="executable" location="extensions">inkex.py</dependency> - <param name="description" type="description">Commands will be added to the currently-selected layer.</param> - <param name="ignore_layer" type="boolean" _gui-text="Ignore layer (do not stitch any objects in this layer)">false</param> + <param name="description" type="description">{% trans %}Commands will be added to the currently-selected layer.{% endtrans %}</param> + {% for command, description in layer_commands %} + <param name="{{ command }}" type="boolean" gui-text="{{ _(description) }}">false</param> + {% endfor %} <param name="extension" type="string" gui-hidden="true">layer_commands</param> <effect> <object-type>all</object-type> <effects-menu> - <submenu _name="Embroidery" /> + <submenu name="Ink/Stitch" /> </effects-menu> </effect> <script> |
