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/input.inx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/input.inx (limited to 'templates/input.inx') diff --git a/templates/input.inx b/templates/input.inx new file mode 100644 index 00000000..15ccdef8 --- /dev/null +++ b/templates/input.inx @@ -0,0 +1,17 @@ + + + <_name>{{ format | upper }} file input + org.inkstitch.input.{{ format }} + inkstitch.py + inkex.py + + .{{ format }} + application/x-embroidery-{{ format }} + <_filetypename>Ink/Stitch: {{ description }} (.{{ format }}) + <_filetypetooltip>convert {{ format | upper }} file to Ink/Stitch manual-stitch paths + + input + + -- 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/input.inx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/input.inx') diff --git a/templates/input.inx b/templates/input.inx index 15ccdef8..1e50d841 100644 --- a/templates/input.inx +++ b/templates/input.inx @@ -1,14 +1,14 @@ - <_name>{{ format | upper }} file input + {{ format | upper }} file input org.inkstitch.input.{{ format }} inkstitch.py inkex.py .{{ format }} application/x-embroidery-{{ format }} - <_filetypename>Ink/Stitch: {{ description }} (.{{ format }}) - <_filetypetooltip>convert {{ format | upper }} file to Ink/Stitch manual-stitch paths + <_filetypename>Ink/Stitch: {{ _(description) }} (.{{ format }}) + <_filetypetooltip>{{ _("convert %(file_extension)s file to Ink/Stitch manual-stitch paths") % dict(file_extension=format.upper()) }} input