Salome HOME
Translate names and tooltips for controls
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetRadiobox.cpp
index f872e4ec04da7a96c00d648c2c3cade136e098b5..f98ddc5c0b3d0046a80d6c78f42a889fe573ba41 100644 (file)
@@ -56,11 +56,11 @@ int ModuleBase_WidgetRadiobox::addPage(ModuleBase_PageBase* thePage,
   QRadioButton* aButton;
   if (theIcon.isNull()) {
     aButton = new QRadioButton(theName, aWgt);
-    aButton->setToolTip(theTooltip);
+    aButton->setToolTip(translate(theTooltip.toStdString()));
   }
   else {
     aButton = new QRadioButton(aWgt);
-    aButton->setToolTip(theName);
+    aButton->setToolTip(translate(theName.toStdString()));
   }
   aLay->addStretch();
   aLay->addWidget(aButton);