diff options
Diffstat (limited to 'templates')
30 files changed, 98 insertions, 49 deletions
diff --git a/templates/about.xml b/templates/about.xml index 8ad2c783..538b3ca8 100644 --- a/templates/about.xml +++ b/templates/about.xml @@ -21,7 +21,7 @@ <effect needs-live-preview="false" needs-document="false"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> </submenu> </effects-menu> </effect> diff --git a/templates/auto_satin.xml b/templates/auto_satin.xml index 426ea094..a3861313 100644 --- a/templates/auto_satin.xml +++ b/templates/auto_satin.xml @@ -2,13 +2,13 @@ <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="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="Ink/Stitch" translatable="no"> <submenu name="Satin Tools" /> </submenu> </effects-menu> diff --git a/templates/break_apart.xml b/templates/break_apart.xml index 9f6e579f..c834018e 100644 --- a/templates/break_apart.xml +++ b/templates/break_apart.xml @@ -6,7 +6,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Fill Tools" /> </submenu> </effects-menu> @@ -14,7 +14,7 @@ <param name="description" type="description"> 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"> + <param name="method" type="optiongroup" gui-text="Method"> <option value="0">Simple</option> <option value="1">Complex</option> </param> diff --git a/templates/cleanup.xml b/templates/cleanup.xml index e84d5a34..ad594293 100644 --- a/templates/cleanup.xml +++ b/templates/cleanup.xml @@ -3,17 +3,17 @@ <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="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="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="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="Ink/Stitch" translatable="no"> <submenu name="Troubleshoot" /> </submenu> </effects-menu> diff --git a/templates/convert_to_satin.xml b/templates/convert_to_satin.xml index 13b362cf..dd795046 100644 --- a/templates/convert_to_satin.xml +++ b/templates/convert_to_satin.xml @@ -6,7 +6,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Satin Tools" /> </submenu> </effects-menu> diff --git a/templates/convert_to_stroke.xml b/templates/convert_to_stroke.xml index 6b1e5afc..04d81831 100644 --- a/templates/convert_to_stroke.xml +++ b/templates/convert_to_stroke.xml @@ -4,12 +4,12 @@ <id>org.inkstitch.convert_to_stroke</id> <param name="extension" type="string" gui-hidden="true">convert_to_stroke</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="Do not delete original satin column.">false</param> + <param name="keep_satin" type="boolean" gui-text="Keep satin column" + gui-description="Do not delete original satin column.">false</param> <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Satin Tools" /> </submenu> </effects-menu> diff --git a/templates/cut_satin.xml b/templates/cut_satin.xml index 00f4292d..62773ebe 100644 --- a/templates/cut_satin.xml +++ b/templates/cut_satin.xml @@ -6,7 +6,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Satin Tools" /> </submenu> </effects-menu> diff --git a/templates/duplicate_params.xml b/templates/duplicate_params.xml index 7e5c998b..72012bb2 100644 --- a/templates/duplicate_params.xml +++ b/templates/duplicate_params.xml @@ -6,7 +6,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Edit" /> </submenu> </effects-menu> diff --git a/templates/embroider.xml b/templates/embroider.xml index 7f42594b..578ac830 100644 --- a/templates/embroider.xml +++ b/templates/embroider.xml @@ -10,7 +10,7 @@ <effect needs-live-preview="false" needs-document="false"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Visualise and Export" /> </submenu> </effects-menu> diff --git a/templates/embroider_settings.xml b/templates/embroider_settings.xml index 5f2f2c94..09af05fb 100644 --- a/templates/embroider_settings.xml +++ b/templates/embroider_settings.xml @@ -6,15 +6,15 @@ <effect needs-live-preview="false"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch" /> + <submenu name="Ink/Stitch" translatable="no" /> </effects-menu> </effect> <param name="output_settings" type="description" appearance="header"> Output Settings </param> <param name="collapse_len_mm" type="float" precision="1" min="0" max="10" - _gui-text="Collapse length (mm)" - _gui-description="Jump stitches smaller than this will be treated as normal stitches.">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 22c937aa..e7198fc5 100644 --- a/templates/flip.xml +++ b/templates/flip.xml @@ -6,7 +6,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Satin Tools" /> </submenu> </effects-menu> diff --git a/templates/global_commands.xml b/templates/global_commands.xml index 91404eac..2bd263f7 100644 --- a/templates/global_commands.xml +++ b/templates/global_commands.xml @@ -10,7 +10,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> {# L10N Inkscape submenu under Extensions -> Ink/Stitch #} <submenu name="Commands" /> </submenu> diff --git a/templates/import_threadlist.xml b/templates/import_threadlist.xml index 27cc3394..7da3b7f6 100644 --- a/templates/import_threadlist.xml +++ b/templates/import_threadlist.xml @@ -4,11 +4,11 @@ <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"> + <param name="method" type="optiongroup" gui-text="Choose method"> <option value="1">Import Ink/Stitch threadlist</option> <option value="2">Import other threadlist*</option> </param> - <param name="palette" type="enum" _gui-text="*Choose color palette"> + <param name="palette" type="enum" gui-text="*Choose color palette"> {%- for item in threadcatalog %} <item value="{{ item }}">{{ item }}</item> {%- endfor %} @@ -16,7 +16,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Thread Color Management" /> </submenu> </effects-menu> diff --git a/templates/install.xml b/templates/install.xml index 4254de36..2038017a 100644 --- a/templates/install.xml +++ b/templates/install.xml @@ -6,7 +6,7 @@ <effect implements-custom-gui="true"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Thread Color Management" /> </submenu> </effects-menu> diff --git a/templates/install_custom_palette.xml b/templates/install_custom_palette.xml index 1c62b6d0..c69458fb 100644 --- a/templates/install_custom_palette.xml +++ b/templates/install_custom_palette.xml @@ -9,7 +9,7 @@ <effect needs-live-preview="false"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Thread Color Management" /> </submenu> </effects-menu> diff --git a/templates/layer_commands.xml b/templates/layer_commands.xml index 0d934d48..2c0200e5 100644 --- a/templates/layer_commands.xml +++ b/templates/layer_commands.xml @@ -10,7 +10,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Commands" /> </submenu> </effects-menu> diff --git a/templates/lettering.xml b/templates/lettering.xml index be8b092e..e0a162f3 100644 --- a/templates/lettering.xml +++ b/templates/lettering.xml @@ -6,7 +6,7 @@ <effect implements-custom-gui="true"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch" /> + <submenu name="Ink/Stitch" translatable="no" /> </effects-menu> </effect> <script> diff --git a/templates/lettering_custom_font_dir.xml b/templates/lettering_custom_font_dir.xml index 49abf2ff..ade266ee 100644 --- a/templates/lettering_custom_font_dir.xml +++ b/templates/lettering_custom_font_dir.xml @@ -6,7 +6,7 @@ <effect needs-live-preview="false"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Font Management" /> </submenu> </effects-menu> diff --git a/templates/lettering_generate_json.xml b/templates/lettering_generate_json.xml index 04bd192c..9bd048bf 100644 --- a/templates/lettering_generate_json.xml +++ b/templates/lettering_generate_json.xml @@ -6,7 +6,7 @@ <effect needs-live-preview="false"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Font Management" /> </submenu> </effects-menu> diff --git a/templates/lettering_remove_kerning.xml b/templates/lettering_remove_kerning.xml index 9f126381..60c3ec92 100644 --- a/templates/lettering_remove_kerning.xml +++ b/templates/lettering_remove_kerning.xml @@ -6,7 +6,7 @@ <effect needs-live-preview="false"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Font Management" /> </submenu> </effects-menu> diff --git a/templates/letters_to_font.xml b/templates/letters_to_font.xml new file mode 100644 index 00000000..f609d471 --- /dev/null +++ b/templates/letters_to_font.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>Letters to font</name> + <id>org.inkstitch.letters_to_font</id> + <param name="extension" type="string" gui-hidden="true">letters_to_font</param> + <effect needs-live-preview="false"> + <object-type>all</object-type> + <effects-menu> + <submenu name="Ink/Stitch" translatable="no"> + <submenu name="Font Management" /> + </submenu> + </effects-menu> + </effect> + <param name="header" type="description" appearance="header" indent="1" > + Includes all letters of a predigitized embroidery font (one file for each letter) into the document in order to make it available for the Ink/Stitch lettering system. + </param> + <param name="file-description" type="description" indent="1" > + Embroidery files need to have the name of the letter right before the file extension. E.g. A.dst or Example_Font_A.dst will be recognized as the letter A. + </param> + <separator /> + <spacer /> + <param name="file-format" type="optiongroup" appearance="combo" gui-text="File format" indent="1"> + {% for format, description, mimetype, category in formats %} + <option value="*.{{ format | upper }}" translatable="no">{{ format | upper }}</option> + {% endfor %} + </param> + <param type="path" name="font-dir" gui-text="Font directory" indent="1" mode="folder" filetypes="svg"/> + <spacer /> + <param type="boolean" name="import-commands" gui-text="Import commands" indent="1">false</param> + <spacer /> + <separator /> + <param name="file-description" type="description" indent="1" > + ⚠ After running this function, drag the baseline into the desired position and place the letters accordingly. + Save your font in a separate folder. Then generate the json file (with "Autoroute Satin" unchecked). + </param> + <separator /> + <script> + {{ command_tag | safe }} + </script> +</inkscape-extension> diff --git a/templates/object_commands.xml b/templates/object_commands.xml index 6960de7f..18b74df6 100644 --- a/templates/object_commands.xml +++ b/templates/object_commands.xml @@ -9,7 +9,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Commands" /> </submenu> </effects-menu> diff --git a/templates/params.xml b/templates/params.xml index b15d8c0c..662d5077 100644 --- a/templates/params.xml +++ b/templates/params.xml @@ -6,7 +6,7 @@ <effect implements-custom-gui="true"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch" /> + <submenu name="Ink/Stitch" translatable="no" /> </effects-menu> </effect> <script> diff --git a/templates/print.xml b/templates/print.xml index fbfe6072..2fcbe73d 100644 --- a/templates/print.xml +++ b/templates/print.xml @@ -6,7 +6,7 @@ <effect implements-custom-gui="true"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Visualise and Export" /> </submenu> </effects-menu> diff --git a/templates/remove_embroidery_settings.xml b/templates/remove_embroidery_settings.xml index d2eae112..be3615dc 100644 --- a/templates/remove_embroidery_settings.xml +++ b/templates/remove_embroidery_settings.xml @@ -3,16 +3,16 @@ <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="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="Ink/Stitch" translatable="no"> <submenu name="Troubleshoot" /> </submenu> </effects-menu> diff --git a/templates/reorder.xml b/templates/reorder.xml index ce692f65..ad33acd3 100644 --- a/templates/reorder.xml +++ b/templates/reorder.xml @@ -6,7 +6,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Edit" /> </submenu> </effects-menu> diff --git a/templates/selection_to_pattern.xml b/templates/selection_to_pattern.xml index 702ef2e4..01a4a482 100644 --- a/templates/selection_to_pattern.xml +++ b/templates/selection_to_pattern.xml @@ -6,7 +6,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Edit" /> </submenu> </effects-menu> diff --git a/templates/simulator.xml b/templates/simulator.xml index eb082480..db13db2e 100644 --- a/templates/simulator.xml +++ b/templates/simulator.xml @@ -6,7 +6,7 @@ <effect implements-custom-gui="true"> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Visualise and Export" /> </submenu> </effects-menu> diff --git a/templates/stitch_plan_preview.xml b/templates/stitch_plan_preview.xml index 93ae16d1..a40f79e0 100644 --- a/templates/stitch_plan_preview.xml +++ b/templates/stitch_plan_preview.xml @@ -6,11 +6,20 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Visualise and Export" /> </submenu> </effects-menu> </effect> + <param name="move-to-side" type="boolean" gui-text="Move stitch plan beside the canvas">true</param> + <param name="layer-visibility" type="optiongroup" appearance="combo" gui-text="Design layer visibity"> + <option value="0">Unchanged</option> + <option value="1">Hidden</option> + <option value="2">Lower opacity</option> + </param> + <param name="needle-points" type="boolean" gui-text="Needle points">false</param> + <separator /> + <label>Hit Ctrl+Z to undo this action after inspection.</label> <script> {{ command_tag | safe }} </script> diff --git a/templates/troubleshoot.xml b/templates/troubleshoot.xml index 2d672ace..81d0472a 100644 --- a/templates/troubleshoot.xml +++ b/templates/troubleshoot.xml @@ -6,7 +6,7 @@ <effect> <object-type>all</object-type> <effects-menu> - <submenu name="Ink/Stitch"> + <submenu name="Ink/Stitch" translatable="no"> <submenu name="Troubleshoot" /> </submenu> </effects-menu> |
