inkstitch/templates/layer_commands.xml

22 wiersze
886 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.{{ id_inkstitch }}.layer_commands</id>
<label>Commands will be added to the currently-selected layer.</label>
{% 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="{{ menu_inkstitch }}" translatable="no">
<submenu name="Commands" />
</submenu>
</effects-menu>
</effect>
<script>
{{ command_tag | safe }}
</script>
</inkscape-extension>