From 512c3411648b24505165d555a04e82ba689f8aed Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Sun, 19 Aug 2018 22:14:10 -0400 Subject: integrate inx generation into ink/stitch proper --- templates/embroider.inx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 templates/embroider.inx (limited to 'templates/embroider.inx') diff --git a/templates/embroider.inx b/templates/embroider.inx new file mode 100644 index 00000000..7c6544db --- /dev/null +++ b/templates/embroider.inx @@ -0,0 +1,28 @@ + + + <_name>Embroider + jonh.embroider + inkstitch.py + inkex.py + 3.0 + true + + {% for format, description in formats %} + <_option value="{{ format }}">{{ description }} ({{ format | upper }}) + {% endfor %} + {% for format, description in debug_formats %} + <_option value="{{ format }}">{{ description }} ({{ format | upper }}) [DEBUG] + {% endfor %} + + + embroider + + all + + + + + + -- cgit v1.2.3 From 871358d990d4a06b2eaaf0e405f2d18e26753d52 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Mon, 20 Aug 2018 15:49:19 -0400 Subject: gettextify INX templates --- templates/embroider.inx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'templates/embroider.inx') diff --git a/templates/embroider.inx b/templates/embroider.inx index 7c6544db..f4a78d73 100644 --- a/templates/embroider.inx +++ b/templates/embroider.inx @@ -1,25 +1,25 @@ - <_name>Embroider - jonh.embroider + {% trans %}Embroider{% endtrans %} + org.inkstitch.embroider inkstitch.py inkex.py - 3.0 - true - + 3.0 + true + {% for format, description in formats %} - <_option value="{{ format }}">{{ description }} ({{ format | upper }}) + <_option value="{{ format }}">{{ _(description) }} ({{ format | upper }}) {% endfor %} {% for format, description in debug_formats %} - <_option value="{{ format }}">{{ description }} ({{ format | upper }}) [DEBUG] + <_option value="{{ format }}">{{ _(description) }} ({{ format | upper }}) [{{ _("DEBUG") }}] {% endfor %} - + embroider all - +