Salome HOME
bos #24513 Dealing with conflicting constraints
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_msg_en.ts
index 4b71ef4b39c42cf656d8040e92a6c0dae8156ad9..1361cdc7919ed7eed4120bbcc8a647f307c438a3 100644 (file)
@@ -1,6 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE TS>
 <TS version="2.0" language="en_US">
+
+  <context>
+    <name>workshop</name>
+    <message>
+      <source>Curve fitting</source>
+      <translation>Curve fitting</translation>
+    </message>
+  </context>
+
+  <!-- Validators -->
+
   <context>
     <name>Sketch:Model_FeatureValidator</name>
     <message>
@@ -71,7 +82,7 @@
       <translation>Can not compute the solver error</translation>
     </message>
   </context>
-  
+
   <context>
     <name>SketchMacroCircle:center_point</name>
     <message>
     </message>
   </context>
 
+  <context>
+    <name>SketchMacroEllipticArc:Model_FeatureValidator</name>
+    <message>
+      <source>Attribute "%1" is not initialized.</source>
+      <translation>Select a point.</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchMacroEllipticArc:center</name>
+    <message>
+      <source>Attribute "%1" is locked by modification value in the viewer.</source>
+      <translation>Select a point.</translation>
+    </message>
+    <message>
+      <source>Attribute "%1" is not initialized.</source>
+      <translation>Select a center point.</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchMacroEllipticArc:end_point</name>
+    <message>
+      <source>Attribute "%1" is locked by modification value in the viewer.</source>
+      <translation>Select an end point.</translation>
+    </message>
+    <message>
+      <source>Attribute "%1" is not initialized.</source>
+      <translation>Select an end point.</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchMacroEllipticArc:major_axis_point</name>
+    <message>
+      <source>Attribute "%1" is locked by modification value in the viewer.</source>
+      <translation>Select a major axis point.</translation>
+    </message>
+    <message>
+      <source>Attribute "%1" is not initialized.</source>
+      <translation>Select a major axis point.</translation>
+    </message>
+  </context>
+
   <context>
     <name>SketchSplit:Model_FeatureValidator</name>
     <message>
       <translation>Point is not defined</translation>
     </message>
   </context>
+  <context>
+    <name>SketchPoint:PointCoordinates</name>
+    <message>
+      <source>Attribute "%1" is not initialized.</source>
+      <translation>Select a point</translation>
+    </message>
+  </context>
   <context>
     <name>SketchPoint:PointCoordinates</name>
     <message>
   </context>
   
   <context>
-    <name>SketchRectangle:GeomValidators_Different</name>
+    <name>SketchRectangle</name>
     <message>
-      <source>Attributes RectStartPoint and RectEndPoint are equal.</source>
-      <translation>Start point and end point must be different</translation>
+      <source>Create rectangle</source>
+      <translation>Create rectangle</translation>
+    </message>
+    <message>
+      <source>Rectangle</source>
+      <translation>Rectangle</translation>
     </message>
   </context>
   <context>
-    <name>SketchRectangle:RectEndPoint</name>
+    <name>SketchRectangle:Auxiliary</name>
     <message>
-      <source>Attribute "%1" is locked by modification value in the viewer.</source>
-      <translation>Select an end point of the rectangle.</translation>
+      <source>Auxiliary</source>
+      <translation>Auxiliary</translation>
+    </message>
+    <message>
+      <source>Construction element</source>
+      <translation>Construction element</translation>
     </message>
   </context>
   <context>
-    <name>SketchRectangle:RectStartPoint</name>
+    <name>SketchRectangle:RectCenterPoint</name>
     <message>
       <source>Attribute "%1" is locked by modification value in the viewer.</source>
       <translation>Select a point.</translation>
     </message>
+    <message>
+      <source>Center</source>
+      <translation>Center</translation>
+    </message>
   </context>
   <context>
-    <name>SketchRectangle:Model_FeatureValidator</name>
+    <name>SketchRectangle:RectCornerPoint</name>
     <message>
-      <source>Attribute "%1" is not initialized.</source>
+      <source>Attribute "%1" is locked by modification value in the viewer.</source>
       <translation>Select a point.</translation>
     </message>
