]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL18501 Bug in Netgen 1D2D3D assignement
authoreap <eap@opencascade.com>
Tue, 29 Jan 2008 15:38:48 +0000 (15:38 +0000)
committereap <eap@opencascade.com>
Tue, 29 Jan 2008 15:38:48 +0000 (15:38 +0000)
    Notify not on hidden algorithm but on ignored submesh

src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx
src/SMESHGUI/SMESH_msg_en.po

index 5a286ade2fe8c4a447619bd0cc859e11c5c79572..d155656b82ad733bdb0de2af8de76462879bfe4d 100644 (file)
@@ -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,
index aaf9678ff030765266c80007018d30f2c2a09045..04b1cbadac52d0a8a9e5682c9e01ce2773136a24 100644 (file)
@@ -1,3 +1,18 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2008-01-29 16:55+0300\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\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 <EMAIL@ADDRESS>, 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"