<translation>Constructions not allowed for selection.</translation>
</message>
</context>
- <context>
- <name>Group:group_list:GeomValidators_BodyShapes</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation>Attribute "%1" does not supported by "GeomValidators_BodyShapes" validator.</translation>
- </message>
- </context>
<context>
<name>Group:Model_FeatureValidator</name>
<message>
<source>Error: Result construction selected.</source>
<translation>AA</translation>
</message>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
</context>
<context>
<name>Group:Model_FeatureValidator</name>
<translation>Selected shape has unacceptable type. Acceptable types are: faces or wires on sketch, whole sketch(if it has at least one face), and whole objects with shape types: %1</translation>
</message>
</context>
- <context>
- <name>Extrusion:base :FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation></translation>
- </message>
- </context>
<context>
<name>Extrusion:direction_object:GeomValidators_ShapeType</name>
<message>
<translation>Selected shape has unacceptable type. Acceptable types are: faces or wires on sketch, whole sketch(if it has at least one face), and whole objects with shape types: %1</translation>
</message>
</context>
- <context>
- <name>ExtrusionCut:base:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation></translation>
- </message>
- </context>
<context>
<name>ExtrusionCut:direction_object:GeomValidators_ShapeType</name>
<message>
<translation>Selected shape has unacceptable type. Acceptable types are: faces or wires on sketch, whole sketch(if it has at least one face), and whole objects with shape types: %1</translation>
</message>
</context>
- <context>
- <name>Revolution:base:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation></translation>
- </message>
- </context>
<context>
<name>Revolution:axis_object:GeomValidators_ShapeType</name>
<message>
<translation>Selected shape has unacceptable type. Acceptable types are: faces or wires on sketch, whole sketch(if it has at least one face), and whole objects with shape types: %1</translation>
</message>
</context>
- <context>
- <name>RevolutionCut:base:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation></translation>
- </message>
- </context>
<context>
<name>RevolutionCut:axis_object:GeomValidators_ShapeType</name>
<message>
<translation>Selected shape has unacceptable type. Acceptable types are: faces or wires on sketch, whole sketch(if it has at least one face), and whole objects with shape types: %1</translation>
</message>
</context>
- <context>
- <name>ExtrusionFuse:base:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation></translation>
- </message>
- </context>
<context>
<name>ExtrusionFuse:direction_object:GeomValidators_ShapeType</name>
<message>
<translation>Selected shape has unacceptable type. Acceptable types are: faces or wires on sketch, whole sketch(if it has at least one face), and whole objects with shape types: %1</translation>
</message>
</context>
- <context>
- <name>RevolutionFuse:base:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation></translation>
- </message>
- </context>
<context>
<name>RevolutionFuse:axis_object:GeomValidators_ShapeType</name>
<message>
<translation>Object for pipe path is not selected.</translation>
</message>
</context>
- <context>
- <name>Pipe:FeaturesPlugin_ValidatorPipeLocations</name>
- <message>
- <source>Error: Feature \"%1\" does not supported by this validator.</source>
- <translation>Feature "%1" does not supported validator "FeaturesPlugin_ValidatorPipeLocations".</translation>
- </message>
- </context>
<context>
<name>Pipe:FeaturesPlugin_ValidatorPipeLocations</name>
<message>
<translation>Selected shape has unacceptable type. Acceptable types are: faces or wires on sketch, whole sketch(if it has at least one face), and whole objects with shape types: %1</translation>
</message>
</context>
- <context>
- <name>Pipe:base_objects:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation></translation>
- </message>
- </context>
<context>
<name>Pipe:path_object:FeaturesPlugin_ValidatorPipePath</name>
<message>
<translation>Selected object has empty context.</translation>
</message>
</context>
- <context>
- <name>Remove_SubShapes:FeaturesPlugin_ValidatorRemoveSubShapesResult</name>
- <message>
- <source>Error: Feature \"%1\" does not supported by this validator.</source>
- <translation>Feature "%1" does not supported validator "FeaturesPlugin_ValidatorRemoveSubShapesResult".</translation>
- </message>
- </context>
<context>
<name>Remove_SubShapes:FeaturesPlugin_ValidatorRemoveSubShapesResult</name>
<message>
<translation></translation>
</message>
</context>
- <context>
- <name>Remove_SubShapes:base_shape:GeomValidators_BodyShapes</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation></translation>
- </message>
- </context>
<context>
<name>Remove_SubShapes:subshapes:FeaturesPlugin_ValidatorRemoveSubShapesSelection</name>
<message>
<translation>Objects from the %1 group can be selected in the %2 document, but an objects from the %3 group is selected.</translation>
</message>
</context>
- <context>
- <name>Union:FeaturesPlugin_ValidatorUnionArguments</name>
- <message>
- <source>Error: This validator supports only \"%1\" feature.</source>
- <translation>This validator "FeaturesPlugin_ValidatorUnionArguments" supports only "%1" feature.</translation>
- </message>
- </context>
<context>
<name>Union:FeaturesPlugin_ValidatorUnionArguments</name>
<message>
<translation>AA</translation>
</message>
<message>
- <source>Angle for "from" for bounding plane</source>
+ <source>Angle for "from" bounding plane</source>
<translation>AA</translation>
</message>
</context>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>Extrusion:base :FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>Extrusion:direction_object:GeomValidators_ShapeType</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>ExtrusionCut:base:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>ExtrusionCut:direction_object:GeomValidators_ShapeType</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>Revolution:base:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>Revolution:axis_object:GeomValidators_ShapeType</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>RevolutionCut:base:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>RevolutionCut:axis_object:GeomValidators_ShapeType</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>ExtrusionFuse:base:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>ExtrusionFuse:direction_object:GeomValidators_ShapeType</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>RevolutionFuse:base:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>RevolutionFuse:axis_object:GeomValidators_ShapeType</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>Pipe:FeaturesPlugin_ValidatorPipeLocations</name>
- <message>
- <source>Error: Feature \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>Pipe:FeaturesPlugin_ValidatorPipeLocations</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>Pipe:base_objects:FeaturesPlugin_ValidatorBaseForGeneration</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>Pipe:path_object:FeaturesPlugin_ValidatorPipePath</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>Remove_SubShapes:FeaturesPlugin_ValidatorRemoveSubShapesResult</name>
- <message>
- <source>Error: Feature \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>Remove_SubShapes:FeaturesPlugin_ValidatorRemoveSubShapesResult</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>Remove_SubShapes:base_shape:GeomValidators_BodyShapes</name>
- <message>
- <source>Error: Attribute \"%1\" does not supported by this validator.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>Remove_SubShapes:subshapes:FeaturesPlugin_ValidatorRemoveSubShapesSelection</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>Union:FeaturesPlugin_ValidatorUnionArguments</name>
- <message>
- <source>Error: This validator supports only \"%1\" feature.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>Union:FeaturesPlugin_ValidatorUnionArguments</name>
<message>
<doublevalue id="from_offset" label="Angle"
step="1.0" default="0"
icon="icons/Features/angle_up_down.png"
- tooltip="Angle for "from" for bounding plane">
+ tooltip="Angle for "from" bounding plane">
</doublevalue>
</groupbox>
<groupbox title="To">
myNotObligatory.find(theFeature->getKind());
if (aFeatureFind == myNotObligatory.end() || // and it is obligatory for filling
aFeatureFind->second.find(*it) == aFeatureFind->second.end()) {
- // TODO(spo): exceptional case for translation
- theError = "Attribute \"" + anAttr->id() + "\" is not initialized.";
-// theError.arg(anAttr->id());
+ theError = "Attribute \"%1\" is not initialized.";
+ theError.addParameter(anAttr->id());
return false;
}
}
const char* NoName = "<NoName>";
const char* NoValue = "<NoValue>";
-const char* NotValid = "<NotValid>";
/*!
* \ingroup GUI
std::string aName = aParameter->string(ParametersPlugin_Parameter::VARIABLE_ID())->value();
if (aName.empty()) {
- aValues << NoName;
+ aValues << translate(NoName);
} else
aValues << aName.c_str();
std::string aExpr = aParameter->string(ParametersPlugin_Parameter::EXPRESSION_ID())->value();
if (aName.empty()) {
- aValues << NoValue;
+ aValues << translate(NoValue);
} else
aValues << aExpr.c_str();
QTreeWidgetItem* ParametersPlugin_WidgetParamsMgr::createNewItem(QTreeWidgetItem* theParent) const
{
QStringList aValues;
- aValues << NoName;
- aValues << NoValue;
+ aValues << translate(NoName);
+ aValues << translate(NoValue);
QTreeWidgetItem* aItem = new QTreeWidgetItem(aValues);
if (theParent == myParameters) {
for(int i = 0; i < myParameters->childCount(); i++) {
aItem = myParameters->child(i);
if ((aItem->text(Col_Name) == NoName) ||
- (aItem->text(Col_Equation) == NoValue) ||
+ (aItem->text(Col_Equation) == translate(NoValue)) ||
(!ModelAPI_Expression::isVariable(aItem->text(Col_Name).toStdString())) ) {
return false;
}
<source>See preview</source>
<translation>AA</translation>
</message>
+ <message>
+ <source><NoName></source>
+ <translation>AA</translation>
+ </message>
+ <message>
+ <source><NoValue></source>
+ <translation>AA</translation>
+ </message>
</context>
<context>
<context>
<name>Sketch:Model_FeatureValidator</name>
<message>
- <source>Attribute "DirX" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select a plane for the sketch</translation>
</message>
</context>
<context>
<name>Sketch:Model_FeatureValidator</name>
<message>
- <source>Attribute "Features" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Sketch objects are not defined</translation>
</message>
</context>
<context>
<name>Sketch:Model_FeatureValidator</name>
<message>
- <source>Attribute "External" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select the sketch plane</translation>
</message>
</context>
<context>
<name>Sketch:Model_FeatureValidator</name>
<message>
- <source>Attribute "SolverDOF" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Can not compute degrees of freedom</translation>
</message>
</context>
<context>
<name>Sketch:Model_FeatureValidator</name>
<message>
- <source>Attribute "SolverError" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Can not compute the solver error</translation>
</message>
</context>
+ <context>
+ <name>SketchMacroCircle:center_point</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select a point in the viewer</translation>
+ </message>
+ <message>
+ <source>Attribute "%1" is not initialized.</source>
+ <translation>Select a point in the viewer</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroCircle:passed_point</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select a point in the viewer</translation>
+ </message>
+ </context>
<context>
<name>SketchMacroCircle:CircleRadius:GeomValidators_Positive</name>
<message>
<context>
<name>SketchMacroCircle:Model_FeatureValidator</name>
<message>
- <source>Attribute "circle_center" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>A center point is not selected</translation>
</message>
</context>
<context>
<name>SketchMacroCircle:Model_FeatureValidator</name>
<message>
- <source>Attribute "FirstPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>A first point is not selected</translation>
</message>
</context>
<context>
<name>SketchMacroCircle:Model_FeatureValidator</name>
<message>
- <source>Attribute "SecondPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>A second point is not selected</translation>
</message>
</context>
<context>
<name>SketchMacroCircle:Model_FeatureValidator</name>
<message>
- <source>Attribute "ThirdPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>A third point is not selected</translation>
</message>
</context>
<context>
<name>SketchMacroCircle:Model_FeatureValidator</name>
<message>
- <source>Attribute "circle_radius" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Set the circle radius</translation>
</message>
</context>
+
+ <context>
+ <name>SketchMacroArc:Model_FeatureValidator</name>
+ <message>
+ <source>Attribute "%1" is not initialized.</source>
+ <translation>Select a point.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroArc:center_point</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select a center point.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroArc:end_point_1</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select an end point in the viewer.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroArc:end_point_2</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select an end point in the viewer.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroArc:end_point_3</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select an end point in the viewer.</translation>
+ </message>
+ <message>
+ <source>Attribute "%1" is not initialized.</source>
+ <translation>Select an end point in the viewer.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroArc:passed_point</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select an passed point in the viewer.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroArc:start_point_1</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select a start point.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroArc:start_point_2</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select a start point.</translation>
+ </message>
+ </context>
+
+ <context>
+ <name>SketchMacroEllipse:Model_FeatureValidator</name>
+ <message>
+ <source>Attribute "%1" is not initialized.</source>
+ <translation>Select a point.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroEllipse:first_point</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select a first point in the viewer.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroEllipse:passed_point</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select a passed point.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchMacroEllipse:second_point</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select a second point.</translation>
+ </message>
+ </context>
+
+ <context>
+ <name>SketchSplit:Model_FeatureValidator</name>
+ <message>
+ <source>Attribute "%1" is not initialized.</source>
+ <translation>Select a segment to split in the viewer.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchSplit:SelectedObject:SketchPlugin_SplitValidator</name>
+ <message>
+ <source>Select a segment to split in the viewer.</source>
+ <translation></translation>
+ </message>
+ </context>
<context>
<name>SketchConstraintHorizontal:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Line is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintPerpendicular:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>First line is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintPerpendicular:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Second line is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintRadius:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Circle is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintRadius:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintValue" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Set the radius</translation>
</message>
</context>
<context>
<name>SketchConstraintVertical:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Line is not selected</translation>
</message>
</context>
<context>
<name>SketchLine:Model_FeatureValidator</name>
<message>
- <source>Attribute "EndPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>End point is not selected</translation>
</message>
</context>
<context>
<name>SketchLine:EndPoint</name>
<message>
- <source>Attribute "EndPoint" is locked by modification value in the viewer.</source>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
<translation>Select an end point in the viewer</translation>
</message>
</context>
<context>
<name>SketchLine:StartPoint</name>
<message>
- <source>Attribute "StartPoint" is locked by modification value in the viewer.</source>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
<translation>Select a start point in the viewer</translation>
</message>
</context>
<context>
<name>SketchLine:StartPoint</name>
<message>
- <source>Attribute "StartPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Start point is not selected</translation>
</message>
</context>
<context>
<name>SketchLine:EndPoint</name>
<message>
- <source>Attribute "EndPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>End point is not selected</translation>
</message>
</context>
<context>
<name>SketchLine:Model_FeatureValidator</name>
<message>
- <source>Attribute "StartPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select a start point</translation>
</message>
</context>
<context>
<name>SketchPoint:Model_FeatureValidator</name>
<message>
- <source>Attribute "PointCoordinates" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Point is not defined</translation>
</message>
</context>
<context>
<name>SketchPoint:PointCoordinates</name>
<message>
- <source>Attribute "PointCoordinates" is locked by modification value in the viewer.</source>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
<translation>Select a point</translation>
</message>
</context>
<context>
<name>SketchRectangle:RectEndPoint</name>
<message>
- <source>Attribute "RectEndPoint" is locked by modification value in the viewer.</source>
- <translation>Select an end point of the rectangle</translation>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select an end point of the rectangle.</translation>
</message>
</context>
<context>
<name>SketchRectangle:RectStartPoint</name>
<message>
- <source>Attribute "RectStartPoint" is locked by modification value in the viewer.</source>
- <translation>Select a first point of the rectangle</translation>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select a point.</translation>
</message>
</context>
<context>
<name>SketchRectangle:Model_FeatureValidator</name>
<message>
- <source>Attribute "RectStartPoint" is not initialized.</source>
- <translation>Select a first point of the rectangle</translation>
+ <source>Attribute "%1" is not initialized.</source>
+ <translation>Select a point.</translation>
</message>
</context>
<context>
- <name>SketchRectangle:Model_FeatureValidator</name>
+ <name>SketchRectangle:RectEndPoint</name>
+ <message>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select a point.</translation>
+ </message>
+ </context>
+ <context>
+ <name>SketchRectangle:RectStartPoint</name>
<message>
- <source>Attribute "RectEndPoint" is not initialized.</source>
- <translation>Select an end point of the rectangle</translation>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
+ <translation>Select an point.</translation>
</message>
</context>
<context>
<name>SketchArc:ArcCenter</name>
<message>
- <source>Attribute "center_point" is locked by modification value in the viewer.</source>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
<translation>Select a center point</translation>
</message>
</context>
<context>
<name>SketchArc:ArcCenter</name>
<message>
- <source>Attribute "center_point" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Center point is not defined</translation>
</message>
</context>
<context>
<name>SketchArc:ArcEndPoint</name>
<message>
- <source>Attribute "ArcEndPoint" is locked by modification value in the viewer.</source>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
<translation>Select an end point</translation>
</message>
</context>
<context>
<name>SketchArc:ArcPassedPoint</name>
<message>
- <source>Attribute "ArcPassedPoint" is locked by modification value in the viewer.</source>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
<translation>Select an intermediate point</translation>
</message>
</context>
<context>
<name>SketchArc:ArcStartPoint</name>
<message>
- <source>Attribute "ArcStartPoint" is locked by modification value in the viewer.</source>
+ <source>Attribute "%1" is locked by modification value in the viewer.</source>
<translation>Select a start point</translation>
</message>
</context>
<context>
<name>SketchArc:Model_FeatureValidator</name>
<message>
- <source>Attribute "ArcEndPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>End point is not defined</translation>
</message>
</context>
<context>
<name>SketchArc:Model_FeatureValidator</name>
<message>
- <source>Attribute "ArcPassedPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Intermediate point is not defined</translation>
</message>
</context>
<context>
<name>SketchArc:Model_FeatureValidator</name>
<message>
- <source>Attribute "center_point" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select an arc center</translation>
</message>
</context>
<context>
<name>SketchArc:Model_FeatureValidator:ArcStartPoint</name>
<message>
- <source>Attribute "start_point" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select an arc start point</translation>
</message>
</context>
<context>
<name>SketchArc:Model_FeatureValidator</name>
<message>
- <source>Attribute "end_point" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select an arc end point</translation>
</message>
</context>
<context>
<name>SketchArc:Model_FeatureValidator</name>
<message>
- <source>Attribute "ArcPassedPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select an arc passed point</translation>
</message>
</context>
<context>
<name>SketchArc:Model_FeatureValidator</name>
<message>
- <source>Attribute "ArcTangentPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select an arc tangent point</translation>
</message>
</context>
<context>
<name>SketchConstraintMirror:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Mirror line is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintMirror:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintMirrorList" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Objects for mirror are not selected</translation>
</message>
</context>
<context>
<name>SketchMultiRotation:Model_FeatureValidator</name>
<message>
- <source>Attribute "AngleType" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Type of angle is not defined</translation>
</message>
</context>
<context>
<name>SketchMultiRotation:Model_FeatureValidator</name>
<message>
- <source>Attribute "MultiRotationCenter" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Rotation center is not selected</translation>
</message>
</context>
<context>
<name>SketchMultiRotation:Model_FeatureValidator</name>
<message>
- <source>Attribute "MultiRotationList" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select objects to rotate</translation>
</message>
</context>
<context>
<name>SketchMultiRotation:Model_FeatureValidator</name>
<message>
- <source>Attribute "MultiRotationAngle" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Set rotation angle</translation>
</message>
</context>
<context>
<name>SketchMultiRotation:Model_FeatureValidator</name>
<message>
- <source>Attribute "MultiRotationObjects" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Set the number of resulting objects</translation>
</message>
</context>
<context>
<name>SketchMultiTranslation:Model_FeatureValidator</name>
<message>
- <source>Attribute "MultiTranslationEndPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>End point of translation vector is not defined</translation>
</message>
</context>
<context>
<name>SketchMultiTranslation:Model_FeatureValidator</name>
<message>
- <source>Attribute "MultiTranslationList" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Objects for translation are not selected</translation>
</message>
</context>
<context>
<name>SketchMultiTranslation:Model_FeatureValidator</name>
<message>
- <source>Attribute "MultiTranslationStartPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select a start point</translation>
</message>
</context>
<context>
<name>SketchMultiTranslation:Model_FeatureValidator</name>
<message>
- <source>Attribute "MultiTranslationObjects" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select a total number of objects</translation>
</message>
</context>
<context>
<name>SketchConstraintAngle:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>First object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintAngle:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Second object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintAngle:Model_FeatureValidator</name>
<message>
- <source>Attribute "AngleValue" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Set the angle value</translation>
</message>
</context>
<context>
<name>SketchConstraintAngle:Model_FeatureValidator</name>
<message>
- <source>Attribute "AngleType" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Type of angle is not set</translation>
</message>
</context>
<context>
<name>SketchConstraintCoincidence:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>First object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintCoincidence:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Second object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintDistance:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>First object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintDistance:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Second object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintDistance:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>First object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintDistance:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Second object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintDistance:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintValue" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Set the distance</translation>
</message>
</context>
<context>
<name>SketchConstraintEqual:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>First object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintEqual:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Second object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintLength:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Line is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintLength:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Line is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintLength:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintValue" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Set the length value</translation>
</message>
</context>
<context>
<name>SketchConstraintMiddle:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>First object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintMiddle:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Second object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintParallel:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>First line is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintParallel:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Second line is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintRigid:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintTangent:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>First object is not selected</translation>
</message>
</context>
<context>
<name>SketchConstraintTangent:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Second object is not selected</translation>
</message>
</context>
<context>
<name>SketchFillet:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Select one or several points for filet</translation>
</message>
</context>
<context>
<name>SketchFillet:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintValue" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>Set the fillet radius</translation>
</message>
</context>
<context>
<name>SketchProjection:Model_FeatureValidator</name>
<message>
- <source>Attribute "ExternalFeature" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation></translation>
</message>
</context>
<context>
<name>Sketch:Model_FeatureValidator</name>
<message>
- <source>Attribute "DirX" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>Sketch:Model_FeatureValidator</name>
- <message>
- <source>Attribute "Features" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>Sketch:Model_FeatureValidator</name>
<message>
- <source>Attribute "External" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>Sketch:Model_FeatureValidator</name>
- <message>
- <source>Attribute "SolverDOF" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>Sketch:Model_FeatureValidator</name>
- <message>
- <source>Attribute "SolverError" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchMacroCircle:Model_FeatureValidator</name>
<message>
- <source>Attribute "circle_center" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchMacroCircle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "FirstPoint" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchMacroCircle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "SecondPoint" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchMacroCircle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ThirdPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>SketchMacroCircle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "circle_radius" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchMacroCircle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "circle_type" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>SketchMacroCircle:center_point</name>
<message>
<context>
<name>SketchMacroCircle:Model_FeatureValidator</name>
<message>
- <source>Attribute "circle_type" is not initialized.</source>
- <translation>AA</translation>
- </message>
- <message>
- <source>Attribute "second_point" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintHorizontal:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintPerpendicular:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintPerpendicular:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintRadius:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>SketchConstraintRadius:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintValue" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>SketchConstraintRadius:ConstraintEntityA:GeomValidators_ShapeType</name>
<message>
<context>
<name>SketchConstraintVertical:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchLine:Model_FeatureValidator</name>
<message>
- <source>Attribute "EndPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchLine:StartPoint</name>
<message>
- <source>Attribute "StartPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchLine:EndPoint</name>
<message>
- <source>Attribute "EndPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchLine:Model_FeatureValidator</name>
<message>
- <source>Attribute "StartPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchPoint:Model_FeatureValidator</name>
<message>
- <source>Attribute "PointCoordinates" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchRectangle:Model_FeatureValidator</name>
<message>
- <source>Attribute "RectStartPoint" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchRectangle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "RectEndPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchArc:ArcCenter</name>
<message>
- <source>Attribute "center_point" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchArc:Model_FeatureValidator</name>
<message>
- <source>Attribute "ArcEndPoint" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchArc:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ArcPassedPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>SketchArc:Model_FeatureValidator</name>
- <message>
- <source>Attribute "center_point" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>SketchArc:Model_FeatureValidator:ArcStartPoint</name>
<message>
- <source>Attribute "start_point" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchArc:Model_FeatureValidator</name>
- <message>
- <source>Attribute "end_point" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchArc:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ArcPassedPoint" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchArc:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ArcTangentPoint" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintMirror:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintMirror:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintMirrorList" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchMultiRotation:Model_FeatureValidator</name>
<message>
- <source>Attribute "AngleType" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchMultiRotation:Model_FeatureValidator</name>
- <message>
- <source>Attribute "MultiRotationCenter" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>SketchMultiRotation:Model_FeatureValidator</name>
- <message>
- <source>Attribute "MultiRotationList" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchMultiRotation:Model_FeatureValidator</name>
- <message>
- <source>Attribute "MultiRotationAngle" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchMultiRotation:Model_FeatureValidator</name>
- <message>
- <source>Attribute "MultiRotationObjects" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>SketchMultiRotation:MultiRotationList:SketchPlugin_CopyValidator</name>
<message>
<context>
<name>SketchMultiTranslation:Model_FeatureValidator</name>
<message>
- <source>Attribute "MultiTranslationEndPoint" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchMultiTranslation:Model_FeatureValidator</name>
- <message>
- <source>Attribute "MultiTranslationList" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<source>Integer is not positive.</source>
<translation>AA</translation>
</message>
-
- </context>
- <context>
- <name>SketchMultiTranslation:Model_FeatureValidator</name>
- <message>
- <source>Attribute "MultiTranslationStartPoint" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchMultiTranslation:Model_FeatureValidator</name>
- <message>
- <source>Attribute "MultiTranslationObjects" is not initialized.</source>
- <translation>AA</translation>
- </message>
</context>
<context>
<name>SketchMultiTranslation:MultiTranslationList:SketchPlugin_CopyValidator</name>
<context>
<name>SketchConstraintAngle:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintAngle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintAngle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "AngleValue" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintAngle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "AngleType" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintCoincidence:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintCoincidence:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>SketchConstraintDistance:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>SketchConstraintDistance:ConstraintValue:GeomValidators_Positive</name>
<message>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>SketchConstraintDistance:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintDistance:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintDistance:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintValue" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>SketchConstraintDistance:ConstraintEntityA:SketchPlugin_ExternalValidator</name>
<message>
<context>
<name>SketchConstraintEqual:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintEqual:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintLength:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<source>Integer is not positive.</source>
<translation>AA</translation>
</message>
-
- </context>
- <context>
- <name>SketchConstraintLength:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintLength:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintValue" is not initialized.</source>
- <translation>AA</translation>
- </message>
</context>
<context>
<name>SketchConstraintLength:ConstraintEntityA:GeomValidators_ShapeType</name>
<context>
<name>SketchConstraintMiddle:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintMiddle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintParallel:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintParallel:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintRigid:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintTangent:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchConstraintTangent:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintEntityB" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchFillet:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
- <context>
- <name>SketchFillet:Model_FeatureValidator</name>
- <message>
- <source>Attribute "ConstraintValue" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchProjection:Model_FeatureValidator</name>
<message>
- <source>Attribute "ExternalFeature" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintAngle:Model_FeatureValidator</name>
<message>
- <source>Attribute "AngleReversedLine1" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintCollinear:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintDistanceHorizontal:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchConstraintDistanceVertical:Model_FeatureValidator</name>
<message>
- <source>Attribute "ConstraintEntityA" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchDrawer:Model_FeatureValidator</name>
<message>
- <source>Attribute "base_shape" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchFillet:Model_FeatureValidator</name>
<message>
- <source>Attribute "fillet_point" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchIntersectionPoint:Model_FeatureValidator</name>
<message>
- <source>Attribute "ExternalFeature" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchMacroArc:Model_FeatureValidator</name>
<message>
- <source>Attribute "center_point" is not initialized.</source>
- <translation>AA</translation>
- </message>
- <message>
- <source>Attribute "end_point_1" is not initialized.</source>
- <translation>AA</translation>
- </message>
- <message>
- <source>Attribute "end_point_2" is not initialized.</source>
- <translation>AA</translation>
- </message>
- <message>
- <source>Attribute "end_point_3" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>SketchMacroArc:Model_FeatureValidator</name>
- <message>
- <source>Attribute "arc_type" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>SketchMacroArc:center_point</name>
<message>
<context>
<name>SketchMacroCircle:Model_FeatureValidator</name>
<message>
- <source>Attribute "center_point" is not initialized.</source>
- <translation>AA</translation>
- </message>
- <message>
- <source>Attribute "first_point" is not initialized.</source>
- <translation>AA</translation>
- </message>
- <message>
- <source>Attribute "passed_point" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<translation>AA</translation>
</message>
</context>
- <context>
- <name>SketchMacroCircle:Model_FeatureValidator</name>
- <message>
- <source>Attribute "third_point" is not initialized.</source>
- <translation>AA</translation>
- </message>
- </context>
<context>
<name>SketchMacroCircle:first_point</name>
<message>
<context>
<name>SketchMacroEllipse:Model_FeatureValidator</name>
<message>
- <source>Attribute "first_point" is not initialized.</source>
- <translation>AA</translation>
- </message>
- <message>
- <source>Attribute "passed_point" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchMacroEllipse:Model_FeatureValidator</name>
<message>
- <source>Attribute "ellipse_type" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchSplit:Model_FeatureValidator</name>
<message>
- <source>Attribute "SelectedObject" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
<context>
<name>SketchTrim:Model_FeatureValidator</name>
<message>
- <source>Attribute "SelectedObject" is not initialized.</source>
+ <source>Attribute "%1" is not initialized.</source>
<translation>AA</translation>
</message>
</context>
enable_value="enable_by_preferences"/>
<sketch-2dpoint_selector id="EndPoint" accept_expressions="0" title="End point" tooltip="End point coordinates"
enable_value="enable_by_preferences"/>
- <labelvalue id="LineLength" accept_expressions="0" label="Length:" default="computed" icon="icons/Sketch/distance_value.png"
+ <labelvalue id="LineLength" accept_expressions="0" label="Length" default="computed" icon="icons/Sketch/distance_value.png"
tooltip="Line length" obligatory="0" enable_value="false"/>
<boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
<validator id="GeomValidators_Different" parameters="StartPoint,EndPoint"/>
enable_value="enable_by_preferences"/>
<labelvalue id="circle_radius"
icon="icons/Sketch/radius.png"
- label="Radius:"
+ label="Radius"
tooltip="Set radius"
default="computed"
accept_expressions="0"
</toolbox>
<labelvalue id="circle_radius"
icon="icons/Sketch/radius.png"
- label="Radius:"
+ label="Radius"
tooltip="Set radius"
default="computed"
accept_expressions="0"
<validator id="GeomValidators_Different" parameters="center_point,start_point,end_point"/>
<labelvalue id="radius"
icon="icons/Sketch/radius.png"
- label="Radius:"
+ label="Radius"
tooltip="Set radius"
accept_expressions="0"
min="0"
</labelvalue>
<labelvalue id="angle"
icon="icons/Sketch/angle.png"
- label="Angle:"
+ label="Angle"
tooltip="Set angle"
default="0"
use_reset="false"
</toolbox>
<labelvalue id="radius"
icon="icons/Sketch/radius.png"
- label="Radius:"
+ label="Radius"
tooltip="Set radius"
accept_expressions="0"
min="0"
</labelvalue>
<labelvalue id="angle"
icon="icons/Sketch/angle.png"
- label="Angle:"
+ label="Angle"
tooltip="Set angle"
default="0"
use_reset="false"
enable_value="enable_by_preferences"/>
<labelvalue id="ellipse_major_radius"
icon="icons/Sketch/radius_major.png"
- label="Major radius:"
+ label="Major radius"
tooltip="Set major radius"
default="computed"
accept_expressions="0"
</labelvalue>
<labelvalue id="ellipse_minor_radius"
icon="icons/Sketch/radius_minor.png"
- label="Minor radius:"
+ label="Minor radius"
tooltip="Set minor radius"
default="computed"
accept_expressions="0"
<!-- <validator id="GeomValidators_Different" parameters="center_point_ref,passed_point_ref"/> -->
<labelvalue id="major_radius"
icon="icons/Sketch/radius_major.png"
- label="Major radius:"
+ label="Major radius"
tooltip="Set major radius"
default="computed"
accept_expressions="0"
</labelvalue>
<labelvalue id="minor_radius"
icon="icons/Sketch/radius_minor.png"
- label="Minor radius:"
+ label="Minor radius"
tooltip="Set minor radius"
default="computed"
accept_expressions="0"
<validator id="SketchPlugin_ReplicationReference" parameters="ConstraintEntityC"/>
</sketch_shape_selector>
<sketch_multi_selector id="ConstraintMirrorList"
- label="Segments:"
+ label="Segments"
tooltip="Select list of objects to be mirrored"
shape_types="Edges"
use_external="true"
tooltip="Copy objects and move"
helpfile="translationFeature.html">
<sketch_multi_selector id="MultiTranslationList"
- label="Segments:"
+ label="Segments"
tooltip="Select list of objects to be translated"
shape_types="Edges"
use_external="true"
tooltip="Copy objects and rotate"
helpfile="rotationFeature.html">
<sketch_multi_selector id="MultiRotationList"
- label="Segments:"
+ label="Segments"
tooltip="Select list of objects to be rotated"
shape_types="Edges"
use_external="true"
#include <SketchPlugin_MultiRotation.h>
#include <SketchPlugin_MultiTranslation.h>
+#include <Config_Translator.h>
+
static void sendMessage(const char* theMessageName)
{
void SketchSolver_Group::computeDoF()
{
std::ostringstream aDoFMsg;
+ static const std::string aMsgContext("Sketch");
int aDoF = mySketchSolver->dof();
/// "DoF = 0" content of string value is used in PartSet by Sketch edit
/// If it is changed, it should be corrected also there
- if (aDoF == 0)
- aDoFMsg << "Sketch is fully fixed (DoF = 0)";
- else
- aDoFMsg << "DoF (degrees of freedom) = " << aDoF;
+ if (aDoF == 0) {
+ static const std::string aMsgDoF("Sketch is fully fixed (DoF = 0)");
+ aDoFMsg << Config_Translator::translate(aMsgContext, aMsgDoF).c_str();
+ } else {
+ static const std::string aMsgDoF("DoF (degrees of freedom) = %1");
+ Events_InfoMessage aMsg(aMsgContext, aMsgDoF);
+ aMsg.arg(aDoF);
+ aDoFMsg << Config_Translator::translate(aMsg).c_str();
+ }
mySketch->string(SketchPlugin_Sketch::SOLVER_DOF())->setValue(aDoFMsg.str());
if (aDoF > 0 && myDOF <= 0)