summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-07-21 17:20:04 +0200
committerGitHub <noreply@github.com>2021-07-21 17:20:04 +0200
commit1f725f42bbd299b6e5192a5404471a4fd89ae7f8 (patch)
tree891b05809f85db54e15b89aebcc15a715be4c6ce /templates
parentc5b78273456836d328945b546dc5f14213488e5f (diff)
install custom palette extension (#1171)
Diffstat (limited to 'templates')
-rw-r--r--templates/install_custom_palette.xml20
1 files changed, 20 insertions, 0 deletions
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>