From 35921443f0957b72034e50be4dc622a21d72809c Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 5 Jun 2019 19:07:30 -0300 Subject: [PATCH] Draft: Renamed DWire to Polyline --- src/Mod/Draft/DraftTools.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Mod/Draft/DraftTools.py b/src/Mod/Draft/DraftTools.py index c4c2f9698a..07d562a909 100644 --- a/src/Mod/Draft/DraftTools.py +++ b/src/Mod/Draft/DraftTools.py @@ -735,9 +735,9 @@ class Wire(Line): def GetResources(self): return {'Pixmap' : 'Draft_Wire', - 'Accel' : "W, I", - 'MenuText': QtCore.QT_TRANSLATE_NOOP("Draft_Wire", "DWire"), - 'ToolTip': QtCore.QT_TRANSLATE_NOOP("Draft_Wire", "Creates a multiple-point DraftWire (DWire). CTRL to snap, SHIFT to constrain")} + 'Accel' : "P, L", + 'MenuText': QtCore.QT_TRANSLATE_NOOP("Draft_Wire", "Polyline"), + 'ToolTip': QtCore.QT_TRANSLATE_NOOP("Draft_Wire", "Creates a multiple-points line (polyline). CTRL to snap, SHIFT to constrain")} def Activated(self): @@ -765,9 +765,9 @@ class Wire(Line): 'FreeCAD.ActiveDocument.recompute()'])]) return - Line.Activated(self,name=translate("draft","DWire")) - + Line.Activated(self,name=translate("draft","Polyline")) + class BSpline(Line): "a FreeCAD command for creating a B-spline"