mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
In Create Mesh dlg, add "objects" to a number of selected GEOM objects
This commit is contained in:
parent
398091c671
commit
4581091214
@ -46,9 +46,10 @@ SMESHGUI_Dialog::SMESHGUI_Dialog( QWidget* parent, const bool modal,
|
|||||||
: LightApp_Dialog( parent == 0 ? desktop() : parent, "", modal, allowResize, flags )
|
: LightApp_Dialog( parent == 0 ? desktop() : parent, "", modal, allowResize, flags )
|
||||||
{
|
{
|
||||||
int pr = prefix( "SMESH" );
|
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::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
|
setButtonText(1, tr("SMESH_BUT_APPLY_AND_CLOSE")); //rename OK to Apply and Close
|
||||||
if ( flags & Close )
|
if ( flags & Close )
|
||||||
setButtonPosition( Right, Close );
|
setButtonPosition( Right, Close );
|
||||||
|
@ -4224,15 +4224,19 @@ It can't be deleted </translation>
|
|||||||
<name>SMESHGUI_Dialog</name>
|
<name>SMESHGUI_Dialog</name>
|
||||||
<message>
|
<message>
|
||||||
<source>DLG_MESH</source>
|
<source>DLG_MESH</source>
|
||||||
<translation>meshes</translation>
|
<translation>mesh(s)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>DLG_HYPO</source>
|
<source>DLG_HYPO</source>
|
||||||
<translation>hypotheses</translation>
|
<translation>hypothesis(s)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>DLG_ALGO</source>
|
<source>DLG_ALGO</source>
|
||||||
<translation>algorithms</translation>
|
<translation>algorithm(s)</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>DLG_GEOM</source>
|
||||||
|
<translation>object(s)</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
|
Loading…
Reference in New Issue
Block a user