inkstitch/templates/layer_commands.xml

22 wiersze
905 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Add Layer Commands</name>
<id>org.inkstitch.layer_commands</id>
<param name="description" type="description">Commands will be added to the currently-selected layer.</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="Ink/Stitch" translatable="no">
<submenu name="Commands" />
</submenu>
</effects-menu>
</effect>
<script>
{{ command_tag | safe }}
</script>
</inkscape-extension>