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/output.inx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/output.inx (limited to 'templates/output.inx') diff --git a/templates/output.inx b/templates/output.inx new file mode 100644 index 00000000..4f971fb3 --- /dev/null +++ b/templates/output.inx @@ -0,0 +1,19 @@ + + + <_name>{{ format | upper }} file output + org.inkstitch.output.{{ format }} + inkstitch.py + inkex.py + + .{{ format }} + application/x-embroidery-{{ format }} + <_filetypename>Ink/Stitch: {{ description }} (.{{ format }}) + <_filetypetooltip>Save design in {{ format | upper }} format using Ink/Stitch + true + + output + {{ format }} + + -- 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/output.inx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/output.inx') diff --git a/templates/output.inx b/templates/output.inx index 4f971fb3..b517ea70 100644 --- a/templates/output.inx +++ b/templates/output.inx @@ -1,14 +1,14 @@ - <_name>{{ format | upper }} file output + {{ format | upper }} file output org.inkstitch.output.{{ format }} inkstitch.py inkex.py .{{ format }} application/x-embroidery-{{ format }} - <_filetypename>Ink/Stitch: {{ description }} (.{{ format }}) - <_filetypetooltip>Save design in {{ format | upper }} format using Ink/Stitch + <_filetypename>Ink/Stitch: {{ _(description) }} (.{{ format }}) + <_filetypetooltip>{{ _("Save design in %(file_extension)s format using Ink/Stitch") % dict(file_extension=format.upper()) }} true output -- cgit v1.2.3 From a2cad1f522074b84895897632ac69dcb5deda340 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Mon, 20 Aug 2018 20:42:02 -0400 Subject: generate INX files for all languages --- templates/output.inx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/output.inx') diff --git a/templates/output.inx b/templates/output.inx index b517ea70..87befee4 100644 --- a/templates/output.inx +++ b/templates/output.inx @@ -1,7 +1,7 @@ - {{ format | upper }} file output - org.inkstitch.output.{{ format }} + {{ format | upper }} file output + org.inkstitch.output.{{ format }}.{{ locale }} inkstitch.py inkex.py -- cgit v1.2.3 From 8f700007fc7d3b7866d4e4a3dac6a36bb3e1be2a Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 21 Aug 2018 16:37:47 -0400 Subject: fix leftover --- templates/output.inx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/output.inx') diff --git a/templates/output.inx b/templates/output.inx index 87befee4..2dc36d72 100644 --- a/templates/output.inx +++ b/templates/output.inx @@ -1,6 +1,6 @@ - {{ format | upper }} file output + {{ format | upper }} file output org.inkstitch.output.{{ format }}.{{ locale }} inkstitch.py inkex.py -- cgit v1.2.3