In Create Mesh dlg, add "objects" to a number of selected GEOM objects

This commit is contained in:
eap 2014-02-20 14:05:45 +04:00
parent 398091c671
commit 4581091214
2 changed files with 10 additions and 5 deletions

View File

@ -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 );

View File

@ -4224,15 +4224,19 @@ It can&apos;t be deleted </translation>
<name>SMESHGUI_Dialog</name>
<message>
<source>DLG_MESH</source>
<translation>meshes</translation>
<translation>mesh(s)</translation>
</message>
<message>
<source>DLG_HYPO</source>
<translation>hypotheses</translation>
<translation>hypothesis(s)</translation>
</message>
<message>
<source>DLG_ALGO</source>
<translation>algorithms</translation>
<translation>algorithm(s)</translation>
</message>
<message>
<source>DLG_GEOM</source>
<translation>object(s)</translation>
</message>
</context>
<context>