Skip to content

Commit

Permalink
💬 Rephrase GCODE scripts description
Browse files Browse the repository at this point in the history
Apparently "after establishing the connection to the printer" could be
misunderstood, see OctoPrint#4126
  • Loading branch information
foosel committed May 7, 2021
1 parent a0db794 commit 7131738
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/octoprint/templates/dialogs/settings/gcodescripts.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('After connection to printer is established') }}</label>
<label class="control-label">{{ _('After serial connection to printer is established') }}</label>
<div class="controls">
<textarea rows="8" class="block monospace" data-bind="value: scripts_gcode_afterPrinterConnected"></textarea>
</div>
</div>
<div class="control-group">
<label class="control-label">{{ _('Before connection to printer is closed') }}</label>
<label class="control-label">{{ _('Before serial connection to printer is closed') }}</label>
<div class="controls">
<textarea rows="8" class="block monospace" data-bind="value: scripts_gcode_beforePrinterDisconnected"></textarea>
<small>{{ _('Anything you put here will only be executed when closing the connection actively. If the connection to the printer is suddenly lost nothing will be sent.') }}</small>
<small>{{ _('Anything you put here will only be executed when closing the serial connection actively. If the serial connection to the printer is suddenly lost nothing will be sent.') }}</small>
</div>
</div>
</form>

0 comments on commit 7131738

Please sign in to comment.