Make 'fluid' lower case in menu text and tooltip

This commit is contained in:
wmayer
2017-11-15 10:16:34 +01:00
parent 1f40d24fd9
commit c5b5d2069e
2 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ class _CommandFemElementFluid1D(FemCommands):
self.resources = {'Pixmap': 'fem-fluid-section',
'MenuText': QtCore.QT_TRANSLATE_NOOP("FEM_ElementFluid1D", "Fluid section for 1D flow"),
'Accel': "C, B",
'ToolTip': QtCore.QT_TRANSLATE_NOOP("FEM_ElementFluid1D", "Creates a FEM Fluid section for 1D flow")}
'ToolTip': QtCore.QT_TRANSLATE_NOOP("FEM_ElementFluid1D", "Creates a FEM fluid section for 1D flow")}
self.is_active = 'with_analysis'
def Activated(self):

View File

@@ -39,9 +39,9 @@ class _CommandFemMaterialFluid(FemCommands):
def __init__(self):
super(_CommandFemMaterialFluid, self).__init__()
self.resources = {'Pixmap': 'fem-material-fluid',
'MenuText': QtCore.QT_TRANSLATE_NOOP("FEM_MaterialFluid", "FEM material for Fluid"),
'MenuText': QtCore.QT_TRANSLATE_NOOP("FEM_MaterialFluid", "FEM material for fluid"),
'Accel': "M, M",
'ToolTip': QtCore.QT_TRANSLATE_NOOP("FEM_MaterialFluid", "Creates a FEM material for Fluid")}
'ToolTip': QtCore.QT_TRANSLATE_NOOP("FEM_MaterialFluid", "Creates a FEM material for fluid")}
self.is_active = 'with_analysis'
def Activated(self):