summaryrefslogtreecommitdiff
path: root/templates/import_threadlist.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/import_threadlist.xml')
-rw-r--r--templates/import_threadlist.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/import_threadlist.xml b/templates/import_threadlist.xml
new file mode 100644
index 00000000..5db963b6
--- /dev/null
+++ b/templates/import_threadlist.xml
@@ -0,0 +1,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>