From 28789eefb23323519e8c037a582afb58022e1d8b Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 29 Jan 2008 15:36:56 +0000 Subject: [PATCH] PAL18501 Bug in Netgen 1D2D3D assignement Notify not on hidden algorithm but on ignored submesh --- src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx | 3 +++ src/SMESHGUI/SMESH_msg_en.po | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx index 95af2f6e1..6a393a254 100644 --- a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx @@ -113,6 +113,9 @@ namespace SMESH{ aMsg = QObject::tr(aMsg).arg(aHypName) + QObject::tr(QString("SMESH_HYP_%1").arg(theHypStatus)); + if ( theHypStatus == SMESH::HYP_HIDDEN_ALGO ) // PAL18501 + aMsg = aMsg.arg( GetHypothesisData(theHyp->GetName())->Dim[0] ); + SUIT_MessageBox::warn1(SMESHGUI::desktop(), QObject::tr("SMESH_WRN_WARNING"), aMsg, diff --git a/src/SMESHGUI/SMESH_msg_en.po b/src/SMESHGUI/SMESH_msg_en.po index 910799df3..35d1ed9d6 100644 --- a/src/SMESHGUI/SMESH_msg_en.po +++ b/src/SMESHGUI/SMESH_msg_en.po @@ -1319,7 +1319,7 @@ msgid "SMESH_HYP_3" msgstr "Hypothesis has a bad parameter value" msgid "SMESH_HYP_4" -msgstr "Algorithm is hidden by an algorithm of upper dimension generating all-dimensions elements" +msgstr "Submesh is ignored as there is another algorithm of upper dimension generating %1D elements" msgid "SMESH_HYP_5" msgstr "Algorithm hides algorithm(s) of lower dimension by generating all-dimensions elements" -- 2.30.2