+    <message>
+      <source>Corner</source>
+      <translation>Corner</translation>
+    </message>
   </context>
   <context>
     <name>SketchRectangle:RectEndPoint</name>
     <message>
-      <source>Attribute "%1" is locked by modification value in the viewer.</source>
+      <source>Attribute "%1" is not initialized.</source>
       <translation>Select a point.</translation>
     </message>
+    <message>
+      <source>End point</source>
+      <translation>End point</translation>
+    </message>
   </context>
   <context>
     <name>SketchRectangle:RectStartPoint</name>
     <message>
-      <source>Attribute "%1" is locked by modification value in the viewer.</source>
-      <translation>Select an point.</translation>
+      <source>Attribute "%1" is not initialized.</source>
+      <translation>Select a point.</translation>
+    </message>
+    <message>
+      <source>Start point</source>
+      <translation>Start point</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchRectangle:RectangleType</name>
+    <message>
+      <source>Rectangle by center and corner</source>
+      <translation>Rectangle by center and corner</translation>
+    </message>
+    <message>
+      <source>Rectangle by corners</source>
+      <translation>Rectangle by corners</translation>
     </message>
   </context>
 
     <name>SketchConstraintCoincidence:ConstraintEntityA:PartSet_DifferentObjects</name>
     <message>
       <source>The feature uses one  object in ConstraintEntityA and ConstraintEntityB attributes.</source>
-      <translation>Diferent objects should be selected</translation>
+      <translation>Different objects should be selected</translation>
     </message>
   </context>
   <context>
     <name>SketchConstraintCoincidence:ConstraintEntityB:PartSet_DifferentObjects</name>
     <message>
       <source>The feature uses one  object in ConstraintEntityB and ConstraintEntityA attributes.</source>
-      <translation>Diferent objects should be selected</translation>
+      <translation>Different objects should be selected</translation>
     </message>
   </context>
   <context>
     <name>SketchConstraintEqual:ConstraintEntityA:PartSet_DifferentObjects</name>
     <message>
       <source>The feature uses one  object in ConstraintEntityA and ConstraintEntityB attributes.</source>
-      <translation>Diferent objects should be selected</translation>
+      <translation>Different objects should be selected</translation>
     </message>
   </context>
   <context>
     <name>SketchConstraintEqual:ConstraintEntityB:PartSet_DifferentObjects</name>
     <message>
       <source>The feature uses one  object in ConstraintEntityB and ConstraintEntityA attributes.</source>
-      <translation>Diferent objects should be selected</translation>
+      <translation>Different objects should be selected</translation>
     </message>
   </context>
   <context>
       <source>An empty object is used.</source>
       <translation>An empty object is used</translation>
     </message>
+    <message>
+      <source>The %1 feature is not supported by the Equal constraint.</source>
+      <translation>The %1 feature is not supported by the Equal constraint.</translation>
+    </message>
+    <message>
+      <source>Features with kinds %1 and %2 can not be equal.</source>
+      <translation>Features with kinds %1 and %2 can not be equal.</translation>
+    </message>
   </context>
   <context>
     <name>SketchConstraintEqual:Model_FeatureValidator</name>
     <name>SketchConstraintMiddle:ConstraintEntityA:PartSet_DifferentObjects</name>
     <message>
       <source>The feature uses one  object in ConstraintEntityA and ConstraintEntityB attributes.</source>
-      <translation>Diferent objects should be selected</translation>
+      <translation>Different objects should be selected</translation>
     </message>
   </context>
   <context>
     <name>SketchConstraintMiddle:ConstraintEntityB:PartSet_DifferentObjects</name>
     <message>
       <source>The feature uses one  object in ConstraintEntityB and ConstraintEntityA attributes.</source>
-      <translation>Diferent objects should be selected</translation>
+      <translation>Different objects should be selected</translation>
     </message>
   </context>
   <context>
     <name>SketchConstraintTangent:ConstraintEntityA:PartSet_DifferentObjects</name>
     <message>
       <source>The feature uses one  object in ConstraintEntityA and ConstraintEntityB attributes.</source>
-      <translation>Diferent objects should be selected</translation>
+      <translation>Different objects should be selected</translation>
     </message>
   </context>
   <context>
     <name>SketchConstraintTangent:ConstraintEntityB:PartSet_DifferentObjects</name>
     <message>
       <source>The feature uses one  object in ConstraintEntityB and ConstraintEntityA attributes.</source>
