From: eap Date: Thu, 20 Feb 2014 10:05:45 +0000 (+0400) Subject: In Create Mesh dlg, add "objects" to a number of selected GEOM objects X-Git-Tag: V7_4_0a1~61 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=45810912147bdd6c4e5fb40a0d79495a5c9307ea;p=modules%2Fsmesh.git In Create Mesh dlg, add "objects" to a number of selected GEOM objects --- diff --git a/src/SMESHGUI/SMESHGUI_Dialog.cxx b/src/SMESHGUI/SMESHGUI_Dialog.cxx index 23525fe69..8e517718f 100644 --- a/src/SMESHGUI/SMESHGUI_Dialog.cxx +++ b/src/SMESHGUI/SMESHGUI_Dialog.cxx @@ -46,9 +46,10 @@ SMESHGUI_Dialog::SMESHGUI_Dialog( QWidget* parent, const bool modal, : LightApp_Dialog( parent == 0 ? desktop() : parent, "", modal, allowResize, flags ) { int pr = prefix( "SMESH" ); - typeName( pr + SMESH::MESH ) = tr( "DLG_MESH" ); + typeName( pr + SMESH::MESH ) = tr( "DLG_MESH" ); typeName( pr + SMESH::HYPOTHESIS ) = tr( "DLG_HYPO" ); - typeName( pr + SMESH::ALGORITHM ) = tr( "DLG_ALGO" ); + typeName( pr + SMESH::ALGORITHM ) = tr( "DLG_ALGO" ); + typeName( prefix( "GEOM" ) ) = tr( "DLG_GEOM" ); setButtonText(1, tr("SMESH_BUT_APPLY_AND_CLOSE")); //rename OK to Apply and Close if ( flags & Close ) setButtonPosition( Right, Close ); diff --git a/src/SMESHGUI/SMESH_msg_en.ts b/src/SMESHGUI/SMESH_msg_en.ts index 4f87f5cf5..baf4a4ca7 100644 --- a/src/SMESHGUI/SMESH_msg_en.ts +++ b/src/SMESHGUI/SMESH_msg_en.ts @@ -4224,15 +4224,19 @@ It can't be deleted SMESHGUI_Dialog DLG_MESH - meshes + mesh(s) DLG_HYPO - hypotheses + hypothesis(s) DLG_ALGO - algorithms + algorithm(s) + + + DLG_GEOM + object(s)