From 526cd48a4f73d9b793b5a83ababd83069f4ad800 Mon Sep 17 00:00:00 2001
From: Claudine Peyrat <88194877+claudinepeyrat06@users.noreply.github.com>
Date: Sat, 21 Oct 2023 08:35:43 +0200
Subject: [PATCH] Claudine/turn extension description into label (#2566)
* use label instead of param description
update templates to use correct inx syntax.
correct a small mistake in the excalibur font.
* more description turned into label
---
fonts/excalibur_KOR/→.svg | 473 ++++++------------
templates/break_apart.xml | 4 +-
templates/cleanup.xml | 4 +-
templates/convert_to_stroke.xml | 2 +-
templates/embroider.xml | 8 +-
templates/global_commands.xml | 2 +-
templates/layer_commands.xml | 2 +-
templates/lettering_custom_font_dir.xml | 8 +-
templates/lettering_force_lock_stitches.xml | 8 +-
templates/lettering_generate_json.xml | 16 +-
templates/lettering_remove_kerning.xml | 8 +-
templates/lettering_update_json_glyphlist.xml | 4 +-
templates/letters_to_font.xml | 12 +-
templates/remove_embroidery_settings.xml | 2 +-
14 files changed, 204 insertions(+), 349 deletions(-)
diff --git a/fonts/excalibur_KOR/→.svg b/fonts/excalibur_KOR/→.svg
index bd9cab25b..dfaad9a65 100644
--- a/fonts/excalibur_KOR/→.svg
+++ b/fonts/excalibur_KOR/→.svg
@@ -4,7 +4,7 @@
id="svg62655"
sodipodi:docname="→.svg"
width="150"
- inkscape:version="1.3-alpha (95f74fb, 2023-03-31)"
+ inkscape:version="1.3 (0e150ed, 2023-07-21)"
height="150"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
@@ -20,15 +20,15 @@
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="true"
- inkscape:zoom="31.999999"
- inkscape:cx="9.3437503"
- inkscape:cy="76.828127"
+ inkscape:zoom="6.9687498"
+ inkscape:cx="13.48879"
+ inkscape:cy="72.394621"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
- inkscape:current-layer="g157550"
+ inkscape:current-layer="g157602"
width="150px"
inkscape:snap-grids="false"
inkscape:snap-to-guides="false"
@@ -74,14 +74,15 @@
+ visible="true"
+ originx="0"
+ originy="0"
+ spacingy="1"
+ spacingx="1"
+ units="px" />
-Created by FontForge 20200314 at Sun Aug 29 20:57:17 2021
- By regli
-Public Domain
-
Created by FontForge 20200314 at Sun Aug 29 20:57:17 2021
By regli
Public Domain
3
0
@@ -128,8 +129,7 @@ Public Domain
inkscape:connector-curvature="0"
style="display:inline;opacity:1;fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:0.2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke"
d="m -3.0312502,1.577739 c 0,0 0.25,-3.6875002 0.25,-3.6875002 0,0 1.0312501,3.8437502 1.0312501,3.8437502 0,0 0.34375,-3.6250002 0.34375,-3.6250002 0,0 0.96874997,3.5625002 0.96874997,3.5625002 0,0 0.28125,-3.3125002 0.28125,-3.3125002 0,0 0.9375001,3.3125002 0.9375001,3.3125002 0,0 0.21875,-3.0937502 0.21875,-3.0937502 0,0 1.03125013,2.9687502 1.03125013,2.9687502 0,0 0.0625,-2.7187501 0.0625,-2.7187501 0,0 0.96875,2.4687501 0.96875,2.4687501 0,0 0.15625,-2.18750023 0.15625,-2.18750023"
- id="path31975"
- />
+ id="path31975" />
+ inkscape:connector-curvature="0" />
+ id="g157910">
+ id="g157882">
+ id="g157906">
+ id="g157902">
+ id="g157898">
+ id="g157894">
+ id="g157918">
+ id="g157914">
+ id="g157930">
+ id="g157890">
+ id="g158194">
+ id="g158190">
+ id="g158186">
+ id="g158182">
+ id="g158178">
+ id="g158174">
+ id="g158170">
+ id="g158166">
+ id="g158162">
+ id="g158158">
+ id="g158154">
+ id="g158150">
+ id="g158146">
+ id="g158142">
+ id="g158138">
+ id="g158134">
+ id="g158130">
+ id="g158126">
+ id="g158122">
+ id="g158118">
+ id="g158114">
+ id="g158110">
+ id="g158106">
+ id="g158102">
+ id="g158098">
+ id="g158094">
+ id="g158090">
+ id="g158086">
+ id="g158082">
+ id="g158078">
+ id="g158074">
+ id="g158070">
+ id="g158066">
+ id="g158062">
+ id="g158058">
+ id="g158054">
+ id="g158050">
+ id="g158046">
+ id="g158042">
+ id="g158038">
+ id="g158034">
+ id="g158030">
+ id="g158026">
+ id="g158022">
+ id="g158018">
+ id="g158014">
+ id="g158010">
+ id="g158006">
+ id="g158002">
+ id="g157998">
+ id="g157994">
+ id="g157990">
+ id="g157986">
+ id="g157982">
+ id="g157978">
+ id="g157974">
+ id="g157958">
+ id="g157854">
+ id="g157850">
+ id="g157846">
+ id="g157842">
+ id="g157838">
+ id="g157834">
+ id="g157830">
+ id="g157826">
+ id="g157822">
+ id="g157818">
+ id="g157814">
+ id="g157810">
+ id="g157806">
+ id="g157802">
+ id="g157798">
+ id="g157794">
+ id="g157790">
+ id="g157786">
+ id="g157782">
+ id="g157778">
+ id="g157774">
+ id="g157770">
+ id="g157766">
+ id="g157762">
+ id="g157758">
+ id="g157754">
+ id="g157726">
+ id="g157722">
+ id="g157718">
+ id="g157714">
+ id="g157710">
+ id="g157706">
+ id="g157702">
+ id="g157698">
+ id="g157694">
+ id="g157690">
+ id="g157686">
+ id="g157682">
+ id="g157678">
+ id="g157674">
+ id="g157670">
+ id="g157666">
+ id="g157662">
+ id="g157658">
+ id="g157654">
+ id="g157650">
+ id="g157646">
+ id="g157642">
+ id="g157638">
+ id="g157634">
+ id="g157630">
+ id="g157626">
+ id="g157618">
+ style="display:inline;fill:none;stroke:#00673e;stroke-width:0.945;stroke-miterlimit:4;stroke-opacity:1"
+ id="g157602">
+ style="display:none;fill:none;stroke:#00673e;stroke-width:0.945;stroke-miterlimit:4;stroke-opacity:1"
+ id="g157598">
+ id="g157594">
+ id="g157590">
+ id="g157586">
+ id="g157582">
+ inkscape:groupmode="layer">
+ id="g157574">
+ id="g157570">
+ id="g157566">
+ id="g157584">
+ id="g157558">
+ id="g157554">
+ style="display:none;fill:none;stroke:#00673e;stroke-width:0.945;stroke-miterlimit:4;stroke-opacity:1"
+ id="g157550">
+ id="g157546">
+ id="g157542">
+ id="g157534">
+ id="g157530">
+ id="g157526">
+ id="g157522">
+ id="g157518">
+ id="g157514">
+ id="g157502">
+ style="display:none;fill:none;stroke:#00673e;stroke-width:0.945;stroke-miterlimit:4;stroke-opacity:1"
+ id="g157498">
-
+
diff --git a/templates/cleanup.xml b/templates/cleanup.xml
index 52e01185e..2145b4067 100644
--- a/templates/cleanup.xml
+++ b/templates/cleanup.xml
@@ -2,9 +2,9 @@
Cleanup Document
org.inkstitch.cleanup
- Use this extension to remove small objects from the document.
+
true
+ gui-description="Removes areas smaller than defined by threshold.">true
20
true
diff --git a/templates/convert_to_stroke.xml b/templates/convert_to_stroke.xml
index f0af01a41..4c8367506 100644
--- a/templates/convert_to_stroke.xml
+++ b/templates/convert_to_stroke.xml
@@ -3,7 +3,7 @@
Convert Satin to Stroke
org.inkstitch.convert_to_stroke
convert_to_stroke
- Converts a satin column into a running stitch.
+
false
diff --git a/templates/embroider.xml b/templates/embroider.xml
index 578ac830a..a9442cf09 100644
--- a/templates/embroider.xml
+++ b/templates/embroider.xml
@@ -2,11 +2,11 @@
Embroider
org.inkstitch.embroider
- Create a stitch file
- Save your embroidery file through | File > Save a Copy ... |
- Choose from listed embroidery file formats and save.
+
+
+
- Multiple file formats can be saved by choosing the zip file format.
+
all
diff --git a/templates/global_commands.xml b/templates/global_commands.xml
index 2bd263f75..a7fe91f5a 100644
--- a/templates/global_commands.xml
+++ b/templates/global_commands.xml
@@ -2,7 +2,7 @@
Add Commands
org.inkstitch.global_commands
- These commands affect the entire embroidery design.
+
{% for command, description in global_commands %}
false
{% endfor %}
diff --git a/templates/layer_commands.xml b/templates/layer_commands.xml
index 2c0200e59..a9996793e 100644
--- a/templates/layer_commands.xml
+++ b/templates/layer_commands.xml
@@ -2,7 +2,7 @@
Add Layer Commands
org.inkstitch.layer_commands
- Commands will be added to the currently-selected layer.
+
{% for command, description in layer_commands %}
false
{% endfor %}
diff --git a/templates/lettering_custom_font_dir.xml b/templates/lettering_custom_font_dir.xml
index ade266ee8..732331d0e 100644
--- a/templates/lettering_custom_font_dir.xml
+++ b/templates/lettering_custom_font_dir.xml
@@ -11,15 +11,15 @@
-
+
-
+
diff --git a/templates/lettering_force_lock_stitches.xml b/templates/lettering_force_lock_stitches.xml
index 4228a6988..7d70e854e 100644
--- a/templates/lettering_force_lock_stitches.xml
+++ b/templates/lettering_force_lock_stitches.xml
@@ -11,15 +11,15 @@
-
+
-
+
1
3
diff --git a/templates/lettering_generate_json.xml b/templates/lettering_generate_json.xml
index b878415ee..a21187986 100644
--- a/templates/lettering_generate_json.xml
+++ b/templates/lettering_generate_json.xml
@@ -15,10 +15,10 @@
-
+
+
@@ -37,9 +37,9 @@
-
+
{%- for category in font_categories %}
{%- if loop.index is divisibleby 4 %}
@@ -79,11 +79,11 @@
- Kerning
-
+
+
diff --git a/templates/lettering_remove_kerning.xml b/templates/lettering_remove_kerning.xml
index 60c3ec929..e21a98340 100644
--- a/templates/lettering_remove_kerning.xml
+++ b/templates/lettering_remove_kerning.xml
@@ -11,13 +11,13 @@
-
+
-
+
diff --git a/templates/lettering_update_json_glyphlist.xml b/templates/lettering_update_json_glyphlist.xml
index 2f3e74cb8..d68a7ab6f 100644
--- a/templates/lettering_update_json_glyphlist.xml
+++ b/templates/lettering_update_json_glyphlist.xml
@@ -11,9 +11,9 @@
-
+