aFeature->getKind() != SketchPlugin_Circle::ID() &&
aFeature->getKind() != SketchPlugin_Arc::ID() &&
aFeature->getKind() != SketchPlugin_Ellipse::ID()) {
- theError = "The %1 feature kind of attribute is wrong. It should be %2 or %3 or %4 or %5";
- theError.arg(aFeature->getKind()).arg(SketchPlugin_Line::ID())
- .arg(SketchPlugin_Circle::ID()).arg(SketchPlugin_Arc::ID())
- .arg(SketchPlugin_Ellipse::ID());
+ theError = "The %1 feature is not supported by the Equal constraint.";
+ theError.arg(aFeature->getKind());
// wrong type of attribute
return false;
}
// TODO
}
if (!isOk) {
- theError = "Feature with kinds %1 and %2 can not be equal.";
+ theError = "Features with kinds %1 and %2 can not be equal.";
theError.arg(aType[0]).arg(aType[1]);
return false;
}
<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>
<translation>Diferent 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>
+ </context>
<context>
<name>SketchConstraintTangent:ConstraintEntityB:SketchPlugin_TangentAttr</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>
- </context>
- <context>
- <name>SketchProjection:ExternalFeature:SketchPlugin_ProjectionValidator</name>
<message>
- <source>The attribute %1 should be an edge</source>
- <translation>The projected item must be an edge</translation>
+ <source>The attribute %1 should be an edge or vertex</source>
+ <translation>The projected item must be an edge or a vertex</translation>
</message>
- </context>
- <context>
- <name>SketchProjection:ExternalFeature:SketchPlugin_ProjectionValidator</name>
<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: Selected object is not supported for projection.</source>
+ <translation>Error: Selected object is not supported for projection.</translation>
+ </message>
</context>
-
<context>
<name>SketchProjection:Model_FeatureValidator</name>
<message>
<source>An empty object is used.</source>
<translation>AA</translation>
</message>
+ <message>
+ <source>The %1 feature is not supported by the Equal constraint.</source>
+ <translation>AA</translation>
+ </message>
+ <message>
+ <source>Features with kinds %1 and %2 can not be equal.</source>
+ <translation>AA</translation>
+ </message>
</context>
<context>
<name>SketchConstraintEqual:Model_FeatureValidator</name>
<translation>AA</translation>
</message>
</context>
+ <context>
+ <name>SketchConstraintTangent:ConstraintEntityA:SketchPlugin_TangentAttr</name>
+ <message>
+ <source>Two segments cannot be tangent</source>
+ <translation>AA</translation>
+ </message>
+ </context>
<context>
<name>SketchConstraintTangent:ConstraintEntityB:SketchPlugin_TangentAttr</name>
<message>
</context>
<context>
<name>SketchProjection:ExternalFeature:SketchPlugin_ProjectionValidator</name>
+ <message>
+ <source>The attribute with the %1 type is not processed</source>
+ <translation>AA</translation>
+ </message>
<message>
<source>The attribute %1 should be an edge or vertex</source>
<translation>AA</translation>
</message>
+ <message>
+ <source>There is no sketch referring to the current feature</source>
+ <translation>AA</translation>
+ </message>
+ <message>
+ <source>Unable to project feature from the same sketch</source>
+ <translation>AA</translation>
+ </message>
+ <message>
+ <source>Error: Line is orthogonal to the sketch plane.</source>
+ <translation>AA</translation>
+ </message>
+ <message>
+ <source>Error: Circle is orthogonal to the sketch plane.</source>
+ <translation>AA</translation>
+ </message>
+ <message>
+ <source>Error: Arc is orthogonal to the sketch plane.</source>
+ <translation>AA</translation>
+ </message>
+ <message>
+ <source>Error: Ellipse is orthogonal to the sketch plane.</source>
+ <translation>AA</translation>
+ </message>
+ <message>
+ <source>Error: Elliptic Arc is orthogonal to the sketch plane.</source>
+ <translation>AA</translation>
+ </message>
+ <message>
+ <source>Error: Selected object is not supported for projection.</source>
+ <translation>AA</translation>
+ </message>
</context>
<context>
<name>SketchProjection:IncludeToResult</name>