mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-30 02:50:34 +05:00
Update warning messages for improvements 20019 and 20324.
This commit is contained in:
parent
ad77350eea
commit
1190c163f3
@ -3775,6 +3775,14 @@ Please, select face, shell or solid and try again</translation>
|
||||
<source>GEOM_IMPORT_ERRORS</source>
|
||||
<translation>Import operation has finished with errors:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GEOM_PUBLISH_NAMED_SHAPES</source>
|
||||
<translation>Create groups for named shapes (if there are any)?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GEOM_SCALE_DIMENSIONS</source>
|
||||
<translation>Length unit in the file is not a 'meter'. Do you want to scale a model?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BasicGUI_EllipseDlg</name>
|
||||
|
@ -713,7 +713,7 @@ bool GEOMToolsGUI::Import()
|
||||
if( aUnitName != "M" ) {
|
||||
if( SUIT_MessageBox::question( app->desktop(),
|
||||
"Question",//tr("WRN_WARNING"),
|
||||
"Length unit in given file is not a 'meter'. Is it needed to scale a model?",
|
||||
QObject::tr("GEOM_SCALE_DIMENSIONS"),
|
||||
SUIT_MessageBox::Yes | SUIT_MessageBox::No,
|
||||
SUIT_MessageBox::No) == SUIT_MessageBox::Yes ) {
|
||||
fileT = "IGES_SCALE";
|
||||
@ -739,7 +739,7 @@ bool GEOMToolsGUI::Import()
|
||||
if( aCurrentType == "ACIS" ) {
|
||||
if( SUIT_MessageBox::question( app->desktop(),
|
||||
"Question",//tr("WRN_WARNING"),
|
||||
"Given file contents some names. Is it needed to create groups for named shapes?",
|
||||
tr("GEOM_PUBLISH_NAMED_SHAPES"),
|
||||
SUIT_MessageBox::Yes | SUIT_MessageBox::No,
|
||||
SUIT_MessageBox::No) == SUIT_MessageBox::Yes ) {
|
||||
GeometryGUI::GetGeomGen()->PublishNamedShapesInStudy(aDSStudy, anObj);
|
||||
|
Loading…
Reference in New Issue
Block a user