Salome HOME
Issue #1005: To improve user-friendship of error-messages for features and attributes
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetOptionalBox.cpp
index b2e6ad5a4bf044c730460b3f266652043f88d17c..73a80de18221689321085d338c922d40927d3ca1 100755 (executable)
@@ -131,11 +131,11 @@ void ModuleBase_WidgetOptionalBox::createControl(const OptionType& theType)
   if (theType == GroupBox && !myGroupBox) {
     // group box: more than one model widget is inside
     myGroupBox = new QGroupBox(this);
-    myGroupBox->setTitle(QString::fromStdString(myGroupTitle));
+    myGroupBox->setTitle(translate(myGroupTitle));
     myGroupBox->setVisible(false);
     myGroupBox->setCheckable(true);
     myGroupBox->setChecked(getDefaultValue() == "true");
-    myGroupBox->setToolTip(QString::fromStdString(myToolTip));
+    myGroupBox->setToolTip(translate(myToolTip));
 
     myGroupBoxLayout = new QGridLayout(myGroupBox);
     ModuleBase_Tools::zeroMargins(myGroupBoxLayout);