inkstitch/templates/object_commands.xml

21 wiersze
826 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Attach Commands to Selected Objects</name>
<id>org.{{ id_inkstitch }}.commands</id>
{%- for command, description in object_commands -%}
<param name="{{ command }}" type="boolean" gui-text="{{ description }}">false</param>
{% endfor %}
<param name="extension" type="string" gui-hidden="true">object_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>