diff options
| author | Lex Neva <github.com@lexneva.name> | 2021-08-07 10:58:02 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2021-08-07 10:58:02 -0400 |
| commit | 12ef0c84aa732623b210fdce1a7b8301aa435217 (patch) | |
| tree | 4c7fbb33c4840be4bf8d8fecfd7fe481d0e56895 /templates | |
| parent | c1e6558f7852def419adfbeb087b2194e6030a2c (diff) | |
| parent | d6e20fae8a03ac162ae0c863fff06b5bd8b77902 (diff) | |
Merge remote-tracking branch 'origin/main' into kaalleen/satin-patterns
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/convert_to_stroke.xml | 20 | ||||
| -rw-r--r-- | templates/install_custom_palette.xml | 20 |
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> |
