summaryrefslogtreecommitdiff
path: root/templates/global_commands.xml
blob: 5e622e2c15f3649c9d98161f8bb31a194fbe681d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Add Commands</name>
    <id>org.{{ id_inkstitch }}.global_commands</id>
    <label>These commands affect the entire embroidery design.</label>
    {% for command, description in global_commands %}
    <param name="{{ command }}" type="boolean" gui-text="{{ description }}">false</param>
    {% endfor %}
    <param name="extension" type="string" gui-hidden="true">global_commands</param>
    <effect>
        <object-type>all</object-type>
        <icon>{{ icon_path }}inx/commands.svg</icon>
        <menu-tip>Add commands which affect the entire document</menu-tip>
        <effects-menu>
            <submenu name="{{ menu_inkstitch }}" translatable="no">
                {# L10N Inkscape submenu under Extensions -> Ink/Stitch #}
                <submenu name="Commands" />
            </submenu>
        </effects-menu>
    </effect>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>