summaryrefslogtreecommitdiff
path: root/lib/extensions
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-04-05 18:54:09 +0200
committerGitHub <noreply@github.com>2021-04-05 18:54:09 +0200
commitd713c8649231aee5ffd61df156fee55f90775b03 (patch)
tree4bedb0506cd839cc4917ebbbbbaf8d87b73f780d /lib/extensions
parent767ead90813b296de991de497bfe0e2d33c7452e (diff)
rename transfer params to duplicate params (#1128)
Diffstat (limited to 'lib/extensions')
-rw-r--r--lib/extensions/__init__.py4
-rw-r--r--lib/extensions/duplicate_params.py (renamed from lib/extensions/transfer_params.py)4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/extensions/__init__.py b/lib/extensions/__init__.py
index 67e37121..25f835c3 100644
--- a/lib/extensions/__init__.py
+++ b/lib/extensions/__init__.py
@@ -10,6 +10,7 @@ from .break_apart import BreakApart
from .cleanup import Cleanup
from .convert_to_satin import ConvertToSatin
from .cut_satin import CutSatin
+from .duplicate_params import DuplicateParams
from .embroider_settings import EmbroiderSettings
from .flip import Flip
from .global_commands import GlobalCommands
@@ -29,7 +30,6 @@ from .remove_embroidery_settings import RemoveEmbroiderySettings
from .reorder import Reorder
from .simulator import Simulator
from .stitch_plan_preview import StitchPlanPreview
-from .transfer_params import TransferParams
from .zip import Zip
__all__ = extensions = [StitchPlanPreview,
@@ -57,5 +57,5 @@ __all__ = extensions = [StitchPlanPreview,
ImportThreadlist,
Simulator,
Reorder,
- TransferParams,
+ DuplicateParams,
EmbroiderSettings]
diff --git a/lib/extensions/transfer_params.py b/lib/extensions/duplicate_params.py
index c10393e2..9fcdbf1c 100644
--- a/lib/extensions/transfer_params.py
+++ b/lib/extensions/duplicate_params.py
@@ -10,13 +10,13 @@ from ..svg.tags import EMBROIDERABLE_TAGS, SVG_GROUP_TAG
from .base import InkstitchExtension
-class TransferParams(InkstitchExtension):
+class DuplicateParams(InkstitchExtension):
# Transfer inkstitch namespaced attributes from the first selected element to the rest of selection
def effect(self):
objects = self.get_selected_in_order()
if len(objects) < 2:
- inkex.errormsg(_("This function transfers Ink/Stitch parameters from the first selected element to the rest of the selection. "
+ inkex.errormsg(_("This function copies Ink/Stitch parameters from the first selected element to the rest of the selection. "
"Please select at least two elements."))
return