summaryrefslogtreecommitdiff
path: root/templates/global_commands.xml
blob: 0fda86bd76a1fbe16fcd27d87413e8831bb37e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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.inkstitch.global_commands</id>
    <param name="description" type="description">These commands affect the entire embroidery design.</param>
    {% 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>
        <effects-menu>
            <submenu name="Ink/Stitch">
                {# L10N Inkscape submenu under Extensions -> Ink/Stitch #}
                <submenu name="Commands" />
            </submenu>
        </effects-menu>
    </effect>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>