From: eap Date: Tue, 29 Jan 2008 15:38:48 +0000 (+0000) Subject: PAL18501 Bug in Netgen 1D2D3D assignement X-Git-Tag: V3_2_10~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3144dd7e28df87ed3dfd9049246dc12f80fb81a4;p=modules%2Fsmesh.git PAL18501 Bug in Netgen 1D2D3D assignement Notify not on hidden algorithm but on ignored submesh --- diff --git a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx index 5a286ade2..d155656b8 100644 --- a/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx @@ -97,6 +97,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 aaf9678ff..04b1cbada 100644 --- a/src/SMESHGUI/SMESH_msg_en.po +++ b/src/SMESHGUI/SMESH_msg_en.po @@ -1,3 +1,18 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2008-01-29 16:55+0300\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Free Software Foundation, Inc. # FIRST AUTHOR , YEAR. @@ -1320,7 +1335,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"