From d113043ea6cde721066ca6b5bfe0f0363d52050c Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 13 Dec 2017 09:46:00 +0300 Subject: [PATCH] Rename SketchPlugin features "Translation", "Rotation", "Mirror" and FeaturesPlugin features "MultiTranslation", "MultiRotation" --- src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h | 2 +- src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.h | 2 +- src/FeaturesPlugin/plugin-Features.xml | 4 ++-- src/SketchPlugin/plugin-Sketch.xml | 10 +++++----- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h b/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h index 32746de99..45af5b97c 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h +++ b/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h @@ -26,7 +26,7 @@ class FeaturesPlugin_MultiRotation : public ModelAPI_Feature /// Multi-rotation kind. inline static const std::string& ID() { - static const std::string MY_MULTIROTATION_ID("MultiRotation"); + static const std::string MY_MULTIROTATION_ID("AngularCopy"); return MY_MULTIROTATION_ID; } diff --git a/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.h b/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.h index 480d89931..4edeb695f 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.h +++ b/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.h @@ -38,7 +38,7 @@ class FeaturesPlugin_MultiTranslation : public ModelAPI_Feature /// Multi-translation kind. inline static const std::string& ID() { - static const std::string MY_MULTITRANSLATION_ID("MultiTranslation"); + static const std::string MY_MULTITRANSLATION_ID("LinearCopy"); return MY_MULTITRANSLATION_ID; } diff --git a/src/FeaturesPlugin/plugin-Features.xml b/src/FeaturesPlugin/plugin-Features.xml index 171d8acb8..88c1c0290 100644 --- a/src/FeaturesPlugin/plugin-Features.xml +++ b/src/FeaturesPlugin/plugin-Features.xml @@ -100,10 +100,10 @@ email : webmaster.salome@opencascade.com - + - + diff --git a/src/SketchPlugin/plugin-Sketch.xml b/src/SketchPlugin/plugin-Sketch.xml index 4372af645..6b728d273 100644 --- a/src/SketchPlugin/plugin-Sketch.xml +++ b/src/SketchPlugin/plugin-Sketch.xml @@ -494,7 +494,7 @@ email : webmaster.salome@opencascade.com @@ -515,8 +515,8 @@ email : webmaster.salome@opencascade.com + title="Linear copy" icon="icons/Sketch/translate.png" + tooltip="Copy objects and move"> + title="Angular copy" icon="icons/Sketch/rotate.png" + tooltip="Copy objects and rotate">