summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2020-04-25 14:24:01 +0200
committerGitHub <noreply@github.com>2020-04-25 14:24:01 +0200
commit1d3b89111e627b3662a7ec2749bb3dcfe694be66 (patch)
tree1103390c4b57490d4e35dc17b450b98bfc4878d4 /templates
parent3b2c7ba1a9caa87e2a7b09af2e0af2c9221063d9 (diff)
import threadlist (#666)
Diffstat (limited to 'templates')
-rw-r--r--templates/import_threadlist.inx27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/import_threadlist.inx b/templates/import_threadlist.inx
new file mode 100644
index 00000000..081a881a
--- /dev/null
+++ b/templates/import_threadlist.inx
@@ -0,0 +1,27 @@
+<?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>
+ <!-- This doesn't work at the moment. It's an Inkstitch 1.0 feature, but would be desireable.
+ <param type="path" name="filepath" gui-text="{{ _('Choose file') }}" mode="file" filetypes="txt"/> -->
+ <param name="filepath" type="string" _gui-text="{{ _('File Path') }}">{{ _("Enter path to file") }}</param>
+ <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>