FEM: fix translation issue of FEM Menue
This commit is contained in:
parent
1531f5a325
commit
fcd4603b66
|
@ -39,9 +39,9 @@ class _CommandMechanicalMaterial(FemCommands):
|
|||
def __init__(self):
|
||||
super(_CommandMechanicalMaterial, self).__init__()
|
||||
self.resources = {'Pixmap': 'fem-material',
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Fem_Material", "Mechanical material..."),
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Fem_MechanicalMaterial", "Mechanical material..."),
|
||||
'Accel': "M, M",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Fem_Material", "Creates or edit the mechanical material definition.")}
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Fem_MechanicalMaterial", "Creates or edit the mechanical material definition.")}
|
||||
self.is_active = 'with_analysis'
|
||||
|
||||
def Activated(self):
|
||||
|
|
|
@ -37,9 +37,9 @@ class _CommandMechanicalShowResult(FemCommands):
|
|||
def __init__(self):
|
||||
super(_CommandMechanicalShowResult, self).__init__()
|
||||
self.resources = {'Pixmap': 'fem-result',
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Fem_Result", "Show result"),
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Fem_ShowResult", "Show result"),
|
||||
'Accel': "S, R",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Fem_Result", "Show result information of an analysis")}
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Fem_ShowResult", "Show result information of an analysis")}
|
||||
self.is_active = 'with_results'
|
||||
|
||||
def Activated(self):
|
||||
|
|
|
@ -37,9 +37,9 @@ class _CommandSolverJobControl(FemCommands):
|
|||
def __init__(self):
|
||||
super(_CommandSolverJobControl, self).__init__()
|
||||
self.resources = {'Pixmap': 'fem-new-analysis',
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Fem_JobControl", "Start solver job control"),
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Fem_SolverJobControl", "Start solver job control"),
|
||||
'Accel': "S, C",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Fem_JobControl", "Dialog to start the calculation of the selected solver")}
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Fem_SolverJobControl", "Dialog to start the calculation of the selected solver")}
|
||||
self.is_active = 'with_solver'
|
||||
|
||||
def Activated(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user