From a66b0bcd9669a90bcdf30ea3188ee409325cc21f Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 13 Sep 2019 13:51:07 +0300 Subject: [PATCH] Menus and validators --- src/BuildPlugin/BuildPlugin_msg_fr.ts | 613 +++++ src/BuildPlugin/CMakeLists.txt | 1 + src/CollectionPlugin/CMakeLists.txt | 1 + .../CollectionPlugin_msg_fr.ts | 112 + src/ConnectorPlugin/CMakeLists.txt | 10 +- src/ConnectorPlugin/ConnectorPlugin_msg_fr.ts | 15 + src/ExchangePlugin/CMakeLists.txt | 1 + src/ExchangePlugin/ExchangePlugin_msg_fr.ts | 135 + src/FeaturesPlugin/FeaturesPlugin_msg_en.ts | 4 +- src/FeaturesPlugin/FeaturesPlugin_msg_fr.ts | 304 ++- .../ParametersPlugin_msg_fr.ts | 41 + src/PartSetPlugin/CMakeLists.txt | 10 +- src/PartSetPlugin/PartSetPlugin_msg_fr.ts | 41 + src/PrimitivesPlugin/CMakeLists.txt | 10 +- .../PrimitivesPlugin_msg_fr.ts | 61 + src/SketchPlugin/CMakeLists.txt | 1 + src/SketchPlugin/SketchPlugin_msg_fr.ts | 2406 +++++++++++++++++ src/SketchSolver/CMakeLists.txt | 1 + src/SketchSolver/SketchSolver_msg_fr.ts | 24 + 19 files changed, 3774 insertions(+), 17 deletions(-) create mode 100644 src/BuildPlugin/BuildPlugin_msg_fr.ts create mode 100644 src/CollectionPlugin/CollectionPlugin_msg_fr.ts create mode 100644 src/ConnectorPlugin/ConnectorPlugin_msg_fr.ts create mode 100644 src/ExchangePlugin/ExchangePlugin_msg_fr.ts create mode 100644 src/ParametersPlugin/ParametersPlugin_msg_fr.ts create mode 100644 src/PartSetPlugin/PartSetPlugin_msg_fr.ts create mode 100644 src/PrimitivesPlugin/PrimitivesPlugin_msg_fr.ts create mode 100644 src/SketchPlugin/SketchPlugin_msg_fr.ts create mode 100644 src/SketchSolver/SketchSolver_msg_fr.ts diff --git a/src/BuildPlugin/BuildPlugin_msg_fr.ts b/src/BuildPlugin/BuildPlugin_msg_fr.ts new file mode 100644 index 000000000..f53ca1038 --- /dev/null +++ b/src/BuildPlugin/BuildPlugin_msg_fr.ts @@ -0,0 +1,613 @@ + + + + + + + + Edge:base_objects:BuildPlugin_ValidatorBaseForBuild + + Could not get selection list. + AA + + + + Edge:base_objects:BuildPlugin_ValidatorBaseForBuild + + Empty selection list. + AA + + + + Edge:base_objects:BuildPlugin_ValidatorBaseForBuild + + Could not get selection. + AA + + + + Edge:base_objects:BuildPlugin_ValidatorBaseForBuild + + Attribute have empty context. + AA + + + + Edge:base_objects:BuildPlugin_ValidatorBaseForBuild + + Empty shape selected. + AA + + + + Edge:base_objects:BuildPlugin_ValidatorBaseForBuild + + Inifinte objects not acceptable. + AA + + + + Edge:base_objects:BuildPlugin_ValidatorBaseForBuild + + Selected shape is in the local selection. Only global selection is allowed. + AA + + + + Edge:Model_FeatureValidator + + Attribute "base_objects" is not initialized. + AA + + + + + Face:BuildPlugin_ValidatorBaseForFace + + Empty attribute \"%1\". + AA + + + Objects not selected. + AA + + + Error while checking if edges intersects. + AA + + + Selected objects have intersections. + AA + + + Selected object(s) should belong to only one plane. + AA + + + Selected objects do not generate closed contour. + AA + + + + Face:Model_FeatureValidator + + Attribute "base_objects" is not initialized. + AA + + + + Face:base_objects:BuildPlugin_ValidatorBaseForBuild + + Could not get selection list. + AA + + + + Face:base_objects:BuildPlugin_ValidatorBaseForBuild + + Empty selection list. + AA + + + + Face:base_objects:BuildPlugin_ValidatorBaseForBuild + + Could not get selection. + AA + + + + Face:base_objects:BuildPlugin_ValidatorBaseForBuild + + Attribute have empty context. + AA + + + + Face:base_objects:BuildPlugin_ValidatorBaseForBuild + + Empty shape selected. + AA + + + + Face:base_objects:BuildPlugin_ValidatorBaseForBuild + + Inifinte objects not acceptable. + AA + + + + Face:base_objects:BuildPlugin_ValidatorBaseForBuild + + Selected shape is in the local selection. Only global selection is allowed. + AA + + + + + Shell:base_objects:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + Shell:base_objects:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + Shell:base_objects:GeomValidators_ShapeType + + Shape type is \"%1\", it should be \"%2\" + AA + + + + Shell:base_objects:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + Shell:base_objects:GeomValidators_ShapeType + + The object is empty + AA + + + + Shell:base_objects:GeomValidators_ShapeType + + The result is empty + AA + + + + Shell:base_objects:GeomValidators_ShapeType + + The shape is empty + AA + + + + Shell:Model_FeatureValidator + + Attribute "base_objects" is not initialized. + AA + + + + + SubShapes:subshapes:BuildPlugin_ValidatorSubShapesSelection + + Could not get selection list. + AA + + + + SubShapes:subshapes:BuildPlugin_ValidatorSubShapesSelection + + Base shape is empty. + AA + + + + SubShapes:subshapes:BuildPlugin_ValidatorSubShapesSelection + + Empty attribute in list. + AA + + + + SubShapes:subshapes:BuildPlugin_ValidatorSubShapesSelection + + Selected shape has unacceptable type. + AA + + + + SubShapes:subshapes:BuildPlugin_ValidatorSubShapesSelection + + Selected shape is not inside base face. + AA + + + + SubShapes:Model_FeatureValidator + + Attribute "base_shape" is not initialized. + AA + + + + SubShapes:Model_FeatureValidator + + Attribute "subshapes" is not initialized. + AA + + + + SubShapes:base_shape:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SubShapes:base_shape:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SubShapes:base_shape:GeomValidators_ShapeType + + Shape type is \"%1\", it should be \"%2\" + AA + + + + SubShapes:base_shape:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SubShapes:base_shape:GeomValidators_ShapeType + + The object is empty + AA + + + + SubShapes:base_shape:GeomValidators_ShapeType + + The result is empty + AA + + + + SubShapes:base_shape:GeomValidators_ShapeType + + The shape is empty + AA + + + + + Vertex:base_objects:BuildPlugin_ValidatorBaseForBuild + + Could not get selection list. + AA + + + + Vertex:base_objects:BuildPlugin_ValidatorBaseForBuild + + Empty selection list. + AA + + + + Vertex:base_objects:BuildPlugin_ValidatorBaseForBuild + + Empty selection list. + AA + + + + Vertex:base_objects:BuildPlugin_ValidatorBaseForBuild + + Could not get selection. + AA + + + + Vertex:base_objects:BuildPlugin_ValidatorBaseForBuild + + Attribute have empty context. + AA + + + + Vertex:base_objects:BuildPlugin_ValidatorBaseForBuild + + Empty shape selected. + AA + + + + Vertex:base_objects:BuildPlugin_ValidatorBaseForBuild + + Inifinte objects not acceptable. + AA + + + + Vertex:base_objects:BuildPlugin_ValidatorBaseForBuild + + Selected shape is in the local selection. Only global selection is allowed. + AA + + + + Vertex:Model_FeatureValidator + + Attribute "base_objects" is not initialized. + AA + + + + + Wire:BuildPlugin_ValidatorBaseForWire + + Empty attribute \"%1\". + AA + + + + Wire:BuildPlugin_ValidatorBaseForWire + + Result wire empty. Probably it has disconnected edges or non-manifold. + AA + + + + Wire:Model_FeatureValidator + + Attribute "base_objects" is not initialized. + AA + + + + Wire + + Model_FeatureValidator: Attribute "add_contour" is not initialized. + AA + + + + Wire:base_objects:BuildPlugin_ValidatorBaseForBuild + + Could not get selection list. + AA + + + + Wire:base_objects:BuildPlugin_ValidatorBaseForBuild + + Empty selection list. + AA + + + + Wire:base_objects:BuildPlugin_ValidatorBaseForBuild + + Could not get selection. + AA + + + + Wire:base_objects:BuildPlugin_ValidatorBaseForBuild + + Attribute have empty context. + AA + + + + Wire:base_objects:BuildPlugin_ValidatorBaseForBuild + + Empty shape selected. + AA + + + + Wire:base_objects:BuildPlugin_ValidatorBaseForBuild + + Inifinte objects not acceptable. + AA + + + + Wire:base_objects:BuildPlugin_ValidatorBaseForBuild + + Selected shape is in the local selection. Only global selection is allowed. + AA + + + + Filling:GeomValidators_MinObjectsSelected + + Error: Attribute "%1" should contain at least %2 items. + AA + + + + Polyline:GeomValidators_MinObjectsSelected + + Error: Attribute "%1" should contain at least %2 items. + AA + + + + Interpolation:GeomValidators_MinObjectsSelected + + Error: Attribute "%1" should contain at least %2 items. + AA + + + + + + + CompSolid + + CompSolid + AA + + + Create a compsolid from solids or other compsolids + AA + + + + + Compound + + Compound + AA + + + Create a compound of objects + AA + + + + + Edge + + Create edges from sketch edges or other edge objects + AA + + + Edge + AA + + + + + Face + + Create a face from edges, wires and faces + AA + + + Face + AA + + + + + Filling + + Create face from list of edges + AA + + + Filling + AA + + + + + Interpolation + + Create an interpolation curve from points + AA + + + Interpolation + AA + + + + + Polyline + + Create a polyline from points + AA + + + Polyline + AA + + + + + Shell + + Create a shell from faces or shells objects + AA + + + Shell + AA + + + + + Solid + + Create a solid from faces or shells + AA + + + Solid + AA + + + + + SubShapes + + Allows to add or to remove sub-shapes of the selected shape + AA + + + Sub-Shapes + AA + + + + + Vertex + + Create vertices from sketch point or other vertex objects + AA + + + Vertex + AA + + + + + Wire + + Create a wire from sketch edges, edges and wires objects + AA + + + Wire + AA + + + + diff --git a/src/BuildPlugin/CMakeLists.txt b/src/BuildPlugin/CMakeLists.txt index 25bc5a013..1d1bf847c 100644 --- a/src/BuildPlugin/CMakeLists.txt +++ b/src/BuildPlugin/CMakeLists.txt @@ -83,6 +83,7 @@ SET(XML_RESOURCES SET(TEXT_RESOURCES BuildPlugin_msg_en.ts + BuildPlugin_msg_fr.ts ) SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES}) diff --git a/src/CollectionPlugin/CMakeLists.txt b/src/CollectionPlugin/CMakeLists.txt index 936dd87e7..dc8e0a0cf 100644 --- a/src/CollectionPlugin/CMakeLists.txt +++ b/src/CollectionPlugin/CMakeLists.txt @@ -68,6 +68,7 @@ SET(XML_RESOURCES SET(TEXT_RESOURCES CollectionPlugin_msg_en.ts + CollectionPlugin_msg_fr.ts ) # sources / moc wrappings diff --git a/src/CollectionPlugin/CollectionPlugin_msg_fr.ts b/src/CollectionPlugin/CollectionPlugin_msg_fr.ts new file mode 100644 index 000000000..1739850bd --- /dev/null +++ b/src/CollectionPlugin/CollectionPlugin_msg_fr.ts @@ -0,0 +1,112 @@ + + + + + + + + Group:group_list:GeomValidators_BodyShapes + + Error: Context is empty. + AA + + + + Group:group_list:GeomValidators_BodyShapes + + Error: Result construction selected. + AA + + + + Group:group_list:GeomValidators_BodyShapes + + Error: Attribute \"%1\" does not supported by this validator. + AA + + + + Group:Model_FeatureValidator + + Attribute "group_list" is not initialized. + AA + + + + Field:Model_FeatureValidator + + Attribute "components_names" is not initialized. + AA + + + + GroupIntersection:EmptyResult + + Error: Empty result. + AA + + + + + + + Field + + Create fields for selected shapes + AA + + + Field + AA + + + + + Group + + Create named collection of geometry entities + AA + + + Group + AA + + + + + GroupAddition + + Group Addition + AA + + + Join several groups to single group + AA + + + + + GroupIntersection + + Get elements existing in all groups + AA + + + Group Intersection + AA + + + + + GroupSubstraction + + Exclude elements existing tool groups + AA + + + Group Substraction + AA + + + + diff --git a/src/ConnectorPlugin/CMakeLists.txt b/src/ConnectorPlugin/CMakeLists.txt index 9e247c9d8..17a885057 100644 --- a/src/ConnectorPlugin/CMakeLists.txt +++ b/src/ConnectorPlugin/CMakeLists.txt @@ -28,8 +28,14 @@ SET(XML_RESOURCES plugin-Connector.xml ) -ADD_CUSTOM_TARGET(ConnectorPlugin SOURCES ${PYTHON_FILES} ${XML_RESOURCES}) +SET(TEXT_RESOURCES + ConnectorPlugin_msg_fr.ts +) + +SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES}) + +ADD_CUSTOM_TARGET(ConnectorPlugin SOURCES ${PYTHON_FILES} ${XML_RESOURCES} ${TEXT_RESOURCES}) INSTALL(FILES ${PYTHON_FILES} DESTINATION ${SHAPER_INSTALL_PYTHON_FILES}) -INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) +INSTALL(FILES ${XML_RESOURCES} ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Connector) diff --git a/src/ConnectorPlugin/ConnectorPlugin_msg_fr.ts b/src/ConnectorPlugin/ConnectorPlugin_msg_fr.ts new file mode 100644 index 000000000..aa8f0caad --- /dev/null +++ b/src/ConnectorPlugin/ConnectorPlugin_msg_fr.ts @@ -0,0 +1,15 @@ + + + + + ExportToGEOM + + Export all bodies and groups into GEOM module + AA + + + Export to GEOM + AA + + + diff --git a/src/ExchangePlugin/CMakeLists.txt b/src/ExchangePlugin/CMakeLists.txt index 222f2e6ea..2a9c196f4 100644 --- a/src/ExchangePlugin/CMakeLists.txt +++ b/src/ExchangePlugin/CMakeLists.txt @@ -55,6 +55,7 @@ SET(XML_RESOURCES SET(TEXT_RESOURCES ExchangePlugin_msg_en.ts + ExchangePlugin_msg_fr.ts ) SET(PROJECT_LIBRARIES diff --git a/src/ExchangePlugin/ExchangePlugin_msg_fr.ts b/src/ExchangePlugin/ExchangePlugin_msg_fr.ts new file mode 100644 index 000000000..c1cb662d3 --- /dev/null +++ b/src/ExchangePlugin/ExchangePlugin_msg_fr.ts @@ -0,0 +1,135 @@ + + + + + + + + Import:Model_FeatureValidator + + Attribute "file_path" is not initialized. + AA + + + + Import:file_path:ExchangePlugin_ImportFormat + + File name is empty. + AA + + + + + Export:Model_FeatureValidator + + Attribute "file_format" is not initialized. + AA + + + + Export:Model_FeatureValidator + + Attribute "selection_list" is not initialized. + AA + + + + Export:file_path:ExchangePlugin_ExportFormat + + File name is empty. + AA + + + + Export:selection_list:GeomValidators_Finite + + Infinite result is selected. + AA + + + + Export:Model_FeatureValidator + + Attribute "file_path" is not initialized. + AA + + + + Export:Model_FeatureValidator + + Attribute "selection_list" is not initialized. + AA + + + + Export:Model_FeatureValidator + + Attribute "xao_file_path" is not initialized. + AA + + + + Export:Model_FeatureValidator + + Attribute "xao_author" is not initialized. + AA + + + + Export:Model_FeatureValidator + + Attribute "xao_geometry_name" is not initialized. + AA + + + + Export:ExchangePlugin_ExportFormat + + %1 is not initialized. + AA + + + %1 is not a string attribute. + AA + + + + + + + Dump + + Dump + AA + + + Dump python script + AA + + + + + Export + + Export + AA + + + Export to file + AA + + + + + Import + + Import + AA + + + Import a file + AA + + + + diff --git a/src/FeaturesPlugin/FeaturesPlugin_msg_en.ts b/src/FeaturesPlugin/FeaturesPlugin_msg_en.ts index 0caebe362..f3779e279 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_msg_en.ts +++ b/src/FeaturesPlugin/FeaturesPlugin_msg_en.ts @@ -3695,8 +3695,8 @@ FusionFaces:Model_FeatureValidator - Attribute "base_shape" is not initialized. - Base shape is not selected. + Attribute "base_shape" is not initialized. + Base shape is not selected. diff --git a/src/FeaturesPlugin/FeaturesPlugin_msg_fr.ts b/src/FeaturesPlugin/FeaturesPlugin_msg_fr.ts index 127c9e0fd..6868fd90a 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_msg_fr.ts +++ b/src/FeaturesPlugin/FeaturesPlugin_msg_fr.ts @@ -1,13 +1,19 @@ + workshop Scale AA + + Extrusion + AA + + Scale @@ -95,13 +101,6 @@ - - workshop - - Extrusion - AA - - Extrusion:GeomValidators_ZeroOffset @@ -3932,8 +3931,295 @@ FusionFaces:Model_FeatureValidator - Attribute "base_shape" is not initialized. - AA + Attribute "base_shape" is not initialized. + AA + + + + + + + AngularCopy + + Angular Copy + AA + + + Perform copy and rotate + AA + + + + Common + + Common + AA + + + Perform boolean common operation with objects + AA + + + + Cut + + Cut + AA + + + Perform boolean cut operation with objects + AA + + + + Fuse + + Fuse + AA + + + Perform boolean fuse operation with objects + AA + + + + ExtrusionCut + + + AA + + + ExtrusionCut + AA + + + + ExtrusionFuse + + + AA + + + ExtrusionFuse + AA + + + + Fillet + + Fillet + AA + + + Perform fillet on face or edge + AA + + + + FusionFaces + + Fuse Faces + AA + + + Performs fusion of connected faces + AA + + + + Intersection + + Intersect objects with tools + AA + + + Intersection + AA + + LinearCopy + + Linear copy + AA + + + Perform copy and translate + AA + + + + Measurement + + Calculate properties of objects + AA + + + Measurement + AA + + + + Partition + + Partition + AA + + + Perform partition operations with solids + AA + + + + Pipe + + Generates extrusion along a path + AA + + + Pipe + AA + + + + Placement + + Place objects relatively to another one + AA + + + Placement + AA + + + + Recover + + Recover + AA + + + Visualize concealed objects + AA + + + + + Revolution + + Create a solid by revolution of a face + AA + + + Revolution + AA + + + + RevolutionCut + + + AA + + + RevolutionCut + AA + + + + RevolutionFuse + + + AA + + + RevolutionFuse + AA + + + + + Rotation + + Perform rotation of objects around the axis to specified angle + AA + + + Rotation + AA + + + + + Remove_SubShapes + + Allows to remove sub-shapes from wires, shells, compsolids and compounds + AA + + + Remove Sub-Shapes + AA + + + + + Smash + + Perform boolean smash operation with objects + AA + + + Smash + AA + + + + + Split + + Perform boolean split operation with objects + AA + + + Split + AA + + + + + Symmetry + + Perform symmetry with respect to a point, an axis or a plane + AA + + + Symmetry + AA + + + + + Translation + + Perform translation of objects along the axis to specified distance + AA + + + Translation + AA + + + + + Union + + Perform union operations with shapes + AA + + + Union + AA + + + diff --git a/src/ParametersPlugin/ParametersPlugin_msg_fr.ts b/src/ParametersPlugin/ParametersPlugin_msg_fr.ts new file mode 100644 index 000000000..31199b111 --- /dev/null +++ b/src/ParametersPlugin/ParametersPlugin_msg_fr.ts @@ -0,0 +1,41 @@ + + + + + + Parameter + + Create a parameter + AA + + + Parameter + AA + + + Attribute "variable" is not initialized. + AA + + + + + ParametersMgr + + Manage parameters + AA + + + Parameters + AA + + + + + Parameter:Model_FeatureValidator + + Attribute "expression" is not initialized. + AA + + + + diff --git a/src/PartSetPlugin/CMakeLists.txt b/src/PartSetPlugin/CMakeLists.txt index a9d98e14f..9b3079ba3 100644 --- a/src/PartSetPlugin/CMakeLists.txt +++ b/src/PartSetPlugin/CMakeLists.txt @@ -38,8 +38,14 @@ SET(XML_RESOURCES plugin-PartSet.xml ) +SET(TEXT_RESOURCES + PartSetPlugin_msg_fr.ts +) + +SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES}) + ADD_DEFINITIONS(-DPARTSETPLUGIN_EXPORTS) -ADD_LIBRARY(PartSetPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES}) +ADD_LIBRARY(PartSetPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES}) TARGET_LINK_LIBRARIES(PartSetPlugin ${PROJECT_LIBRARIES} ModelAPI) INCLUDE_DIRECTORIES( @@ -49,5 +55,5 @@ INCLUDE_DIRECTORIES( ) INSTALL(TARGETS PartSetPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES}) -INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) +INSTALL(FILES ${XML_RESOURCES} ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/PartSet) diff --git a/src/PartSetPlugin/PartSetPlugin_msg_fr.ts b/src/PartSetPlugin/PartSetPlugin_msg_fr.ts new file mode 100644 index 000000000..5c7b80109 --- /dev/null +++ b/src/PartSetPlugin/PartSetPlugin_msg_fr.ts @@ -0,0 +1,41 @@ + + + + + + Duplicate + + Duplicate active part + AA + + + Duplicate part + AA + + + + + Part + + Create part + AA + + + New part + AA + + + + + Remove + + Remove active part + AA + + + Remove part + AA + + + + diff --git a/src/PrimitivesPlugin/CMakeLists.txt b/src/PrimitivesPlugin/CMakeLists.txt index 0e04ab120..abc07fbac 100644 --- a/src/PrimitivesPlugin/CMakeLists.txt +++ b/src/PrimitivesPlugin/CMakeLists.txt @@ -45,6 +45,12 @@ SET(XML_RESOURCES torus_widget.xml ) +SET(TEXT_RESOURCES + PrimitivesPlugin_msg_fr.ts +) + +SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES}) + INCLUDE_DIRECTORIES( ../ModelAPI ../GeomAPI @@ -60,11 +66,11 @@ SET(PROJECT_LIBRARIES ) ADD_DEFINITIONS(-DPRIMITIVESPLUGIN_EXPORTS) -ADD_LIBRARY(PrimitivesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES}) +ADD_LIBRARY(PrimitivesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES}) TARGET_LINK_LIBRARIES(PrimitivesPlugin ${PROJECT_LIBRARIES}) INSTALL(TARGETS PrimitivesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES}) -INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) +INSTALL(FILES ${XML_RESOURCES} ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Primitives) diff --git a/src/PrimitivesPlugin/PrimitivesPlugin_msg_fr.ts b/src/PrimitivesPlugin/PrimitivesPlugin_msg_fr.ts new file mode 100644 index 000000000..7a67defb6 --- /dev/null +++ b/src/PrimitivesPlugin/PrimitivesPlugin_msg_fr.ts @@ -0,0 +1,61 @@ + + + + + + Box + + Box + AA + + + Create a box + AA + + + + Cone + + Cone + AA + + + Create a Cone + AA + + + + Cylinder + + Create a cylinder + AA + + + Cylinder + AA + + + + Sphere + + Create a sphere + AA + + + Sphere + AA + + + + Torus + + Create a Torus + AA + + + Torus + AA + + + + diff --git a/src/SketchPlugin/CMakeLists.txt b/src/SketchPlugin/CMakeLists.txt index 26cf523f2..c4353aac1 100644 --- a/src/SketchPlugin/CMakeLists.txt +++ b/src/SketchPlugin/CMakeLists.txt @@ -130,6 +130,7 @@ SET(XML_RESOURCES SET(TEXT_RESOURCES SketchPlugin_msg_en.ts + SketchPlugin_msg_fr.ts ) SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES}) diff --git a/src/SketchPlugin/SketchPlugin_msg_fr.ts b/src/SketchPlugin/SketchPlugin_msg_fr.ts new file mode 100644 index 000000000..37a2949fd --- /dev/null +++ b/src/SketchPlugin/SketchPlugin_msg_fr.ts @@ -0,0 +1,2406 @@ + + + + + + + + Sketch:Model_FeatureValidator + + Attribute "DirX" is not initialized. + AA + + + + Sketch:Model_FeatureValidator + + Attribute "Features" is not initialized. + AA + + + + Sketch:External:GeomValidators_Face + + The attribute with the %1 type is not processed + AA + + + + Sketch:External:GeomValidators_Face + + The shape is not a face. + AA + + + + Sketch:External:GeomValidators_Face + + The shape is not a plane. + AA + + + + Sketch:External:GeomValidators_Face + + The shape is not a cylinder. + AA + + + + Sketch:External:GeomValidators_Face + + The shape is not an available face. + AA + + + + Sketch:Model_FeatureValidator + + Attribute "External" is not initialized. + AA + + + + Sketch:Model_FeatureValidator + + Attribute "SolverDOF" is not initialized. + AA + + + + Sketch:Model_FeatureValidator + + Attribute "SolverError" is not initialized. + AA + + + + + SketchMacroCircle:CircleRadius:GeomValidators_Positive + + Value is too small. + AA + + + + SketchMacroCircle:Model_FeatureValidator + + Attribute "circle_center" is not initialized. + AA + + + + SketchMacroCircle:Model_FeatureValidator + + Attribute "FirstPoint" is not initialized. + AA + + + + SketchMacroCircle:Model_FeatureValidator + + Attribute "SecondPoint" is not initialized. + AA + + + + SketchMacroCircle:Model_FeatureValidator + + Attribute "ThirdPoint" is not initialized. + AA + + + + SketchMacroCircle:CircleCenter + + Attribute "circle_center" is locked by modification value in the viewer. + AA + + + + SketchMacroCircle:FirstPoint + + Attribute "FirstPoint" is locked by modification value in the viewer. + AA + + + + SketchMacroCircle:SecondPoint + + Attribute "SecondPoint" is locked by modification value in the viewer. + AA + + + + SketchMacroCircle:ThirdPoint + + Attribute "ThirdPoint" is locked by modification value in the viewer. + AA + + + + SketchMacroCircle:CircleRadius + + Attribute "circle_radius" is locked by modification value in the viewer. + AA + + + + SketchMacroCircle:CircleRadius:GeomValidators_Positive + + Integer is not initialized. + AA + + + + SketchMacroCircle:CircleRadius:GeomValidators_Positive + + Integer is not positive. + AA + + + + SketchMacroCircle:Model_FeatureValidator + + Attribute "circle_radius" is not initialized. + AA + + + + + SketchConstraintHorizontal:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintHorizontal + + ModelAPI_StateInvalidArgument + AA + + + + SketchConstraintHorizontal:ConstraintEntityA:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintHorizontal:ConstraintEntityA:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintHorizontal:ConstraintEntityA:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintHorizontal:ConstraintEntityA:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintHorizontal:ConstraintEntityA:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintHorizontal:ConstraintEntityA:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintHorizontal:ConstraintEntityA:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchConstraintPerpendicular:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintPerpendicular:Model_FeatureValidator + + Attribute "ConstraintEntityB" is not initialized. + AA + + + + SketchConstraintPerpendicular:ConstraintEntityA:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintPerpendicular:ConstraintEntityB:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintPerpendicular:ConstraintEntityB:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintPerpendicular:ConstraintEntityB:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintPerpendicular:ConstraintEntityB:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintPerpendicular:ConstraintEntityB:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintPerpendicular:ConstraintEntityB:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintPerpendicular:ConstraintEntityB:GeomValidators_ShapeType + + The shape is empty + AA + + + + SketchConstraintPerpendicular:ConstraintEntityA:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + SketchConstraintPerpendicular:ConstraintEntityA:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintPerpendicular:ConstraintEntityA:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintPerpendicular:ConstraintEntityA:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintPerpendicular:ConstraintEntityA:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintPerpendicular:ConstraintEntityA:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintPerpendicular:ConstraintEntityA:GeomValidators_ShapeType + + The shape is empty + AA + + + + SketchConstraintPerpendicular:ConstraintEntityB:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + + SketchConstraintRadius:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintRadius:ConstraintFlyoutValuePnt + + Attribute "ConstraintFlyoutValuePnt" is locked by modification value in the viewer. + AA + + + + SketchConstraintRadius:ConstraintEntityA:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintRadius:ConstraintValue:GeomValidators_Positive + + Double is not initialized. + AA + + + + SketchConstraintRadius:ConstraintValue:GeomValidators_Positive + + Value is too small. + AA + + + + SketchConstraintRadius:ConstraintValue:GeomValidators_Positive + + Integer is not initialized. + AA + + + + SketchConstraintRadius:ConstraintValue:GeomValidators_Positive + + Integer is not positive. + AA + + + + SketchConstraintRadius:Model_FeatureValidator + + Attribute "ConstraintValue" is not initialized. + AA + + + + SketchConstraintRadius:ConstraintEntityA:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintRadius:ConstraintEntityA:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintRadius:ConstraintEntityA:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintRadius:ConstraintEntityA:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintRadius:ConstraintEntityA:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintRadius:ConstraintEntityA:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchConstraintVertical + + ModelAPI_StateInvalidArgument + AA + + + + SketchConstraintVertical:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintVertical:ConstraintEntityA:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintVertical:ConstraintEntityA:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintVertical:ConstraintEntityA:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintVertical:ConstraintEntityA:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintVertical:ConstraintEntityA:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintVertical:ConstraintEntityA:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintVertical:ConstraintEntityA:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchLine:GeomValidators_Different + + Attributes StartPoint and EndPoint are equal. + AA + + + + SketchLine:Model_FeatureValidator + + Attribute "EndPoint" is not initialized. + AA + + + + SketchLine:EndPoint + + Attribute "EndPoint" is locked by modification value in the viewer. + AA + + + + SketchLine:StartPoint + + Attribute "StartPoint" is locked by modification value in the viewer. + AA + + + + SketchLine:StartPoint + + Attribute "StartPoint" is not initialized. + AA + + + + SketchLine:EndPoint + + Attribute "EndPoint" is not initialized. + AA + + + + SketchLine:Model_FeatureValidator + + Attribute "StartPoint" is not initialized. + AA + + + + + SketchPoint:Model_FeatureValidator + + Attribute "PointCoordinates" is not initialized. + AA + + + + SketchPoint:PointCoordinates + + Attribute "PointCoordinates" is locked by modification value in the viewer. + AA + + + + + SketchRectangle:GeomValidators_Different + + Attributes RectStartPoint and RectEndPoint are equal. + AA + + + + SketchRectangle:RectEndPoint + + Attribute "RectEndPoint" is locked by modification value in the viewer. + AA + + + + SketchRectangle:RectStartPoint + + Attribute "RectStartPoint" is locked by modification value in the viewer. + AA + + + + SketchRectangle:Model_FeatureValidator + + Attribute "RectStartPoint" is not initialized. + AA + + + + SketchRectangle:Model_FeatureValidator + + Attribute "RectEndPoint" is not initialized. + AA + + + + + SketchArc:ArcRadius:GeomValidators_Positive + + Double is not initialized. + AA + + + + SketchArc:ArcTangentPoint:SketchPlugin_ArcTangentPoint + + The attribute ArcTangentPoint should be a point + AA + + + + SketchArc:ArcCenter + + Attribute "center_point" is locked by modification value in the viewer. + AA + + + + SketchArc:ArcCenter + + Attribute "center_point" is not initialized. + AA + + + + SketchArc:ArcEndPoint + + Attribute "ArcEndPoint" is locked by modification value in the viewer. + AA + + + + SketchArc:ArcPassedPoint + + Attribute "ArcPassedPoint" is locked by modification value in the viewer. + AA + + + + SketchArc:ArcStartPoint + + Attribute "ArcStartPoint" is locked by modification value in the viewer. + AA + + + + SketchArc:GeomValidators_Different + + Attributes ArcCenter and ArcStartPoint are equal. + AA + + + + SketchArc:GeomValidators_Different + + Attributes ArcStartPoint and ArcEndPoint are equal. + AA + + + + SketchArc:Model_FeatureValidator + + Attribute "ArcEndPoint" is not initialized. + AA + + + + SketchArc:Model_FeatureValidator + + Attribute "ArcPassedPoint" is not initialized. + AA + + + + SketchArc:ArcRadius:GeomValidators_Positive + + Value is too small. + AA + + + + SketchArc:ArcRadius:GeomValidators_Positive + + Integer is not initialized. + AA + + + + SketchArc:ArcRadius:GeomValidators_Positive + + Integer is not positive. + AA + + + + SketchArc:Model_FeatureValidator + + Attribute "center_point" is not initialized. + AA + + + + SketchArc:Model_FeatureValidator:ArcStartPoint + + Attribute "start_point" is not initialized. + AA + + + + SketchArc:Model_FeatureValidator + + Attribute "end_point" is not initialized. + AA + + + + SketchArc:Model_FeatureValidator + + Attribute "ArcPassedPoint" is not initialized. + AA + + + + SketchArc:Model_FeatureValidator + + Attribute "ArcTangentPoint" is not initialized. + AA + + + + SketchConstraintMirror:ConstraintEntityA:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintMirror:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintMirror:Model_FeatureValidator + + Attribute "ConstraintMirrorList" is not initialized. + AA + + + + SketchConstraintMirror:ConstraintEntityA:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintMirror:ConstraintEntityA:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintMirror:ConstraintEntityA:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintMirror:ConstraintEntityA:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintMirror:ConstraintEntityA:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintMirror:ConstraintEntityA:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchMultiRotation:Model_FeatureValidator + + Attribute "AngleType" is not initialized. + AA + + + + SketchMultiRotation:Model_FeatureValidator + + Attribute "MultiRotationCenter" is not initialized. + AA + + + + SketchMultiRotation:MultiRotationCenter:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchMultiRotation:MultiRotationObjects:GeomValidators_Positive + + Double is not initialized. + AA + + + + SketchMultiRotation:MultiRotationObjects:GeomValidators_Positive + + Value is too small. + AA + + + + SketchMultiRotation:MultiRotationObjects:GeomValidators_Positive + + Integer is not initialized. + AA + + + + SketchMultiRotation:MultiRotationObjects:GeomValidators_Positive + + Integer is not positive. + AA + + + + SketchMultiRotation:Model_FeatureValidator + + Attribute "MultiRotationList" is not initialized. + AA + + + + SketchMultiRotation:Model_FeatureValidator + + Attribute "MultiRotationAngle" is not initialized. + AA + + + + SketchMultiRotation:Model_FeatureValidator + + Attribute "MultiRotationObjects" is not initialized. + AA + + + + SketchMultiRotation:MultiRotationList:SketchPlugin_CopyValidator + + The attribute with the %1 type is not processed + AA + + + + SketchMultiRotation:MultiRotationList:SketchPlugin_CopyValidator + + The object %1 is a result of copy + AA + + + + SketchMultiRotation:MultiRotationCenter:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchMultiRotation:MultiRotationCenter:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchMultiRotation:MultiRotationCenter:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchMultiRotation:MultiRotationCenter:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchMultiRotation:MultiRotationCenter:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchMultiRotation:MultiRotationCenter:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchMultiTranslation:Model_FeatureValidator + + Attribute "MultiTranslationEndPoint" is not initialized. + AA + + + + SketchMultiTranslation:Model_FeatureValidator + + Attribute "MultiTranslationList" is not initialized. + AA + + + + SketchMultiTranslation:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchMultiTranslation:MultiTranslationStartPoint:GeomValidators_ShapeType + + The object is empty + AA + + + + + SketchMultiTranslation:MultiTranslationObjects:GeomValidators_Positive + + Double is not initialized. + AA + + + + SketchMultiTranslation:MultiTranslationObjects:GeomValidators_Positive + + Value is too small. + AA + + + + SketchMultiTranslation:MultiTranslationObjects:GeomValidators_Positive + + Integer is not initialized. + AA + + + + SketchMultiTranslation:MultiTranslationObjects:GeomValidators_Positive + + Integer is not positive. + AA + + + + + SketchMultiTranslation:Model_FeatureValidator + + Attribute "MultiTranslationStartPoint" is not initialized. + AA + + + + SketchMultiTranslation:Model_FeatureValidator + + Attribute "MultiTranslationObjects" is not initialized. + AA + + + + SketchMultiTranslation:MultiTranslationList:SketchPlugin_CopyValidator + + The attribute with the %1 type is not processed + AA + + + + SketchMultiTranslation:MultiTranslationList:SketchPlugin_CopyValidator + + The object %1 is a result of copy + AA + + + + SketchMultiTranslation:MultiTranslationStartPoint:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchMultiTranslation:MultiTranslationStartPoint:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchMultiTranslation:MultiTranslationStartPoint:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchMultiTranslation:MultiTranslationStartPoint:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchMultiTranslation:MultiTranslationStartPoint:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchMultiTranslation:MultiTranslationStartPoint:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchMultiTranslation:MultiTranslationStartPoint:GeomValidators_ShapeType + + The shape is empty + AA + + + + SketchMultiTranslation:MultiTranslationEndPoint:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchMultiTranslation:MultiTranslationEndPoint:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchMultiTranslation:MultiTranslationEndPoint:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchMultiTranslation:MultiTranslationEndPoint:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchMultiTranslation:MultiTranslationEndPoint:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchMultiTranslation:MultiTranslationEndPoint:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchMultiTranslation:MultiTranslationEndPoint:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchConstraintAngle:ConstraintFlyoutValuePnt + + Attribute "ConstraintFlyoutValuePnt" is locked by modification value in the viewer. + AA + + + + SketchConstraintAngle:ConstraintEntityA:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintAngle:ConstraintEntityB:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintAngle:ConstraintEntityB:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + SketchConstraintAngle:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintAngle:Model_FeatureValidator + + Attribute "ConstraintEntityB" is not initialized. + AA + + + + SketchConstraintAngle:Model_FeatureValidator + + Attribute "AngleValue" is not initialized. + AA + + + + SketchConstraintAngle:Model_FeatureValidator + + Attribute "AngleType" is not initialized. + AA + + + + SketchConstraintAngle:ConstraintEntityA:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintAngle:ConstraintEntityA:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintAngle:ConstraintEntityA:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintAngle:ConstraintEntityA:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintAngle:ConstraintEntityA:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintAngle:ConstraintEntityA:GeomValidators_ShapeType + + The shape is empty + AA + + + + SketchConstraintAngle:ConstraintEntityA:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + SketchConstraintAngle:ConstraintEntityB:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintAngle:ConstraintEntityB:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintAngle:ConstraintEntityB:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintAngle:ConstraintEntityB:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintAngle:ConstraintEntityB:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintAngle:ConstraintEntityB:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchConstraintCoincidence:ConstraintEntityA:PartSet_DifferentObjects + + The feature uses one object in ConstraintEntityA and ConstraintEntityB attributes. + AA + + + + SketchConstraintCoincidence:ConstraintEntityB:PartSet_DifferentObjects + + The feature uses one object in ConstraintEntityB and ConstraintEntityA attributes. + AA + + + + SketchConstraintCoincidence:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintCoincidence:Model_FeatureValidator + + Attribute "ConstraintEntityB" is not initialized. + AA + + + + SketchConstraintCoincidence:ConstraintEntityB:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + SketchConstraintCoincidence:ConstraintEntityA:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + + SketchConstraintDistance:ConstraintFlyoutValuePnt + + Attribute "ConstraintFlyoutValuePnt" is locked by modification value in the viewer. + AA + + + + SketchConstraintDistance:ConstraintEntityA:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintDistance:ConstraintEntityB:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintDistance:ConstraintValue:GeomValidators_Positive + + Double is not initialized. + AA + + + + SketchConstraintDistance:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintDistance:Model_FeatureValidator + + Attribute "ConstraintEntityB" is not initialized. + AA + + + + SketchConstraintDistance:ConstraintValue:GeomValidators_Positive + + Value is too small. + AA + + + + SketchConstraintDistance:ConstraintValue:GeomValidators_Positive + + Integer is not initialized. + AA + + + + SketchConstraintDistance:ConstraintValue:GeomValidators_Positive + + Integer is not positive. + AA + + + + SketchConstraintDistance:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintDistance:Model_FeatureValidator + + Attribute "ConstraintEntityB" is not initialized. + AA + + + + SketchConstraintDistance:Model_FeatureValidator + + Attribute "ConstraintValue" is not initialized. + AA + + + + SketchConstraintDistance:ConstraintEntityA:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + SketchConstraintDistance:ConstraintEntityA:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintDistance:ConstraintEntityA:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintDistance:ConstraintEntityA:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintDistance:ConstraintEntityA:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintDistance:ConstraintEntityA:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintDistance:ConstraintEntityA:GeomValidators_ShapeType + + The shape is empty + AA + + + + SketchConstraintDistance:ConstraintEntityB:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + SketchConstraintDistance:ConstraintEntityB:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintDistance:ConstraintEntityB:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintDistance:ConstraintEntityB:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintDistance:ConstraintEntityB:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintDistance:ConstraintEntityB:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintDistance:ConstraintEntityB:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchConstraintEqual:ConstraintEntityA:PartSet_DifferentObjects + + The feature uses one object in ConstraintEntityA and ConstraintEntityB attributes. + AA + + + + SketchConstraintEqual:ConstraintEntityB:PartSet_DifferentObjects + + The feature uses one object in ConstraintEntityB and ConstraintEntityA attributes. + AA + + + + SketchConstraintEqual:ConstraintEntityB:SketchPlugin_EqualAttr + + An empty object is used. + AA + + + + SketchConstraintEqual:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintEqual:Model_FeatureValidator + + Attribute "ConstraintEntityB" is not initialized. + AA + + + + SketchConstraintEqual:ConstraintEntityB:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + SketchConstraintEqual:ConstraintEntityA:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + + SketchConstraintLength:ConstraintFlyoutValuePnt + + Attribute "ConstraintFlyoutValuePnt" is locked by modification value in the viewer. + AA + + + + SketchConstraintLength:ConstraintEntityA:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintLength:ConstraintValue:GeomValidators_Positive + + Double is not initialized. + AA + + + + SketchConstraintLength:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintLength:ConstraintValue:GeomValidators_Positive + + Value is too small. + AA + + + + SketchConstraintLength:ConstraintValue:GeomValidators_Positive + + Integer is not initialized. + AA + + + + SketchConstraintLength:ConstraintValue:GeomValidators_Positive + + Integer is not positive. + AA + + + + + SketchConstraintLength:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintLength:Model_FeatureValidator + + Attribute "ConstraintValue" is not initialized. + AA + + + + SketchConstraintLength:ConstraintEntityA:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintLength:ConstraintEntityA:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintLength:ConstraintEntityA:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintLength:ConstraintEntityA:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintLength:ConstraintEntityA:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintLength:ConstraintEntityA:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchConstraintMiddle:ConstraintEntityA:PartSet_DifferentObjects + + The feature uses one object in ConstraintEntityA and ConstraintEntityB attributes. + AA + + + + SketchConstraintMiddle:ConstraintEntityB:PartSet_DifferentObjects + + The feature uses one object in ConstraintEntityB and ConstraintEntityA attributes. + AA + + + + SketchConstraintMiddle:ConstraintEntityB:SketchPlugin_MiddlePointAttr + + Middle point constraint allows points and lines only + AA + + + + SketchConstraintMiddle:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintMiddle:Model_FeatureValidator + + Attribute "ConstraintEntityB" is not initialized. + AA + + + + SketchConstraintMiddle:ConstraintEntityB:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + SketchConstraintMiddle:ConstraintEntityA:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + + SketchConstraintParallel:ConstraintEntityA:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintParallel:ConstraintEntityB:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintParallel:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintParallel:Model_FeatureValidator + + Attribute "ConstraintEntityB" is not initialized. + AA + + + + SketchConstraintParallel:ConstraintEntityB:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + SketchConstraintParallel:ConstraintEntityA:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintParallel:ConstraintEntityA:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintParallel:ConstraintEntityA:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintParallel:ConstraintEntityA:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintParallel:ConstraintEntityA:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintParallel:ConstraintEntityA:GeomValidators_ShapeType + + The shape is empty + AA + + + + SketchConstraintParallel:ConstraintEntityA:SketchPlugin_ExternalValidator + + Both features, attribute and attribute in parameter, are external. + AA + + + + SketchConstraintParallel:ConstraintEntityB:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintParallel:ConstraintEntityB:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintParallel:ConstraintEntityB:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintParallel:ConstraintEntityB:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintParallel:ConstraintEntityB:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintParallel:ConstraintEntityB:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchConstraintRigid:ConstraintEntityA:GeomValidators_ShapeType + + The object is empty + AA + + + + SketchConstraintRigid:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintRigid:ConstraintEntityA:GeomValidators_ShapeType + + It does not contain element with acceptable shape type. The type should be one of the next: %1 + AA + + + + SketchConstraintRigid:ConstraintEntityA:GeomValidators_ShapeType + + It has reference to an empty attribute + AA + + + + SketchConstraintRigid:ConstraintEntityA:GeomValidators_ShapeType + + Shape type is "%1", it should be "%2" + AA + + + + SketchConstraintRigid:ConstraintEntityA:GeomValidators_ShapeType + + The attribute with the %1 type is not processed + AA + + + + SketchConstraintRigid:ConstraintEntityA:GeomValidators_ShapeType + + The result is empty + AA + + + + SketchConstraintRigid:ConstraintEntityA:GeomValidators_ShapeType + + The shape is empty + AA + + + + + SketchConstraintTangent:ConstraintEntityA:PartSet_DifferentObjects + + The feature uses one object in ConstraintEntityA and ConstraintEntityB attributes. + AA + + + + SketchConstraintTangent:ConstraintEntityB:PartSet_DifferentObjects + + The feature uses one object in ConstraintEntityB and ConstraintEntityA attributes. + AA + + + + SketchConstraintTangent:ConstraintEntityB:SketchPlugin_TangentAttr + + It uses an empty object + AA + + + + SketchConstraintTangent:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchConstraintTangent:Model_FeatureValidator + + Attribute "ConstraintEntityB" is not initialized. + AA + + + + + SketchConstraintSplit:ConstraintEntityA:SketchPlugin_SplitValidator + + The attribute with the %1 type is not processed + AA + + + + + SketchFillet:ConstraintValue:GeomValidators_Positive + + Double is not initialized. + AA + + + + SketchFillet:ConstraintValue:GeomValidators_Positive + + Value is too small. + AA + + + + SketchFillet:ConstraintValue:GeomValidators_Positive + + Integer is not initialized. + AA + + + + SketchFillet:ConstraintValue:GeomValidators_Positive + + Integer is not positive. + AA + + + + SketchFillet:Model_FeatureValidator + + Attribute "ConstraintEntityA" is not initialized. + AA + + + + SketchFillet:Model_FeatureValidator + + Attribute "ConstraintValue" is not initialized. + AA + + + + SketchFillet:ConstraintEntityA:SketchPlugin_FilletVertexValidator + + Error: List of points is empty. + AA + + + + SketchFillet:ConstraintEntityA:SketchPlugin_FilletVertexValidator + + Error: one of the selected point does not have coicidence. + AA + + + + SketchFillet:ConstraintEntityA:SketchPlugin_FilletVertexValidator + + Error: One of the selected points does not have two suitable edges for fillet. + AA + + + + SketchFillet:ConstraintEntityA:SketchPlugin_FilletVertexValidator + + Error: Edges in selected point has tangent constraint. + AA + + + + SketchFillet:ConstraintEntityA:SketchPlugin_FilletVertexValidator + + Error: Edges in selected point has tangent constraint. + AA + + + + + SketchProjection:ExternalFeature:SketchPlugin_ProjectionValidator + + The attribute with the %1 type is not processed + AA + + + + SketchProjection:ExternalFeature:SketchPlugin_ProjectionValidator + + The attribute %1 should be an edge + AA + + + + SketchProjection:ExternalFeature:SketchPlugin_ProjectionValidator + + There is no sketch referring to the current feature + AA + + + + + SketchProjection:Model_FeatureValidator + + Attribute "ExternalFeature" is not initialized. + AA + + + + + + + Sketch + + Create sketch + AA + + + Sketch + AA + + + + SketchConstraintAngle + + Angle + AA + + + Set fixed angle between two line segments + AA + + + + SketchConstraintCoincidence + + Coincident + AA + + + Create constraint for the coincidence of two points or point on line or circle + AA + + + + SketchConstraintCollinear + + Collinear + AA + + + Create constraint defining collinearity of two lines + AA + + + + SketchConstraintDistance + + Distance + AA + + + Set fixed distance from a point to an object + AA + + + + SketchConstraintDistanceHorizontal + + Horizontal Distance + AA + + + Set horizontal distance between two points + AA + + + + SketchConstraintDistanceVertical + + Set vertical distance between two points + AA + + + Vertical Distance + AA + + + + SketchConstraintEqual + + Create constraint defining equal lengths of two lines or line and arc or equal radii of two arcs or two circles or arc and circle + AA + + + Equal + AA + + + + SketchConstraintHorizontal + + Create constraint defining horizontal line + AA + + + Horizontal + AA + + + + SketchConstraintLength + + Length + AA + + + Set fixed length of a line segment + AA + + + + SketchConstraintMiddle + + Create constraint for setting middle point on a line + AA + + + Middle point + AA + + + + SketchConstraintMirror + + Create constraint, mirroring group of objects + AA + + + Mirror copy + AA + + + + SketchConstraintParallel + + Create constraint defining two parallel lines + AA + + + Parallel + AA + + + + SketchConstraintPerpendicular + + Create constraint defining two orthogonal objects + AA + + + Perpendicular + AA + + + + SketchConstraintRadius + + Radius + AA + + + Set fixed radius of a circle or an arc + AA + + + + SketchConstraintRigid + + Fix an object + AA + + + Fixed + AA + + + + SketchConstraintTangent + + Create constraint defining tangency of two segments with common coincident point + AA + + + Tangent + AA + + + + SketchConstraintVertical + + Create constraint defining vertical line + AA + + + Vertical + AA + + + + SketchDrawer + + Creates sketch using elements of selected shape belonging to selected plane + AA + + + Sketch drawer + AA + + + + SketchFillet + + Create constraint defining fillet between two connected segments + AA + + + Fillet + AA + + + + SketchIntersectionPoint + + Intersect edge with sketch plane + AA + + + Intersection + AA + + + + SketchLine + + Create line + AA + + + Line + AA + + + + SketchMacroArc + + Arc + AA + + + Create arc + AA + + + + SketchMacroCircle + + Circle + AA + + + Create circle + AA + + + + SketchMacroEllipse + + Create ellipse + AA + + + Ellipse + AA + + + + SketchMultiRotation + + Angular copy + AA + + + Copy objects and rotate + AA + + + + SketchMultiTranslation + + Copy objects and move + AA + + + Linear copy + AA + + + + SketchPoint + + Create point + AA + + + Point + AA + + + + SketchProjection + + Project feature onto sketch plane + AA + + + Projection + AA + + + + SketchRectangle + + Create rectangle + AA + + + Rectangle + AA + + + + SketchSplit + + Cut selected segment arc or circle on existing coincident points + AA + + + Split + AA + + + + SketchTrim + + Trim + AA + + + Trim selected segment arc or circle on intersection points nearest to the graphic selection + AA + + + + diff --git a/src/SketchSolver/CMakeLists.txt b/src/SketchSolver/CMakeLists.txt index 2c4b58996..a543a7014 100644 --- a/src/SketchSolver/CMakeLists.txt +++ b/src/SketchSolver/CMakeLists.txt @@ -91,6 +91,7 @@ SET(SKETCHSOLVER_LIBRARIES SET(SKETCHSOLVER_TEXT_RESOURCES SketchSolver_msg_en.ts + SketchSolver_msg_fr.ts ) INCLUDE_DIRECTORIES( diff --git a/src/SketchSolver/SketchSolver_msg_fr.ts b/src/SketchSolver/SketchSolver_msg_fr.ts new file mode 100644 index 000000000..9156a0144 --- /dev/null +++ b/src/SketchSolver/SketchSolver_msg_fr.ts @@ -0,0 +1,24 @@ + + + + + Sketch + + The constraint is conflicting with others. To fix this, you can either undo your operation or remove a conflicting constraint. + AA + + + There is a circular reference between copied sketch entities and their originals. To fix this, you can either undo your operation or remove wrong constraint. + AA + + + Caution: SolveSpace crash! Constraints are wrong + AA + + + The set of constraints lead to degenerated geometry. To fix this, you can either undo your operation or remove a constraint or the degenerated geometry. + AA + + + + -- 2.39.2