Update warning messages for improvements 20019 and 20324.

This commit is contained in:
vsr 2009-06-23 13:26:12 +00:00
parent ad77350eea
commit 1190c163f3
2 changed files with 10 additions and 2 deletions

View File

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

View File

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