Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch: Fix ArchCutPlane translation issue #5444

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Mod/Arch/ArchCutPlane.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ def cutComponentwithPlane(archObject, cutPlane, sideFace):
class _CommandCutLine:
"the Arch CutPlane command definition"
def GetResources(self):
return {'Pixmap' : 'Arch_CutLine',
'MenuText': QtCore.QT_TRANSLATE_NOOP("Arch_CutPlane","Cut with a line"),
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Arch_CutPlane","Cut an object with a line with normal workplane")}
return {"Pixmap": "Arch_CutLine",
"MenuText": QtCore.QT_TRANSLATE_NOOP("Arch_CutLine", "Cut with line"),
"ToolTip": QtCore.QT_TRANSLATE_NOOP("Arch_CutLine", "Cut an object with a line")}

def IsActive(self):
return len(FreeCADGui.Selection.getSelection()) > 1
Expand Down