summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/extensions/__init__.py4
-rw-r--r--lib/extensions/duplicate_params.py (renamed from lib/extensions/transfer_params.py)4
-rw-r--r--templates/duplicate_params.xml (renamed from templates/transfer_params.xml)6
3 files changed, 7 insertions, 7 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
diff --git a/templates/transfer_params.xml b/templates/duplicate_params.xml
index 7e256cd4..2fc83c52 100644
--- a/templates/transfer_params.xml
+++ b/templates/duplicate_params.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>{% trans %}Transfer Params{% endtrans %}</name>
- <id>org.inkstitch.transfer_params.{{ locale }}</id>
- <param name="extension" type="string" gui-hidden="true">transfer_params</param>
+ <name>{% trans %}Duplicate Params{% endtrans %}</name>
+ <id>org.inkstitch.duplicate_params.{{ locale }}</id>
+ <param name="extension" type="string" gui-hidden="true">duplicate_params</param>
<effect>
<object-type>all</object-type>
<effects-menu>