From 45810912147bdd6c4e5fb40a0d79495a5c9307ea Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 20 Feb 2014 14:05:45 +0400 Subject: [PATCH] In Create Mesh dlg, add "objects" to a number of selected GEOM objects --- src/SMESHGUI/SMESHGUI_Dialog.cxx | 5 +++-- src/SMESHGUI/SMESH_msg_en.ts | 10 +++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) 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) -- 2.30.2