summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/about.xml12
-rw-r--r--templates/auto_satin.xml12
-rw-r--r--templates/break_apart.xml10
-rw-r--r--templates/cleanup.xml20
-rw-r--r--templates/convert_to_satin.xml8
-rw-r--r--templates/convert_to_stroke.xml12
-rw-r--r--templates/cut_satin.xml8
-rw-r--r--templates/duplicate_params.xml8
-rw-r--r--templates/embroider.xml16
-rw-r--r--templates/embroider_settings.xml12
-rw-r--r--templates/flip.xml8
-rw-r--r--templates/global_commands.xml10
-rw-r--r--templates/import_threadlist.xml8
-rw-r--r--templates/input.xml4
-rw-r--r--templates/install.xml8
-rw-r--r--templates/install_custom_palette.xml12
-rw-r--r--templates/layer_commands.xml10
-rw-r--r--templates/lettering.xml6
-rw-r--r--templates/lettering_custom_font_dir.xml14
-rw-r--r--templates/lettering_generate_json.xml62
-rw-r--r--templates/lettering_remove_kerning.xml14
-rw-r--r--templates/object_commands.xml8
-rw-r--r--templates/output.xml4
-rw-r--r--templates/params.xml6
-rw-r--r--templates/print.xml8
-rw-r--r--templates/remove_embroidery_settings.xml20
-rw-r--r--templates/reorder.xml8
-rw-r--r--templates/selection_to_pattern.xml8
-rw-r--r--templates/simulator.xml8
-rw-r--r--templates/stitch_plan_preview.xml8
-rw-r--r--templates/troubleshoot.xml8
-rw-r--r--templates/zip.xml4
32 files changed, 182 insertions, 182 deletions
diff --git a/templates/about.xml b/templates/about.xml
index 5b7f0ab7..8ad2c783 100644
--- a/templates/about.xml
+++ b/templates/about.xml
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}About{% endtrans %}</name>
- <id>org.inkstitch.about.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>About</name>
+ <id>org.inkstitch.about</id>
<param type="notebook" name="about-tabs" indent="1">
- <page name="about" gui-text="{% trans %}About{% endtrans %}">
+ <page name="about" gui-text="About">
<image>{{ image_path }}inkstitch_colour_logo.svg</image>
<label indent="1" appearance="header">Ink/Stitch - {{ inkstitch_version }}</label>
<separator/>
- <label indent="1">{% trans %}An open-source machine embroidery design platform based on Inkscape.{% endtrans %}</label>
+ <label indent="1">An open-source machine embroidery design platform based on Inkscape.</label>
<separator/>
<spacer/>
<label indent="1" appearance="url">https://inkstitch.org</label>
</page>
- <page name="license" gui-text="{%trans %}License{% endtrans %}">
+ <page name="license" gui-text="License">
<param name="license-text" gui-text=" " type="string" appearance="multiline">
{{ inkstitch_license }}
</param>
diff --git a/templates/auto_satin.xml b/templates/auto_satin.xml
index 673ac51e..426ea094 100644
--- a/templates/auto_satin.xml
+++ b/templates/auto_satin.xml
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Auto-Route Satin Columns{% endtrans %}</name>
- <id>org.inkstitch.auto_satin.{{ locale }}</id>
- <param name="trim" type="boolean" _gui-text="{% trans %}Trim jump stitches{% endtrans %}">true</param>
- <param name="preserve_order" type="boolean" _gui-text="{% trans %}Preserve order of satin columns{% endtrans %}">false</param>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Auto-Route Satin Columns</name>
+ <id>org.inkstitch.auto_satin</id>
+ <param name="trim" type="boolean" _gui-text="Trim jump stitches">true</param>
+ <param name="preserve_order" type="boolean" _gui-text="Preserve order of satin columns">false</param>
<param name="extension" type="string" gui-hidden="true">auto_satin</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Satin Tools{% endtrans %}" />
+ <submenu name="Satin Tools" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/break_apart.xml b/templates/break_apart.xml
index 83333ad1..9f6e579f 100644
--- a/templates/break_apart.xml
+++ b/templates/break_apart.xml
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Break Apart Fill Objects{% endtrans %}</name>
- <id>org.inkstitch.break_apart.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Break Apart Fill Objects</name>
+ <id>org.inkstitch.break_apart</id>
<param name="extension" type="string" gui-hidden="true">break_apart</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Fill Tools{% endtrans %}" />
+ <submenu name="Fill Tools" />
</submenu>
</effects-menu>
</effect>
<param name="description" type="description">
- {% trans %}This extension will try to repair fill shapes and break them apart if necessary. Holes will be retained. Use on simple or overlapping shapes.{% endtrans %}
+ This extension will try to repair fill shapes and break them apart if necessary. Holes will be retained. Use on simple or overlapping shapes.
</param>
<param name="method" type="optiongroup" _gui-text="Method">
<option value="0">Simple</option>
diff --git a/templates/cleanup.xml b/templates/cleanup.xml
index a5cd5713..e84d5a34 100644
--- a/templates/cleanup.xml
+++ b/templates/cleanup.xml
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Cleanup Document{% endtrans %}</name>
- <id>org.inkstitch.cleanup.{{ locale }}</id>
- <param name="description" type="description">{% trans %}Use this extension to remove small objects from the document.{% endtrans %}</param>
- <param name="rm_fill" type="boolean" _gui-text="{% trans %}Remove Small Fill Areas{% endtrans %}"
- _gui-description="{% trans %}Removes areas smaller than dedined by threshold.{% endtrans %}">true</param>
- <param name="fill_threshold" type="int" _gui-text="{% trans %}Fill area threshold (px²){% endtrans %}" min="1" max="800">20</param>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Cleanup Document</name>
+ <id>org.inkstitch.cleanup</id>
+ <param name="description" type="description">Use this extension to remove small objects from the document.</param>
+ <param name="rm_fill" type="boolean" _gui-text="Remove Small Fill Areas"
+ _gui-description="Removes areas smaller than dedined by threshold.">true</param>
+ <param name="fill_threshold" type="int" _gui-text="Fill area threshold (px²)" min="1" max="800">20</param>
<param name="rm_stroke" type="boolean" _gui-text="Remove Small strokes"
- _gui-description="{% trans %}Removes small strokes shorter than defined by threshold.{% endtrans %}">true</param>
- <param name="stroke_threshold" type="int" _gui-text="{% trans %}Stroke threshold (px){% endtrans %}" min="2" max="800">5</param>
+ _gui-description="Removes small strokes shorter than defined by threshold.">true</param>
+ <param name="stroke_threshold" type="int" _gui-text="Stroke threshold (px)" min="2" max="800">5</param>
<param name="extension" type="string" gui-hidden="true">cleanup</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Troubleshoot{% endtrans %}" />
+ <submenu name="Troubleshoot" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/convert_to_satin.xml b/templates/convert_to_satin.xml
index 80f0b678..13b362cf 100644
--- a/templates/convert_to_satin.xml
+++ b/templates/convert_to_satin.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Convert Line to Satin{% endtrans %}</name>
- <id>org.inkstitch.convert_to_satin.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Convert Line to Satin</name>
+ <id>org.inkstitch.convert_to_satin</id>
<param name="extension" type="string" gui-hidden="true">convert_to_satin</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Satin Tools{% endtrans %}" />
+ <submenu name="Satin Tools" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/convert_to_stroke.xml b/templates/convert_to_stroke.xml
index 620258ba..6b1e5afc 100644
--- a/templates/convert_to_stroke.xml
+++ b/templates/convert_to_stroke.xml
@@ -1,16 +1,16 @@
<?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>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Convert Satin to Stroke</name>
+ <id>org.inkstitch.convert_to_stroke</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="description" type="description">Converts a satin column into a running stitch.</param>
<param name="keep_satin" type="boolean" _gui-text="Keep satin column"
- _gui-description="{% trans %}Do not delete original satin column.{% endtrans %}">false</param>
+ _gui-description="Do not delete original satin column.">false</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Satin Tools{% endtrans %}" />
+ <submenu name="Satin Tools" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/cut_satin.xml b/templates/cut_satin.xml
index b780543a..00f4292d 100644
--- a/templates/cut_satin.xml
+++ b/templates/cut_satin.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Cut Satin Column{% endtrans %}</name>
- <id>org.inkstitch.cut_satin.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Cut Satin Column</name>
+ <id>org.inkstitch.cut_satin</id>
<param name="extension" type="string" gui-hidden="true">cut_satin</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Satin Tools{% endtrans %}" />
+ <submenu name="Satin Tools" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/duplicate_params.xml b/templates/duplicate_params.xml
index 1cefd7a9..7e5c998b 100644
--- a/templates/duplicate_params.xml
+++ b/templates/duplicate_params.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Duplicate Params{% endtrans %}</name>
- <id>org.inkstitch.duplicate_params.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Duplicate Params</name>
+ <id>org.inkstitch.duplicate_params</id>
<param name="extension" type="string" gui-hidden="true">duplicate_params</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Edit{% endtrans %}" />
+ <submenu name="Edit" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/embroider.xml b/templates/embroider.xml
index ff56ac7d..7f42594b 100644
--- a/templates/embroider.xml
+++ b/templates/embroider.xml
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Embroider{% endtrans %}</name>
- <id>org.inkstitch.embroider.{{ locale }}</id>
- <param name="title" type="description" appearance="header">{% trans %}Create a stitch file{% endtrans %}</param>
- <param name="howto" type="description">{% trans %}Save your embroidery file through | File > Save a Copy ... |{% endtrans %}</param>
- <param name="howto_detail" type="description">{% trans %}Choose from listed embroidery file formats and save.{% endtrans %}</param>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Embroider</name>
+ <id>org.inkstitch.embroider</id>
+ <param name="title" type="description" appearance="header">Create a stitch file</param>
+ <param name="howto" type="description">Save your embroidery file through | File > Save a Copy ... |</param>
+ <param name="howto_detail" type="description">Choose from listed embroidery file formats and save.</param>
<spacer />
- <param name="info_zip" type="description">{% trans %}Multiple file formats can be saved by choosing the zip file format.{% endtrans %}</param>
+ <param name="info_zip" type="description">Multiple file formats can be saved by choosing the zip file format.</param>
<effect needs-live-preview="false" needs-document="false">
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Visualise and Export{% endtrans %}" />
+ <submenu name="Visualise and Export" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/embroider_settings.xml b/templates/embroider_settings.xml
index 1c7bc966..5f2f2c94 100644
--- a/templates/embroider_settings.xml
+++ b/templates/embroider_settings.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Preferences{% endtrans %}</name>
- <id>org.inkstitch.embroider_settings.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Preferences</name>
+ <id>org.inkstitch.embroider_settings</id>
<param name="extension" type="string" gui-hidden="true">embroider_settings</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
@@ -10,11 +10,11 @@
</effects-menu>
</effect>
<param name="output_settings" type="description" appearance="header">
- {% trans %}Output Settings{% endtrans %}
+ Output Settings
</param>
<param name="collapse_len_mm" type="float" precision="1" min="0" max="10"
- _gui-text="{% trans %}Collapse length (mm){% endtrans %}"
- _gui-description="{% trans %}Jump stitches smaller than this will be treated as normal stitches.{% endtrans %}">3</param>
+ _gui-text="Collapse length (mm)"
+ _gui-description="Jump stitches smaller than this will be treated as normal stitches.">3</param>
<script>
{{ command_tag | safe }}
</script>
diff --git a/templates/flip.xml b/templates/flip.xml
index 29b11457..22c937aa 100644
--- a/templates/flip.xml
+++ b/templates/flip.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Flip Satin Column Rails{% endtrans %}</name>
- <id>org.inkstitch.flip_satins.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Flip Satin Column Rails</name>
+ <id>org.inkstitch.flip_satins</id>
<param name="extension" type="string" gui-hidden="true">flip</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Satin Tools{% endtrans %}" />
+ <submenu name="Satin Tools" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/global_commands.xml b/templates/global_commands.xml
index d37e2e41..0fda86bd 100644
--- a/templates/global_commands.xml
+++ b/templates/global_commands.xml
@@ -1,8 +1,8 @@
<?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>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Add Commands</name>
+ <id>org.inkstitch.global_commands</id>
+ <param name="description" type="description">These commands affect the entire embroidery design.</param>
{% for command, description in global_commands %}
<param name="{{ command }}" type="boolean" _gui-text="{{ _(description) }}">false</param>
{% endfor %}
@@ -12,7 +12,7 @@
<effects-menu>
<submenu name="Ink/Stitch">
{# L10N Inkscape submenu under Extensions -> Ink/Stitch #}
- <submenu name="{% trans %}Commands{% endtrans %}" />
+ <submenu name="Commands" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/import_threadlist.xml b/templates/import_threadlist.xml
index e846f13b..8562d82d 100644
--- a/templates/import_threadlist.xml
+++ b/templates/import_threadlist.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Import Threadlist{% endtrans %}</name>
- <id>org.inkstitch.import_threadlist.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Import Threadlist</name>
+ <id>org.inkstitch.import_threadlist</id>
<param name="extension" type="string" gui-hidden="true">import_threadlist</param>
<param name="filepath" type="path" gui-text="{{ _('Choose file') }}" mode="file" filetypes="txt"/>
<param name="method" type="optiongroup" _gui-text="Choose method">
@@ -17,7 +17,7 @@
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Thread Color Management{% endtrans %}" />
+ <submenu name="Thread Color Management" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/input.xml b/templates/input.xml
index 5f4a4610..a348df5c 100644
--- a/templates/input.xml
+++ b/templates/input.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>{{ format | upper }} file input</name>
- <id>org.inkstitch.input.{{ format }}.{{ locale }}</id>
+ <id>org.inkstitch.input.{{ format }}</id>
<input>
<extension>.{{ format }}</extension>
<mimetype>application/x-embroidery-{{ format }}</mimetype>
diff --git a/templates/install.xml b/templates/install.xml
index e351dc31..4254de36 100644
--- a/templates/install.xml
+++ b/templates/install.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Install thread color palettes for Inkscape{% endtrans %}</name>
- <id>org.inkstitch.install.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Install thread color palettes for Inkscape</name>
+ <id>org.inkstitch.install</id>
<param name="extension" type="string" gui-hidden="true">install</param>
<effect implements-custom-gui="true">
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Thread Color Management{% endtrans %}" />
+ <submenu name="Thread Color Management" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/install_custom_palette.xml b/templates/install_custom_palette.xml
index cb2865c7..badbc432 100644
--- a/templates/install_custom_palette.xml
+++ b/templates/install_custom_palette.xml
@@ -1,16 +1,16 @@
<?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>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Install custom palette</name>
+ <id>org.inkstitch.install_custom_palette</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>
+ <label indent="1">Choose a .gpl color palette file to install into Inkscape.</label>
+ <label indent="1">Restart Inkscape to use.</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 name="Thread Color Management" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/layer_commands.xml b/templates/layer_commands.xml
index 249d536e..2584df70 100644
--- a/templates/layer_commands.xml
+++ b/templates/layer_commands.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Add Layer Commands{% endtrans %}</name>
- <id>org.inkstitch.layer_commands.{{ locale }}</id>
- <param name="description" type="description">{% trans %}Commands will be added to the currently-selected layer.{% endtrans %}</param>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Add Layer Commands</name>
+ <id>org.inkstitch.layer_commands</id>
+ <param name="description" type="description">Commands will be added to the currently-selected layer.</param>
{% for command, description in layer_commands %}
<param name="{{ command }}" type="boolean" _gui-text="{{ _(description) }}">false</param>
{% endfor %}
@@ -11,7 +11,7 @@
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Commands{% endtrans %}" />
+ <submenu name="Commands" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/lettering.xml b/templates/lettering.xml
index 6dea9e93..be8b092e 100644
--- a/templates/lettering.xml
+++ b/templates/lettering.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Lettering{% endtrans %}</name>
- <id>org.inkstitch.lettering.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Lettering</name>
+ <id>org.inkstitch.lettering</id>
<param name="extension" type="string" gui-hidden="true">lettering</param>
<effect implements-custom-gui="true">
<object-type>all</object-type>
diff --git a/templates/lettering_custom_font_dir.xml b/templates/lettering_custom_font_dir.xml
index a281dbd6..49abf2ff 100644
--- a/templates/lettering_custom_font_dir.xml
+++ b/templates/lettering_custom_font_dir.xml
@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Custom font directory{% endtrans %}</name>
- <id>org.inkstitch.lettering_custom_font_dir.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Custom font directory</name>
+ <id>org.inkstitch.lettering_custom_font_dir</id>
<param name="extension" type="string" gui-hidden="true">lettering_custom_font_dir</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Font Management{% endtrans %}" />
+ <submenu name="Font Management" />
</submenu>
</effects-menu>
</effect>
<param name="file-description" type="description" indent="1" >
- {% trans %}Set a custom directory for additional fonts to be used with the lettering tool.{% endtrans %}
+ Set a custom directory for additional fonts to be used with the lettering tool.
</param>
<spacer />
- <param name="path" type="path" mode="folder" gui-text="{% trans %}Custom font directory{% endtrans %}" indent="1"></param>
+ <param name="path" type="path" mode="folder" gui-text="Custom font directory" indent="1"></param>
<spacer />
<param name="file-description" type="description" indent="1" >
- {% trans %}Usage: The custom font directory must contain a subdirectory for each font.{% endtrans %}
+ Usage: The custom font directory must contain a subdirectory for each font.
</param>
<script>
{{ command_tag | safe }}
diff --git a/templates/lettering_generate_json.xml b/templates/lettering_generate_json.xml
index 4ad7f4e9..04bd192c 100644
--- a/templates/lettering_generate_json.xml
+++ b/templates/lettering_generate_json.xml
@@ -1,72 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Generate JSON{% endtrans %}</name>
- <id>org.inkstitch.lettering_generate_json.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Generate JSON</name>
+ <id>org.inkstitch.lettering_generate_json</id>
<param name="extension" type="string" gui-hidden="true">lettering_generate_json</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Font Management{% endtrans %}" />
+ <submenu name="Font Management" />
</submenu>
</effects-menu>
</effect>
<param name="header" type="description" appearance="header" indent="1" >
- {% trans %}Generates font.json which can be used by the lettering tool.{% endtrans %}
+ Generates font.json which can be used by the lettering tool.
</param>
- <param name="file-description" type="description" indent="1" >{% trans %}The generated file can be viewed and updated with a standard text editor tool.{% endtrans %}</param>
+ <param name="file-description" type="description" indent="1" >The generated file can be viewed and updated with a standard text editor tool.</param>
<spacer />
<separator indent="1"/>
<spacer />
- <param type="path" name="font-file" gui-text="{% trans %}SVG Font File{% endtrans %}" indent="1" mode="file" filetypes="svg"/>
+ <param type="path" name="font-file" gui-text="SVG Font File" indent="1" mode="file" filetypes="svg"/>
<spacer />
<separator indent="1"/>
<spacer />
- <param type="string" name="font-name" gui-text="{% trans %}Name{% endtrans %}" indent="1" />
- <param type="string" name="font-description" gui-text="{% trans %}Description{% endtrans %}" indent="1" />
+ <param type="string" name="font-name" gui-text="Name" indent="1" />
+ <param type="string" name="font-description" gui-text="Description" indent="1" />
<spacer />
<separator indent="1"/>
<spacer />
<hbox>
<vbox>
- <param type="bool" name="auto-satin" gui-text="{% trans %}Autoroute Satin{% endtrans %}"
- gui-description="{% trans %}Disable if you defined manual routing in your font.{% endtrans %}" indent="1">true</param>
- <param type="bool" name="reversible" gui-text="{% trans %}Reversible{% endtrans %}"
- gui-description='{% trans %}If disabled back and forth stitching will not be possile for this font.{% endtrans %}' indent="1">true</param>
- <param name="letter-case" type="optiongroup" appearance="combo" gui-text="{% trans %}Force letter case{% endtrans %}" indent="1">
- <option value="">{% trans %}No{% endtrans %}</option>
- <option value="upper">{% trans %}Upper{% endtrans %}</option>
- <option value="lower">{% trans %}Lower{% endtrans %}</option>
+ <param type="bool" name="auto-satin" gui-text="Autoroute Satin"
+ gui-description="Disable if you defined manual routing in your font." indent="1">true</param>
+ <param type="bool" name="reversible" gui-text="Reversible"
+ gui-description='If disabled back and forth stitching will not be possile for this font.' indent="1">true</param>
+ <param name="letter-case" type="optiongroup" appearance="combo" gui-text="Force letter case" indent="1">
+ <option value="">No</option>
+ <option value="upper">Upper</option>
+ <option value="lower">Lower</option>
</param>
</vbox>
<vbox indent="20">
- <param name="min-scale" type="float" precision="1" min="0.1" max="1" gui-text="{% trans %}Min Scale{% endtrans %}" indent="1">1</param>
- <param name="max-scale" type="float" precision="1" min="1" max="10" gui-text="{% trans %}Max Scale{% endtrans %}" indent="1">1</param>
+ <param name="min-scale" type="float" precision="1" min="0.1" max="1" gui-text="Min Scale" indent="1">1</param>
+ <param name="max-scale" type="float" precision="1" min="1" max="10" gui-text="Max Scale" indent="1">1</param>
</vbox>
</hbox>
<spacer />
- <param type="string" name="default-glyph" gui-text="{% trans %}Default Glyph{% endtrans %}" indent="1">&#65533;</param>
+ <param type="string" name="default-glyph" gui-text="Default Glyph" indent="1">&#65533;</param>
<spacer />
<separator indent="1"/>
<spacer />
- <param name="header" type="description" appearance="header" indent="1" >{% trans %}Kerning{% endtrans %}</param>
+ <param name="header" type="description" appearance="header" indent="1" >Kerning</param>
<param name="kering-info" type="description" indent="1" >
- {% trans %}If your font file contains kerning information, you can completely ignore the following settings (unless you want to overwrite them).
- If the kerning information cannot be found, these values will apply automatically.{% endtrans %}
+ If your font file contains kerning information, you can completely ignore the following settings (unless you want to overwrite them).
+ If the kerning information cannot be found, these values will apply automatically.
</param>
<spacer />
<hbox indent="1">
- <param name="use-custom-leading" type="bool" gui-text="{% trans %}Force{% endtrans %}" indent="1"
- gui-description="{% trans %}Overwrite leading information from font file.{% endtrans %}">false</param>
- <param name="leading" type="int" precision="1" min="-100" max="500" gui-text="{% trans %}Leading (px){% endtrans %}"
- gui-description="{% trans %}Line height (default: 100){% endtrans %}" indent="1">100</param>
+ <param name="use-custom-leading" type="bool" gui-text="Force" indent="1"
+ gui-description="Overwrite leading information from font file.">false</param>
+ <param name="leading" type="int" precision="1" min="-100" max="500" gui-text="Leading (px)"
+ gui-description="Line height (default: 100)" indent="1">100</param>
</hbox>
<spacer />
<hbox indent="1">
- <param name="use-custom-spacing" type="bool" gui-text="{% trans %}Force{% endtrans %}" indent="1"
- gui-description="{% trans %}Overwrite word spacing information from font file.{% endtrans %}">false</param>
- <param name="word-spacing" type="int" precision="1" min="-100" max="500" gui-text="{% trans %}Word spacing (px){% endtrans %}"
- gui-description="{% trans %}Space character width (default: 20){% endtrans %}" indent="1">20</param>
+ <param name="use-custom-spacing" type="bool" gui-text="Force" indent="1"
+ gui-description="Overwrite word spacing information from font file.">false</param>
+ <param name="word-spacing" type="int" precision="1" min="-100" max="500" gui-text="Word spacing (px)"
+ gui-description="Space character width (default: 20)" indent="1">20</param>
</hbox>
<spacer />
<separator indent="1"/>
diff --git a/templates/lettering_remove_kerning.xml b/templates/lettering_remove_kerning.xml
index 48494ead..9f126381 100644
--- a/templates/lettering_remove_kerning.xml
+++ b/templates/lettering_remove_kerning.xml
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Remove Kerning{% endtrans %}</name>
- <id>org.inkstitch.lettering_remove_kerning.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Remove Kerning</name>
+ <id>org.inkstitch.lettering_remove_kerning</id>
<param name="extension" type="string" gui-hidden="true">lettering_remove_kerning</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Font Management{% endtrans %}" />
+ <submenu name="Font Management" />
</submenu>
</effects-menu>
</effect>
<param name="header" type="description" appearance="header" indent="1" >
- {% trans %}Removes Kerning information from given SVG files{% endtrans %}
+ Removes Kerning information from given SVG files
</param>
<separator />
<param name="file-description" type="description" indent="1" >
- &#9888; {% trans %}Make sure you keep a copy of the original file. After running this extension kerning information will be lost unrevertably from these files.{% endtrans %}
+ &#9888; Make sure you keep a copy of the original file. After running this extension kerning information will be lost unrevertably from these files.
</param>
<separator />
<spacer />
- <param type="path" name="font-files" gui-text="{% trans %}Select Font Files{% endtrans %}" indent="1" mode="files" filetypes="svg"/>
+ <param type="path" name="font-files" gui-text="Select Font Files" indent="1" mode="files" filetypes="svg"/>
<spacer />
<script>
{{ command_tag | safe }}
diff --git a/templates/object_commands.xml b/templates/object_commands.xml
index affe7584..db5580f5 100644
--- a/templates/object_commands.xml
+++ b/templates/object_commands.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Attach Commands to Selected Objects{% endtrans %}</name>
- <id>org.inkstitch.commands.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Attach Commands to Selected Objects</name>
+ <id>org.inkstitch.commands</id>
{% for command, description in object_commands %}
<param name="{{ command }}" type="boolean" _gui-text="{{ _(description ) }}">false</param>
{% endfor %}
@@ -10,7 +10,7 @@
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Commands{% endtrans %}" />
+ <submenu name="Commands" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/output.xml b/templates/output.xml
index 545c3d28..9c798204 100644
--- a/templates/output.xml
+++ b/templates/output.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>{{ format | upper }} file output</name>
- <id>org.inkstitch.output.{{ format }}.{{ locale }}</id>
+ <id>org.inkstitch.output.{{ format }}</id>
<output>
<extension>.{{ format }}</extension>
<mimetype>{{ mimetype }}</mimetype>
diff --git a/templates/params.xml b/templates/params.xml
index 4ceb9020..b15d8c0c 100644
--- a/templates/params.xml
+++ b/templates/params.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Params{% endtrans %}</name>
- <id>org.inkstitch.params.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Params</name>
+ <id>org.inkstitch.params</id>
<param name="extension" type="string" gui-hidden="true">params</param>
<effect implements-custom-gui="true">
<object-type>all</object-type>
diff --git a/templates/print.xml b/templates/print.xml
index 410f9b54..fbfe6072 100644
--- a/templates/print.xml
+++ b/templates/print.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}PDF Export{% endtrans %}</name>
- <id>org.inkstitch.print.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>PDF Export</name>
+ <id>org.inkstitch.print</id>
<param name="extension" type="string" gui-hidden="true">print</param>
<effect implements-custom-gui="true">
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Visualise and Export{% endtrans %}" />
+ <submenu name="Visualise and Export" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/remove_embroidery_settings.xml b/templates/remove_embroidery_settings.xml
index c83cc1b8..d2eae112 100644
--- a/templates/remove_embroidery_settings.xml
+++ b/templates/remove_embroidery_settings.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Remove embroidery settings{% endtrans %}</name>
- <id>org.inkstitch.remove_embroidery_settings.{{ locale }}</id>
- <param name="description" type="description">{% trans %}Use this extension to remove the information Ink/Stitch has stored in your document. This can be especially useful if you copy and paste objects from an embroidery design into another document.{% endtrans %}</param>
- <param name="del_params" type="boolean" _gui-text="{% trans %}Remove Params{% endtrans %}"
- _gui-description="{% trans %}Removes params from selected objects or all objects if nothing is selected.{% endtrans %}">true</param>
- <param name="del_commands" type="boolean" _gui-text="{% trans %}Remove Commands{% endtrans %}"
- _gui-description="{% trans %}Removes visual commands from selected objects or all objects if nothing is selected.{% endtrans %}">false</param>
- <param name="del_print" type="boolean" _gui-text="{% trans %}Remove Print Settings from SVG metadata{% endtrans %}">false</param>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Remove embroidery settings</name>
+ <id>org.inkstitch.remove_embroidery_settings</id>
+ <param name="description" type="description">Use this extension to remove the information Ink/Stitch has stored in your document. This can be especially useful if you copy and paste objects from an embroidery design into another document.</param>
+ <param name="del_params" type="boolean" _gui-text="Remove Params"
+ _gui-description="Removes params from selected objects or all objects if nothing is selected.">true</param>
+ <param name="del_commands" type="boolean" _gui-text="Remove Commands"
+ _gui-description="Removes visual commands from selected objects or all objects if nothing is selected.">false</param>
+ <param name="del_print" type="boolean" _gui-text="Remove Print Settings from SVG metadata">false</param>
<param name="extension" type="string" gui-hidden="true">remove_embroidery_settings</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Troubleshoot{% endtrans %}" />
+ <submenu name="Troubleshoot" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/reorder.xml b/templates/reorder.xml
index 1be9b5c9..ce692f65 100644
--- a/templates/reorder.xml
+++ b/templates/reorder.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Re-stack objects in order of selection{% endtrans %}</name>
- <id>org.inkstitch.reorder.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Re-stack objects in order of selection</name>
+ <id>org.inkstitch.reorder</id>
<param name="extension" type="string" gui-hidden="true">reorder</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Edit{% endtrans %}" />
+ <submenu name="Edit" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/selection_to_pattern.xml b/templates/selection_to_pattern.xml
index 859a51ed..702ef2e4 100644
--- a/templates/selection_to_pattern.xml
+++ b/templates/selection_to_pattern.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Selection to pattern{% endtrans %}</name>
- <id>org.inkstitch.selection_to_pattern.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Selection to pattern</name>
+ <id>org.inkstitch.selection_to_pattern</id>
<param name="extension" type="string" gui-hidden="true">selection_to_pattern</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Edit{% endtrans %}" />
+ <submenu name="Edit" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/simulator.xml b/templates/simulator.xml
index 029d8b37..eb082480 100644
--- a/templates/simulator.xml
+++ b/templates/simulator.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Simulator / Realistic Preview{% endtrans %}</name>
- <id>org.inkstitch.simulator.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Simulator / Realistic Preview</name>
+ <id>org.inkstitch.simulator</id>
<param name="extension" type="string" gui-hidden="true">simulator</param>
<effect implements-custom-gui="true">
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Visualise and Export{% endtrans %}" />
+ <submenu name="Visualise and Export" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/stitch_plan_preview.xml b/templates/stitch_plan_preview.xml
index 72ea7f04..93ae16d1 100644
--- a/templates/stitch_plan_preview.xml
+++ b/templates/stitch_plan_preview.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Stitch Plan Preview{% endtrans %}</name>
- <id>org.inkstitch.stitch_plan_preview.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Stitch Plan Preview</name>
+ <id>org.inkstitch.stitch_plan_preview</id>
<param name="extension" type="string" gui-hidden="true">stitch_plan_preview</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Visualise and Export{% endtrans %}" />
+ <submenu name="Visualise and Export" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/troubleshoot.xml b/templates/troubleshoot.xml
index 02df8ddc..2d672ace 100644
--- a/templates/troubleshoot.xml
+++ b/templates/troubleshoot.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Troubleshoot Objects{% endtrans %}</name>
- <id>org.inkstitch.troubleshoot.{{ locale }}</id>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Troubleshoot Objects</name>
+ <id>org.inkstitch.troubleshoot</id>
<param name="extension" type="string" gui-hidden="true">troubleshoot</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="Ink/Stitch">
- <submenu name="{% trans %}Troubleshoot{% endtrans %}" />
+ <submenu name="Troubleshoot" />
</submenu>
</effects-menu>
</effect>
diff --git a/templates/zip.xml b/templates/zip.xml
index 4d620424..983d0eb6 100644
--- a/templates/zip.xml
+++ b/templates/zip.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>embroidery ZIP file output</name>
- <id>org.inkstitch.output.zip.{{ locale }}</id>
+ <id>org.inkstitch.output.zip</id>
<output>
<extension>.zip</extension>
<mimetype>application/zip</mimetype>