summaryrefslogtreecommitdiff
path: root/embroider.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-02-24 20:28:51 -0500
committerGitHub <noreply@github.com>2018-02-24 20:28:51 -0500
commit0ecf74297cdb2605278618cd8ea32e6a647444a3 (patch)
treef4428b73a4c2d76b42767782594ce0f6c0d4f024 /embroider.py
parentc82636df32d01568d0e9c98775e77c00362eefa6 (diff)
use gettext for params tab names (#68)
* use gettext for params tab names * new localization messages
Diffstat (limited to 'embroider.py')
-rw-r--r--embroider.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/embroider.py b/embroider.py
index dfc7c7c9..e0c489e4 100644
--- a/embroider.py
+++ b/embroider.py
@@ -38,6 +38,8 @@ import inkstitch
from inkstitch import _, cache, dbg, param, EmbroideryElement, get_nodes, SVG_POLYLINE_TAG, SVG_GROUP_TAG, PIXELS_PER_MM, get_viewbox_transform
class Fill(EmbroideryElement):
+ element_name = _("Fill")
+
def __init__(self, *args, **kwargs):
super(Fill, self).__init__(*args, **kwargs)
@@ -369,6 +371,8 @@ class MaxQueueLengthExceeded(Exception):
pass
class AutoFill(Fill):
+ element_name = _("Auto-Fill")
+
@property
@param('auto_fill', _('Automatically routed fill stitching'), type='toggle', default=True)
def auto_fill(self):
@@ -880,6 +884,8 @@ class AutoFill(Fill):
class Stroke(EmbroideryElement):
+ element_name = "Stroke"
+
@property
@param('satin_column', _('Satin stitch along paths'), type='toggle', inverse=True)
def satin_column(self):
@@ -992,6 +998,8 @@ class Stroke(EmbroideryElement):
class SatinColumn(EmbroideryElement):
+ element_name = _("Satin Column")
+
def __init__(self, *args, **kwargs):
super(SatinColumn, self).__init__(*args, **kwargs)