summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/convert_to_stroke.xml20
-rw-r--r--templates/install_custom_palette.xml20
2 files changed, 40 insertions, 0 deletions
diff --git a/templates/convert_to_stroke.xml b/templates/convert_to_stroke.xml
new file mode 100644
index 00000000..620258ba
--- /dev/null
+++ b/templates/convert_to_stroke.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>{% trans %}Convert Satin to Stroke{% endtrans %}</name>
+ <id>org.inkstitch.convert_to_stroke.{{ locale }}</id>
+ <param name="extension" type="string" gui-hidden="true">convert_to_stroke</param>
+ <param name="description" type="description">{% trans %}Converts a satin column into a running stitch.{% endtrans %}</param>
+ <param name="keep_satin" type="boolean" _gui-text="Keep satin column"
+ _gui-description="{% trans %}Do not delete original satin column.{% endtrans %}">false</param>
+ <effect>
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Ink/Stitch">
+ <submenu name="{% trans %}Satin Tools{% endtrans %}" />
+ </submenu>
+ </effects-menu>
+ </effect>
+ <script>
+ {{ command_tag | safe }}
+ </script>
+</inkscape-extension>
diff --git a/templates/install_custom_palette.xml b/templates/install_custom_palette.xml
new file mode 100644
index 00000000..cb2865c7
--- /dev/null
+++ b/templates/install_custom_palette.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>{% trans %}Install custom palette{% endtrans %}</name>
+ <id>org.inkstitch.install_custom_palette.{{ locale }}</id>
+ <param name="extension" type="string" gui-hidden="true">install_custom_palette</param>
+ <label indent="1">{% trans %}Choose a .gpl color palette file to install into Inkscape.{% endtrans %}</label>
+ <label indent="1">{% trans %}Restart Inkscape to use.{% endtrans %}</label>
+ <param indent="1" name="filepath" type="path" gui-text="{{ _('Choose file') }}" mode="file" filetypes="gpl"/>
+ <effect needs-live-preview="false">
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Ink/Stitch">
+ <submenu name="{% trans %}Thread Color Management{% endtrans %}" />
+ </submenu>
+ </effects-menu>
+ </effect>
+ <script>
+ {{ command_tag | safe }}
+ </script>
+</inkscape-extension>