]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Traduction
authorGérald NICOLAS <gerald.nicolas@edf.fr>
Tue, 5 Oct 2021 15:43:16 +0000 (17:43 +0200)
committerGérald NICOLAS <gerald.nicolas@edf.fr>
Tue, 5 Oct 2021 15:43:16 +0000 (17:43 +0200)
src/XGUI/XGUI_InspectionPanel.cpp

index 58092f3bfa585dac324edf0c93aa96173599c6b6..e48c602008da7ce26b8484bc25302745caadc4a2 100644 (file)
@@ -404,9 +404,9 @@ void XGUI_InspectionPanel::fillEdge(const GeomEdgePtr& theEdge)
     if (aCircle) {
       addStartEndPoints = aStartPnt->distance(aEndPnt) >= Precision::Confusion();
       if (addStartEndPoints)
-        myTypeLbl->setText("Arc of circle");
+        myTypeLbl->setText(tr("Arc of circle"));
       else
-        myTypeLbl->setText("Circle");
+        myTypeLbl->setText(tr("Circle"));
 
       appendPointToParameters(tr("Center"), aCircle->center(), aParams);
       appendDirToParameters(tr("Normal"), aCircle->normal(), aParams);
@@ -418,9 +418,9 @@ void XGUI_InspectionPanel::fillEdge(const GeomEdgePtr& theEdge)
       if (anEllipse) {
         addStartEndPoints = aStartPnt->distance(aEndPnt) >= Precision::Confusion();
         if (addStartEndPoints)
-          myTypeLbl->setText("Arc of ellipse");
+          myTypeLbl->setText(tr("Arc of ellipse"));
         else
-          myTypeLbl->setText("Ellipse");
+          myTypeLbl->setText(tr("Ellipse"));
 
         appendPointToParameters(tr("Center"), anEllipse->center(), aParams);
         appendDirToParameters(tr("Normal"), anEllipse->normal(), aParams);