-      <translation>Diferent objects should be selected</translation>
+      <translation>Different objects should be selected</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchConstraintTangent:ConstraintEntityA:SketchPlugin_TangentAttr</name>
+    <message>
+      <source>Two segments cannot be tangent</source>
+      <translation>Two segments cannot be tangent</translation>
+    </message>
+    <message>
+      <source>Two B-splines cannot be tangent</source>
+      <translation>Two B-splines cannot be tangent</translation>
     </message>
   </context>
   <context>
   <context>
     <name>SketchFillet:ConstraintEntityA:SketchPlugin_FilletVertexValidator</name>
     <message>
-      <source>Error: one of the selected point does not have coicidence.</source>
-      <translation>One of the selected point does not have coicidence</translation>
+      <source>Error: one of the selected point does not have coincidence.</source>
+      <translation>One of the selected point does not have coincidence</translation>
     </message>
   </context>
   <context>
       <translation>Edges in selected point has tangent constraint</translation>
     </message>
   </context>
-  
+
   <context>
-    <name>SketchProjection:ExternalFeature:SketchPlugin_ProjectionValidator</name>
+    <name>SketchProjection</name>
     <message>
-      <source>The attribute with the %1 type is not processed</source>
-      <translation>An argument of type %1 of the projection feature is not supported</translation>
+      <source>Project feature onto sketch plane</source>
+      <translation>Project feature onto sketch plane</translation>
+    </message>
+    <message>
+      <source>Projection</source>
+      <translation>Projection</translation>
     </message>
   </context>
   <context>
-    <name>SketchProjection:ExternalFeature:SketchPlugin_ProjectionValidator</name>
+    <name>SketchProjection:ExternalFeature</name>
     <message>
-      <source>The attribute %1 should be an edge</source>
-      <translation>The projected item must be an edge</translation>
+      <source>Attribute "%1" is not initialized.</source>
+      <translation>Select external edge or vertex.</translation>
+    </message>
+    <message>
+      <source>Object</source>
+      <translation>Object</translation>
+    </message>
+    <message>
+      <source>Select external edge or vertex.</source>
+      <translation>Select external edge or vertex.</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchProjection:IncludeToResult</name>
+    <message>
+      <source>Include into the sketch result</source>
+      <translation>Include into the sketch result</translation>
+    </message>
+    <message>
+      <source>Include projected feature into the sketch result</source>
+      <translation>Include projected feature into the sketch result</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchProjection:keep_reference</name>
+    <message>
+      <source>A sketch entity will be created without connection to the selected shape.</source>
+      <translation>A sketch entity will be created without connection to the selected shape.</translation>
+    </message>
+    <message>
+      <source>The reference to the original curve is stored. So it can be changed later.</source>
+      <translation>The reference to the original curve is stored. So it can be changed later.</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchProjection:make_fixed</name>
+    <message>
+      <source>Assign the Fixed constraint to the result of projection</source>
+      <translation>Assign the Fixed constraint to the result of projection</translation>
+    </message>
+    <message>
+      <source>Make projected curve fixed</source>
+      <translation>Make projected curve fixed</translation>
     </message>
   </context>
   <context>
     <name>SketchProjection:ExternalFeature:SketchPlugin_ProjectionValidator</name>
+    <message>
+      <source>The attribute with the %1 type is not processed</source>
+      <translation>An argument of type %1 of the projection feature is not supported</translation>
+    </message>
+    <message>
+      <source>The attribute %1 should be an edge or vertex</source>
+      <translation>The projected item must be an edge or a vertex</translation>
+    </message>
     <message>
       <source>There is no sketch referring to the current feature</source>
       <translation>The projection feature has no sketch</translation>
     </message>
