<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Auto-Route Running Stitch</name>
    <id>org.{{ id_inkstitch }}.auto_run</id>
    <param name="extension" type="string" gui-hidden="true">auto_run</param>
    <effect>
        <object-type>all</object-type>
        <effects-menu>
            <submenu name="{{ menu_inkstitch }}" translatable="no">
                <submenu name="Tools: Stroke" />
            </submenu>
        </effects-menu>
    </effect>
    <param name="options" type="notebook">
      <page name="options" gui-text="Auto-Route Running Stitch Options">
          <spacer />
          <param name="break_up" type="boolean" gui-text="Add nodes at intersections">true</param>
          <spacer />
          <param name="preserve_order" type="boolean" gui-text="Preserve order of running stitches">false</param>
          <spacer />
          <param name="trim" type="boolean" gui-text="Trim jump stitches">false</param>
      </page>
      <page name="help" gui-text="Help">
          <label appearance="header">Auto-Route Running Stitch</label>
          <label>Add nodes at intersections:</label>
          <spacer />
          <label indent="1">- Enabled (automatic). Ink/Stitch will add some nodes for better routing. This is the default setting.</label>
          <spacer />
          <label indent="1">- Disabled (manual). Choose this option if you have manually set nodes at crucial spots.</label>
          <spacer />
          <separator />
          <label>Use Start- end end commands to define where auto-routing for running stitch should start and end.</label>
          <separator />
          <label>More info on our website:</label>
          <label appearance="url">https://inkstitch.org/docs/stroke-tools#auto-route-running-stitch</label>
      </page>
    </param>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>
