From 6995af39bfcc38a0ce9ecf1d71f5bc2b8c8e467a Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Fri, 23 Dec 2022 16:25:35 +0100 Subject: [PATCH] MeshPart: Fix translation issues --- src/Mod/MeshPart/Gui/MeshFlatteningCommand.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py b/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py index 86eb8b8fbe..8ee5893b95 100644 --- a/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py +++ b/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py @@ -44,8 +44,8 @@ class CreateFlatMesh(BaseCommand): def GetResources(self): return {'Pixmap': 'MeshPart_CreateFlatMesh.svg', - 'MenuText': QT_TRANSLATE_NOOP("MeshPart_FlatteningCommand", "Unwrap Mesh"), - 'ToolTip': QT_TRANSLATE_NOOP("MeshPart_FlatteningCommand", "Find a flat representation of a mesh.")} + 'MenuText': QT_TRANSLATE_NOOP("MeshPart_CreateFlatMesh", "Unwrap Mesh"), + 'ToolTip': QT_TRANSLATE_NOOP("MeshPart_CreateFlatMesh", "Find a flat representation of a mesh.")} def Activated(self): import numpy as np @@ -76,8 +76,8 @@ class CreateFlatFace(BaseCommand): def GetResources(self): return {'Pixmap': 'MeshPart_CreateFlatFace.svg', - 'MenuText': QT_TRANSLATE_NOOP("MeshPart_FlatteningCommand", "Unwrap Face"), - 'ToolTip': QT_TRANSLATE_NOOP("MeshPart_FlatteningCommand", "Find a flat representation of a mesh.")} + 'MenuText': QT_TRANSLATE_NOOP("MeshPart_CreateFlatFace", "Unwrap Face"), + 'ToolTip': QT_TRANSLATE_NOOP("MeshPart_CreateFlatFace", "Find a flat representation of a face.")} def Activated(self): import numpy as np