+    <message>
+      <source>Unable to project feature from the same sketch</source>
+      <translation>Feature from the current sketch cannot be projected</translation>
+    </message>
+    <message>
+      <source>Error: Line is orthogonal to the sketch plane.</source>
+      <translation>Error: Line is orthogonal to the sketch plane.</translation>
+    </message>
+    <message>
+      <source>Error: Circle is orthogonal to the sketch plane.</source>
+      <translation>Error: Circle is orthogonal to the sketch plane.</translation>
+    </message>
+    <message>
+      <source>Error: Arc is orthogonal to the sketch plane.</source>
+      <translation>Error: Arc is orthogonal to the sketch plane.</translation>
+    </message>
+    <message>
+      <source>Error: Ellipse is orthogonal to the sketch plane.</source>
+      <translation>Error: Ellipse is orthogonal to the sketch plane.</translation>
+    </message>
+    <message>
+      <source>Error: Elliptic Arc is orthogonal to the sketch plane.</source>
+      <translation>Error: Elliptic Arc is orthogonal to the sketch plane.</translation>
+    </message>
+    <message>
+      <source>Error: Periodic B-spline is orthogonal to the sketch plane.</source>
+      <translation>Error: Periodic B-spline is orthogonal to the sketch plane.</translation>
+    </message>
+    <message>
+      <source>Error: Selected object is not supported for projection.</source>
+      <translation>Error: Selected object is not supported for projection.</translation>
+    </message>
+  </context>
+
+  <!-- SketchCurveFitting -->
+  <context>
+    <name>SketchCurveFitting</name>
+    <message>
+      <source>Curve fitting</source>
+      <translation>Curve fitting</translation>
+    </message>
+    <message>
+      <source>Create curve passing through the points</source>
+      <translation>Create curve passing through the points</translation>
+    </message>
+    <message>
+      <source>Error: Feature "%1" does not support action "%2".</source>
+      <translation>Error: Feature "%1" does not support action "%2".</translation>
+    </message>
   </context>
-  
   <context>
-    <name>SketchProjection:Model_FeatureValidator</name>
+    <name>SketchCurveFitting:SketchPlugin_CurveFittingValidator</name>
+    <message>
+      <source>Not enough points selected. Need at least %1 points.</source>
+      <translation>Not enough points selected. Need at least %1 points.</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchCurveFitting:points</name>
+    <message>
+      <source>Points</source>
+      <translation>Points</translation>
+    </message>
+    <message>
+      <source>Select points for curve fitting</source>
+      <translation>Select points for curve fitting</translation>
+    </message>
     <message>
       <source>Attribute "%1" is not initialized.</source>
-      <translation></translation>
+      <translation>Select points for interpolation</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchCurveFitting:periodic</name>
+    <message>
+      <source>Periodic</source>
+      <translation>Periodic</translation>
+    </message>
+    <message>
+      <source>Make curve periodic</source>
+      <translation>Make curve periodic</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchCurveFitting:closed</name>
+    <message>
+      <source>Closed</source>
+      <translation>Closed</translation>
+    </message>
+    <message>
+      <source>Make curve closed, but not periodic</source>
+      <translation>Make curve closed, but not periodic</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchCurveFitting:type</name>
+    <message>
+      <source>Interpolation</source>
+      <translation>Interpolation</translation>
+    </message>
+    <message>
+      <source>Approximation</source>
+      <translation>Approximation</translation>
     </message>
   </context>
+  <context>
+    <name>SketchCurveFitting:precision</name>
+    <message>
+      <source>Precision</source>
+      <translation>Precision</translation>
+    </message>
+    <message>
+      <source>Maximal distance from selected points to the curve</source>
+      <translation>Maximal distance from selected points to the curve</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchCurveFitting:need_control_poly</name>
+    <message>
+      <source>Create control polygon</source>
+      <translation>Create control polygon</translation>
+    </message>
+    <message>
+      <source>Specify if the control polygon should be created</source>
+      <translation>Specify if the control polygon should be created</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchCurveFitting:reorder_points</name>
+    <message>
+      <source>Reorder points</source>
+      <translation>Reorder points</translation>
+    </message>
+    <message>
+      <source>Sort selected points to minimize the distance heighbors</source>
+      <translation>Sort selected points to minimize the distance heighbors</translation>
+    </message>
+  </context>
+  <context>
+    <name>SketchCurveFitting:Auxiliary</name>
+    <message>
+      <source>Auxiliary</source>
+      <translation>Auxiliary</translation>
+    </message>
+    <message>
+      <source>Construction element</source>
+      <translation>Construction element</translation>
+    </message>
+  </context>
+
 </TS>