diff options
Diffstat (limited to 'templates/global_commands.xml')
| -rw-r--r-- | templates/global_commands.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/global_commands.xml b/templates/global_commands.xml new file mode 100644 index 00000000..d37e2e41 --- /dev/null +++ b/templates/global_commands.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>{% trans %}Add Commands{% endtrans %}</name> + <id>org.inkstitch.global_commands.{{ locale }}</id> + <param name="description" type="description">{% trans %}These commands affect the entire embroidery design.{% endtrans %}</param> + {% for command, description in global_commands %} + <param name="{{ command }}" type="boolean" _gui-text="{{ _(description) }}">false</param> + {% endfor %} + <param name="extension" type="string" gui-hidden="true">global_commands</param> + <effect> + <object-type>all</object-type> + <effects-menu> + <submenu name="Ink/Stitch"> + {# L10N Inkscape submenu under Extensions -> Ink/Stitch #} + <submenu name="{% trans %}Commands{% endtrans %}" /> + </submenu> + </effects-menu> + </effect> + <script> + {{ command_tag | safe }} + </script> +</inkscape-extension> |
