]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0020844: EDF 1375 GEOM : The toolbar of the "Measures" menu does not exist
authorvsr <vsr@opencascade.com>
Mon, 19 Apr 2010 15:10:21 +0000 (15:10 +0000)
committervsr <vsr@opencascade.com>
Mon, 19 Apr 2010 15:10:21 +0000 (15:10 +0000)
src/GEOMGUI/GEOM_msg_en.ts
src/GEOMGUI/GeometryGUI.cxx

index f3b37db0f5681f6b38e8df6dd57043cfd894eb60..296c9d80e369e394c50a6958f2f292860ad23c5f 100644 (file)
@@ -2097,7 +2097,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>MEN_CHECK</source>
-            <translation>Check</translation>
+            <translation>Check Shape</translation>
         </message>
         <message>
             <source>MEN_CHECK_COMPOUND</source>
@@ -2529,7 +2529,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>MEN_TOLERANCE</source>
-            <translation>Compute Tolerance</translation>
+            <translation>Tolerance</translation>
         </message>
         <message>
             <source>MEN_TOOLS</source>
@@ -2729,11 +2729,11 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>STB_BASIC_PROPS</source>
-            <translation>Basic properties</translation>
+            <translation>Show basic properties of the shape</translation>
         </message>
         <message>
             <source>STB_BND_BOX</source>
-            <translation>Compute bounding box</translation>
+            <translation>Compute bounding box of the shape</translation>
         </message>
         <message>
             <source>STB_BOX</source>
@@ -2749,7 +2749,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>STB_CHECK</source>
-            <translation>Check</translation>
+            <translation>Check shape validity</translation>
         </message>
         <message>
             <source>STB_CHECK_COMPOUND</source>
@@ -2921,7 +2921,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>STB_INERTIA</source>
-            <translation>Compute intertia</translation>
+            <translation>Compute moments of intertia of the shape</translation>
         </message>
         <message>
             <source>STB_ISOS</source>
@@ -2937,11 +2937,11 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>STB_MASS_CENTER</source>
-            <translation>Compute center of mass</translation>
+            <translation>Compute center of mass of the shape</translation>
         </message>
         <message>
             <source>STB_MIN_DIST</source>
-            <translation>Compute minimum distance</translation>
+            <translation>Compute minimum distance between two objects</translation>
         </message>
         <message>
             <source>STB_MIRROR</source>
@@ -2985,7 +2985,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>STB_POINT_COORDS</source>
-            <translation>Point coordinates</translation>
+            <translation>Display point coordinates</translation>
         </message>
         <message>
             <source>STB_POINT_ON_EDGE</source>
@@ -3121,7 +3121,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>STB_TOLERANCE</source>
-            <translation>Compute tolerance</translation>
+            <translation>Compute tolerance of the shape</translation>
         </message>
         <message>
             <source>STB_TORUS</source>
@@ -3251,6 +3251,10 @@ Please, select face, shell or solid and try again</translation>
             <source>TOOL_ADVANCED</source>
             <translation>Advanced</translation>
         </message>
+        <message>
+            <source>TOOL_MEASURES</source>
+            <translation>Measures</translation>
+        </message>
         <message>
             <source>TOP_ARC</source>
             <translation>Create an arc</translation>
@@ -3265,7 +3269,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>TOP_BND_BOX</source>
-            <translation>Compute bounding box</translation>
+            <translation>Bounding box</translation>
         </message>
         <message>
             <source>TOP_BOX</source>
@@ -3281,7 +3285,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>TOP_CHECK</source>
-            <translation>Check</translation>
+            <translation>Check shape</translation>
         </message>
         <message>
             <source>TOP_CHECK_COMPOUND</source>
@@ -3437,7 +3441,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>TOP_INERTIA</source>
-            <translation>Compute intertia</translation>
+            <translation>Moments of intertia</translation>
         </message>
         <message>
             <source>TOP_ISOS</source>
@@ -3453,11 +3457,11 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>TOP_MASS_CENTER</source>
-            <translation>Compute center of mass</translation>
+            <translation>Center of mass</translation>
         </message>
         <message>
             <source>TOP_MIN_DIST</source>
-            <translation>Compute minimum distance</translation>
+            <translation>Minimum distance</translation>
         </message>
         <message>
             <source>TOP_MIRROR</source>
@@ -3625,7 +3629,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>TOP_TOLERANCE</source>
-            <translation>Compute tolerance</translation>
+            <translation>Tolerance</translation>
         </message>
         <message>
             <source>TOP_TORUS</source>
@@ -3777,7 +3781,7 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>TOP_NORMALE</source>
-            <translation>Compute normal to a face</translation>
+            <translation>Normal to a face</translation>
         </message>
         <message>
             <source>MEN_NORMALE</source>
@@ -3785,11 +3789,11 @@ Please, select face, shell or solid and try again</translation>
         </message>
         <message>
             <source>STB_NORMALE</source>
-            <translation>Compute normal to a face in a point (optional)</translation>
+            <translation>Compute normal to the face</translation>
         </message>
         <message>
             <source>TOP_MEASURE_ANGLE</source>
-            <translation>Compute angle</translation>
+            <translation>Angle</translation>
         </message>
         <message>
             <source>MEN_MEASURE_ANGLE</source>
index 3dbfca536ae9a8a7684be927c1b1849c04193a66..8dac74aa04f2457137011e254860d49a4966b509 100644 (file)
@@ -982,6 +982,25 @@ void GeometryGUI::initialize( CAM_Application* app )
   createTool( GEOMOp::OpSolid,    buildTbId );
   createTool( GEOMOp::OpCompound, buildTbId );
 
+  int measureTbId = createTool( tr( "TOOL_MEASURES" ) );
+  createTool( GEOMOp::OpPointCoordinates, measureTbId );
+  createTool( GEOMOp::OpProperties,       measureTbId );
+  createTool( GEOMOp::OpCenterMass,       measureTbId );
+  createTool( GEOMOp::OpInertia,          measureTbId );
+  createTool( GEOMOp::OpNormale,          measureTbId );
+  createTool( separator(),                measureTbId );
+  createTool( GEOMOp::OpBoundingBox,      measureTbId );
+  createTool( GEOMOp::OpMinDistance,      measureTbId );
+  createTool( GEOMOp::OpAngle,            measureTbId );
+  createTool( GEOMOp::OpTolerance  ,      measureTbId );
+  createTool( separator(),                measureTbId );
+  createTool( GEOMOp::OpFreeBoundaries,   measureTbId );
+  createTool( GEOMOp::OpFreeFaces,        measureTbId );
+  createTool( separator(),                measureTbId );
+  createTool( GEOMOp::OpWhatIs,           measureTbId );
+  createTool( GEOMOp::OpCheckShape,       measureTbId );
+  createTool( GEOMOp::OpCheckCompound,    measureTbId );
+
   int advancedTbId = createTool( tr( "TOOL_ADVANCED" ) );
   createTool( GEOMOp::OpPipeTShape, advancedTbId );
   //@@ insert new functions before this line @@//