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
pull/2568/head
Claudine Peyrat 2023-10-21 08:35:43 +02:00 zatwierdzone przez GitHub
rodzic 83d8cf29ba
commit 526cd48a4f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
14 zmienionych plików z 204 dodań i 349 usunięć

Plik diff jest za duży Load Diff

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 793 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 792 KiB

Wyświetl plik

@ -11,9 +11,9 @@
</submenu>
</effects-menu>
</effect>
<param name="description" type="description">
<label>
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>
</label>
<param name="method" type="optiongroup" gui-text="Method">
<option value="0">Simple</option>
<option value="1">Complex</option>

Wyświetl plik

@ -2,9 +2,9 @@
<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>
<label>Use this extension to remove small objects from the document.</label>
<param name="rm_fill" type="boolean" gui-text="Remove Small Fill Areas"
gui-description="Removes areas smaller than dedined by threshold.">true</param>
gui-description="Removes areas smaller than defined 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>

Wyświetl plik

@ -3,7 +3,7 @@
<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">Converts a satin column into a running stitch.</param>
<label>Converts a satin column into a running stitch.</label>
<param name="keep_satin" type="boolean" gui-text="Keep satin column"
gui-description="Do not delete original satin column.">false</param>
<effect>

Wyświetl plik

@ -2,11 +2,11 @@
<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>
<label appearance="header">Create a stitch file</label>
<label>Save your embroidery file through | File > Save a Copy ... |</label>
<label>Choose from listed embroidery file formats and save.</label>
<spacer />
<param name="info_zip" type="description">Multiple file formats can be saved by choosing the zip file format.</param>
<label>Multiple file formats can be saved by choosing the zip file format.</label>
<effect needs-live-preview="false" needs-document="false">
<object-type>all</object-type>
<effects-menu>

Wyświetl plik

@ -2,7 +2,7 @@
<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>
<label>These commands affect the entire embroidery design.</label>
{% for command, description in global_commands %}
<param name="{{ command }}" type="boolean" gui-text="{{ description }}">false</param>
{% endfor %}

Wyświetl plik

@ -2,7 +2,7 @@
<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>
<label>Commands will be added to the currently-selected layer.</label>
{% for command, description in layer_commands %}
<param name="{{ command }}" type="boolean" gui-text="{{ description }}">false</param>
{% endfor %}

Wyświetl plik

@ -11,15 +11,15 @@
</submenu>
</effects-menu>
</effect>
<param name="file-description" type="description" indent="1" >
<label indent="1" >
Set a custom directory for additional fonts to be used with the lettering tool.
</param>
</label>
<spacer />
<param name="path" type="path" mode="folder" gui-text="Custom font directory" indent="1"></param>
<spacer />
<param name="file-description" type="description" indent="1" >
<label indent="1" >
Usage: The custom font directory must contain a subdirectory for each font.
</param>
</label>
<script>
{{ command_tag | safe }}
</script>

Wyświetl plik

@ -11,15 +11,15 @@
</submenu>
</effects-menu>
</effect>
<param name="force-lock-stitches" type="description" indent="1" >
<label indent="1" >
Small fonts will sometimes unravel if threads are cut after the embroidery machine has finished the work.
Therefore it is important that also diacritics with a smaller distance to the font body than defined by the collapse length value (default: 3mm) have lock stitches.
This can be achieved by adding a forced lock stitch attribute to them.
</param>
</label>
<separator />
<param name="extension-description" type="description" indent="1">
<label indent="1">
This extension has been build to help font authors to define "force lock stitches"-attributes automatically if they are placed in a predefined distance to the next object.
</param>
</label>
<param indent="1" name="min_distance" type="float" gui-text="Minimum distance (mm)" min="0" max="3">1</param>
<param indent="1" name="max_distance" type="float" gui-text="Maximum distance (mm)" min="1" max="10">3</param>
<separator />

Wyświetl plik

@ -15,10 +15,10 @@
<param name="options" type="notebook">
<page name="general" gui-text="Font info">
<param name="header" type="description" appearance="header" indent="1" >
<label appearance="header" indent="1" >
Generates font.json which can be used by the lettering tool.
</param>
<param name="file-description" type="description" indent="1" >The generated file can be viewed and updated with a standard text editor tool.</param>
</label>
<label indent="1" >The generated file can be viewed and updated with a standard text editor tool.</label
<spacer />
<separator indent="1"/>
@ -37,9 +37,9 @@
<separator indent="1"/>
<spacer />
<param name="header" type="description" appearance="header" indent="1" >
<label appearance="header" indent="1" >
Keywords
</param>
</label>
<hbox>
{%- for category in font_categories %}
{%- if loop.index is divisibleby 4 %}
@ -79,11 +79,11 @@
</page>
<page name="kerning" gui-text="Kerning">
<param name="header" type="description" appearance="header" indent="1" >Kerning</param>
<param name="kering-info" type="description" indent="1" >
<label appearance="header" indent="1" >Kerning</label>
<label indent="1" >
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>
</label>
<spacer />
<hbox indent="1">

Wyświetl plik

@ -11,13 +11,13 @@
</submenu>
</effects-menu>
</effect>
<param name="header" type="description" appearance="header" indent="1" >
<label appearance="header" indent="1" >
Removes Kerning information from given SVG files
</param>
</label>
<separator />
<param name="file-description" type="description" indent="1" >
<label indent="1" >
&#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>
</label>
<separator />
<spacer />
<param type="path" name="font-files" gui-text="Select Font Files" indent="1" mode="files" filetypes="svg"/>

Wyświetl plik

@ -11,9 +11,9 @@
</submenu>
</effects-menu>
</effect>
<param name="header" type="description" appearance="header" indent="1" >
<label appearance="header" indent="1" >
Updates the glyphlist in the json file.
</param>
</label>
<param type="path" name="font-file" gui-text="SVG Font File" indent="1" mode="file" filetypes="svg"/>
<param type="path" name="json-file" gui-text="JSON File" indent="1" mode="file" filetypes="json"/>
<script>

Wyświetl plik

@ -11,12 +11,12 @@
</submenu>
</effects-menu>
</effect>
<param name="header" type="description" appearance="header" indent="1" >
<label 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" >
</label>
<label 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>
</label>
<separator />
<spacer />
<param name="file-format" type="optiongroup" appearance="combo" gui-text="File format" indent="1">
@ -33,10 +33,10 @@
</param>
<spacer />
<separator />
<param name="file-description" type="description" indent="1" >
<label indent="1" >
&#9888; 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>
</label>
<separator />
<script>
{{ command_tag | safe }}

Wyświetl plik

@ -2,7 +2,7 @@
<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>
<label>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.</label>
<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="optiongroup" gui-text="Remove Commands"