summaryrefslogtreecommitdiff
path: root/templates/import_threadlist.xml
blob: 5db963b6b506b0d575bba458576c6da43f385435 (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
25
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>{% trans %}Import Threadlist{% endtrans %}</name>
    <id>org.inkstitch.import_threadlist.{{ locale }}</id>
    <param name="extension" type="string" gui-hidden="true">import_threadlist</param>
    <param name="filepath" type="path" gui-text="{{ _('Choose file') }}" mode="file" filetypes="txt"/>
    <param name="method" type="optiongroup" _gui-text="Choose method">
       <option value="1">Import Ink/Stitch threadlist</option>
       <option value="2">Import other threadlist*</option>
    </param>
    <param name="palette" type="enum" _gui-text="*Choose color palette">
    {%- for item in threadcatalog %}
       <item value="{{ item }}">{{ item }}</item>
    {%- endfor %}
    </param>
    <effect>
        <object-type>all</object-type>
        <effects-menu>
            <submenu name="Ink/Stitch" />
        </effects-menu>
    </effect>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>