diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-08-20 15:49:19 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-08-20 15:56:29 -0400 |
| commit | 871358d990d4a06b2eaaf0e405f2d18e26753d52 (patch) | |
| tree | 700b6c2efea45e5e5aa69fb5e92285327227d7f2 /templates/object_commands.inx | |
| parent | f7f59efd7d5117c6b9b43b100df5fe646ea46bc3 (diff) | |
gettextify INX templates
Diffstat (limited to 'templates/object_commands.inx')
| -rw-r--r-- | templates/object_commands.inx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/templates/object_commands.inx b/templates/object_commands.inx index bba8602b..71f9d0b3 100644 --- a/templates/object_commands.inx +++ b/templates/object_commands.inx @@ -1,19 +1,16 @@ <?xml version="1.0" encoding="UTF-8"?> <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> - <_name>Attach Commands</_name> + <name>{% trans %}Attach Commands{% endtrans %}</name> <id>org.inkstitch.commands</id> <dependency type="executable" location="extensions">inkstitch.py</dependency> <dependency type="executable" location="extensions">inkex.py</dependency> - <param name="fill_start" type="boolean" _gui-text="Fill stitch starting position">false</param> - <param name="fill_end" type="boolean" _gui-text="Fill stitch ending position">false</param> - <param name="stop" type="boolean" _gui-text="Stop after sewing this object">false</param> - <param name="trim" type="boolean" _gui-text="Trim thread after sewing this object">false</param> - <param name="ignore_object" type="boolean" _gui-text="Ignore this object (do not stitch)">false</param> - <param name="extension" type="string" gui-hidden="true">object_commands</param> + {% for command, description in object_commands %} + <param name="{{ object }}" type="boolean" gui-text="{{ _(description ) }}">false</param> + {% endfor %} <effect> <object-type>all</object-type> <effects-menu> - <submenu _name="Embroidery" /> + <submenu name="Ink/Stitch" /> </effects-menu> </effect> <script> |
