</message>
<message>
<source>GEOM_SCALE_DIMENSIONS</source>
- <translation>Would you like to take into account the units?
-Otherwise the dimensions will be kept without modifications.</translation>
+ <translation>Take into account the units (%1) embedded to the file?
+Ignoring units will cause model scaling (as dimensions are supposed to
+be specified in meters).</translation>
</message>
<message>
<source>GEOM_ADVANCED</source>
// jfa 21.08.2012 for mantis issue 21511 (STEP file units)
CORBA::String_var aUnits = aInsOp->ReadValue(fileN, fileT, "LEN_UNITS");
- TCollection_AsciiString aUnitsStr (aUnits.in());
+ QString aUnitsStr (aUnits.in());
bool needConvert = true;
- if (aUnitsStr.IsEmpty() || aUnitsStr == "M")
+ if (aUnitsStr.isEmpty() || aUnitsStr == "M")
needConvert = false;
if (needConvert) {
if (i < fileNames.count() - 1) btns = btns | SUIT_MessageBox::YesToAll | SUIT_MessageBox::NoToAll;
igesAnswer = SUIT_MessageBox::question(app->desktop(),
"Question",//tr("WRN_WARNING"),
- tr("GEOM_SCALE_DIMENSIONS"),
+ tr("GEOM_SCALE_DIMENSIONS").arg(aUnitsStr),
btns | SUIT_MessageBox::Cancel,
SUIT_MessageBox::No);
switch (igesAnswer) {