From 077b24cbdaaa2ac5345cf57ab010c7ac923b3f0f Mon Sep 17 00:00:00 2001 From: dbv Date: Fri, 24 Jun 2016 20:20:14 +0300 Subject: [PATCH] Translation for FeaturesPlugin Translation for BuildPlugin Translation for PythonAddons --- src/BuildPlugin/BuildPlugin_msg_en.ts | 78 +++--- src/FeaturesPlugin/FeaturesPlugin_msg_en.ts | 256 +++++++++----------- src/PythonAddons/PythonAddons_msg_en.ts | 14 +- 3 files changed, 156 insertions(+), 192 deletions(-) diff --git a/src/BuildPlugin/BuildPlugin_msg_en.ts b/src/BuildPlugin/BuildPlugin_msg_en.ts index aa6d84d34..39e792dc0 100644 --- a/src/BuildPlugin/BuildPlugin_msg_en.ts +++ b/src/BuildPlugin/BuildPlugin_msg_en.ts @@ -5,112 +5,112 @@ Edge base_objects - BuildPlugin_ValidatorBaseForBuild: Could not get selection list. - + Objects not selected. base_objects - BuildPlugin_ValidatorBaseForBuild: Empty selection list. - + Objects not selected. base_objects - BuildPlugin_ValidatorBaseForBuild: Could not get selection. - + Selected object is empty. base_objects - BuildPlugin_ValidatorBaseForBuild: Attribute have empty context. - + Selected object has empty context. base_objects - BuildPlugin_ValidatorBaseForBuild: Empty shape selected. - + Empty shape selected. base_objects - BuildPlugin_ValidatorBaseForBuild: Inifinte objects not acceptable. - + Inifinte objects not acceptable. base_objects - BuildPlugin_ValidatorBaseForBuild: Selected shape is in the local selection. Only global selection is allowed. - - + Selected shape is in the local selection. Only global selection is allowed. + - + Face BuildPlugin_ValidatorBaseForFace: Empty attribute \"%1\". - + Objects not selected. BuildPlugin_ValidatorBaseForFace: Error while checking if edges intersects. - + Error while checking if edges intersects. BuildPlugin_ValidatorBaseForFace: Selected objects have intersections. - + Selected objects have intersections. BuildPlugin_ValidatorBaseForFace: Selected objects are not planar. - + Selected objects are not planar. BuildPlugin_ValidatorBaseForFace: Selected objects does not have closed contours. - + Selected objects does not have closed contours. - + Shell base_objects - GeomValidators_ShapeType: It does not contain element with acceptable shape type. The type should be one of the next: %1 - + It does not contain element with acceptable shape type. The type should be one of the next: %1 base_objects - GeomValidators_ShapeType: It has reference to an empty attribute - + It has reference to an empty attribute base_objects - GeomValidators_ShapeType: Shape type is \"%1\", it should be \"%2\" - + Shape type is "%1", it should be "%2" base_objects - GeomValidators_ShapeType: The attribute with the %1 type is not processed - + The attribute with the %1 type is not processed. base_objects - GeomValidators_ShapeType: The object is empty - + Objects not selected. base_objects - GeomValidators_ShapeType: The result is empty - + Objects not selected. base_objects - GeomValidators_ShapeType: The shape is empty - + Objects not selected. - - + + SubShapes subshapes - BuildPlugin_ValidatorSubShapesSelection: Could not get selection list. - + Objects not selected. subshapes - BuildPlugin_ValidatorSubShapesSelection: Base shape is empty. - + Base shape not selected. subshapes - BuildPlugin_ValidatorSubShapesSelection: Empty attribute in list. - + Objects not selected. subshapes - BuildPlugin_ValidatorSubShapesSelection: Selected shape has unacceptable type. - + Selected shape has unacceptable type. subshapes - BuildPlugin_ValidatorSubShapesSelection: Selected shape is not inside base face. - + Selected shape is not inside base. @@ -118,43 +118,43 @@ SubShapes base_objects - BuildPlugin_ValidatorBaseForBuild: Could not get selection list. - + Objects not selected. base_objects - BuildPlugin_ValidatorBaseForBuild: Empty selection list. - + Objects not selected. base_objects - BuildPlugin_ValidatorBaseForBuild: Could not get selection. - + Objects not selected. base_objects - BuildPlugin_ValidatorBaseForBuild: Attribute have empty context. - + Selected object has empty context. base_objects - BuildPlugin_ValidatorBaseForBuild: Empty shape selected. - + Empty shape selected. base_objects - BuildPlugin_ValidatorBaseForBuild: Inifinte objects not acceptable. - + Inifinte objects not acceptable. base_objects - BuildPlugin_ValidatorBaseForBuild: Selected shape is in the local selection. Only global selection is allowed. - + Selected shape is in the local selection. Only global selection is allowed. - + Wire BuildPlugin_ValidatorBaseForWire: Empty attribute \"%1\". - + Objects not selected. BuildPlugin_ValidatorBaseForWire: Result wire empty. Probably it has disconnected edges or non-manifold. - + Result wire empty. Probably it has disconnected edges or non-manifold. diff --git a/src/FeaturesPlugin/FeaturesPlugin_msg_en.ts b/src/FeaturesPlugin/FeaturesPlugin_msg_en.ts index 2f75b3a24..ef4c2db9e 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_msg_en.ts +++ b/src/FeaturesPlugin/FeaturesPlugin_msg_en.ts @@ -5,32 +5,32 @@ Extrusion GeomValidators_ZeroOffset: FromSize = -ToSize and bounding planes are coincident. - Extrusion offset is not defined + FromSize = -ToSize and bounding planes are coincident. Model_FeatureValidator: Attribute "base" is not initialized. - Base object for extrusion is not defined + Base object for extrusion is not selected. sketch - FeaturesPlugin_ValidatorCompositeLauncher: The object is empty - Sketch is not selected + Object is not selected. GeomValidators_ZeroOffset: ToSize = -FromSize. - Extrusion offset is not defined + ToSize = -FromSize. FeaturesPlugin_ValidatorExtrusionDir: Error: Validator should be used with 2 parameters for extrusion. - + Validator "FeaturesPlugin_ValidatorExtrusionDir" should be used with 2 parameters for extrusion. FeaturesPlugin_ValidatorExtrusionDir: Error: Base objects list contains vertex or edge, so attribute \"%1\" can not be used with default value. Select direction for extrusion. - + Base objects list contains vertex or edge, so attribute "%1" can not be used with default value. Select direction for extrusion. FeaturesPlugin_ValidatorExtrusionDir: Error: Direction is parallel to one of the selected face or face on selected shell. - + Direction is parallel to one of the selected face or face on selected shell. @@ -39,36 +39,36 @@ ExtrusionCut GeomValidators_ZeroOffset: FromSize = -ToSize and bounding planes are coincident. - Extrusion offset is not defined + FromSize = -ToSize and bounding planes are coincident. Model_FeatureValidator: Attribute "base" is not initialized. - Base object for extrusion is not defined + Base object for extrusion is not selected. main_objects - GeomValidators_ShapeType: It does not contain element with acceptable shape type. The type should be one of the next: - Objects for extrusion are not selected + Selected objects contain element with unacceptable shape type. sketch - FeaturesPlugin_ValidatorCompositeLauncher: The object is empty - Sketch is not selected + Object is not selected. sketch - FeaturesPlugin_ValidatorCompositeLauncher: The result is empty - Sketch is not selected + Object is not selected. FeaturesPlugin_ValidatorExtrusionDir: Error: Validator should be used with 2 parameters for extrusion. - + Validator "FeaturesPlugin_ValidatorExtrusionDir" should be used with 2 parameters for extrusion. FeaturesPlugin_ValidatorExtrusionDir: Error: Base objects list contains vertex or edge, so attribute \"%1\" can not be used with default value. Select direction for extrusion. - + Base objects list contains vertex or edge, so attribute "%1" can not be used with default value. Select direction for extrusion. FeaturesPlugin_ValidatorExtrusionDir: Error: Direction is parallel to one of the selected face or face on selected shell. - + Direction is parallel to one of the selected face or face on selected shell. @@ -76,44 +76,36 @@ Revolution GeomValidators_ZeroOffset: FromSize = -ToSize and bounding planes are coincident. - Angle offset is not defined + FromAngle = -ToAngle and bounding planes are coincident. Model_FeatureValidator: Attribute "axis_object" is not initialized. - Revolution axis is not selected + Revolution axis is not selected. axis_object - GeomValidators_ShapeType: The object is empty - Revolution axis is not selected + Revolution axis is not selected. sketch - FeaturesPlugin_ValidatorCompositeLauncher: The object is empty - Sketch is not selected + Object is not selected. GeomValidators_ZeroOffset: Wrong number of validator arguments in xml(expected 9). - + Wrong number of validator "GeomValidators_ZeroOffset" arguments in xml(expected 9). GeomValidators_ZeroOffset: ToSize = -FromSize. - + ToAngle = -FromAngle. GeomValidators_ZeroOffset: From face selection is invalid. - + From face selection is invalid. GeomValidators_ZeroOffset: To face selection is invalid. - - - - GeomValidators_ZeroOffset: From face selection is invalid. - - - - GeomValidators_ZeroOffset: To face selection is invalid. - + To face selection is invalid. @@ -121,52 +113,44 @@ RevolutionCut GeomValidators_ZeroOffset: FromSize = -ToSize and bounding planes are coincident. - Angle offset is not defined + FromAngle = -ToAngle and bounding planes are coincident. Model_FeatureValidator: Attribute "axis_object" is not initialized. - Revolution axis is not selected + Revolution axis is not selected. axis_object - GeomValidators_ShapeType: The object is empty - Revolution axis is not selected + Revolution axis is not selected. main_objects - GeomValidators_ShapeType: It does not contain element with acceptable shape type. The type should be one of the next: - Objects for revolution are not selected + Selected objects contain element with unacceptable shape type. sketch - FeaturesPlugin_ValidatorCompositeLauncher: The object is empty - Sketch is not selected + Object is not selected. sketch - FeaturesPlugin_ValidatorCompositeLauncher: The result is empty - Sketch is not selected + Object is not selected. GeomValidators_ZeroOffset: Wrong number of validator arguments in xml(expected 9). - + Wrong number of validator "GeomValidators_ZeroOffset" arguments in xml(expected 9). GeomValidators_ZeroOffset: ToSize = -FromSize. - - - - GeomValidators_ZeroOffset: From face selection is invalid. - - - - GeomValidators_ZeroOffset: To face selection is invalid. - + ToAngle = -FromAngle. GeomValidators_ZeroOffset: From face selection is invalid. - + From face selection is invalid. GeomValidators_ZeroOffset: To face selection is invalid. - + To face selection is invalid. @@ -174,36 +158,36 @@ ExtrusionFuse GeomValidators_ZeroOffset: FromSize = -ToSize and bounding planes are coincident. - Extrusion offset is not defined + FromSize = -ToSize and bounding planes are coincident. Model_FeatureValidator: Attribute "base" is not initialized. - Base objects for extrusion are not selected + Base objects for extrusion are not selected. main_objects - GeomValidators_ShapeType: It does not contain element with acceptable shape type. The type should be one of the next: - Base objects for extrusion are not selected + Selected objects contain element with unacceptable shape type. sketch - FeaturesPlugin_ValidatorCompositeLauncher: The object is empty - Sketch is not selected + Object is not selected. sketch - FeaturesPlugin_ValidatorCompositeLauncher: The result is empty - Sketch is not selected + Object is not selected. FeaturesPlugin_ValidatorExtrusionDir: Error: Validator should be used with 2 parameters for extrusion. - + Validator "FeaturesPlugin_ValidatorExtrusionDir" should be used with 2 parameters for extrusion. FeaturesPlugin_ValidatorExtrusionDir: Error: Base objects list contains vertex or edge, so attribute \"%1\" can not be used with default value. Select direction for extrusion. - + Base objects list contains vertex or edge, so attribute "%1" can not be used with default value. Select direction for extrusion. FeaturesPlugin_ValidatorExtrusionDir: Error: Direction is parallel to one of the selected face or face on selected shell. - + Direction is parallel to one of the selected face or face on selected shell. @@ -211,52 +195,44 @@ RevolutionFuse GeomValidators_ZeroOffset: FromSize = -ToSize and bounding planes are coincident. - Offset angle is not defined + FromAngle = -ToAngle and bounding planes are coincident. Model_FeatureValidator: Attribute "axis_object" is not initialized. - Rotation axis is not selected + Revolution axis is not selected. axis_object - GeomValidators_ShapeType: The object is empty - Rotation axis is not selected + Revolution axis is not selected. main_objects - GeomValidators_ShapeType: It does not contain element with acceptable shape type. The type should be one of the next: - Base objects for revolution are not selected + Selected objects contain element with unacceptable shape type. sketch - FeaturesPlugin_ValidatorCompositeLauncher: The object is empty - Sketch is not selected + Object is not selected. sketch - FeaturesPlugin_ValidatorCompositeLauncher: The result is empty - Sketch is not selected + Object is not selected. GeomValidators_ZeroOffset: Wrong number of validator arguments in xml(expected 9). - + Wrong number of validator "GeomValidators_ZeroOffset" arguments in xml(expected 9). GeomValidators_ZeroOffset: ToSize = -FromSize. - + ToAngle = -FromAngle. GeomValidators_ZeroOffset: From face selection is invalid. - + From face selection is invalid. GeomValidators_ZeroOffset: To face selection is invalid. - - - - GeomValidators_ZeroOffset: From face selection is invalid. - - - - GeomValidators_ZeroOffset: To face selection is invalid. - + To face selection is invalid. @@ -269,7 +245,7 @@ GeomValidators_BooleanArguments: Wrong number of arguments (expected 3). - + Wrong number of validator "GeomValidators_BooleanArguments" arguments (expected 3). @@ -277,16 +253,16 @@ Partition GeomValidators_MinObjectsSelected: Error: Attribute \"%1\" should contain at least %2 items. - At least two objects has to be selected for the operation + At least %2 object(s) should be selected in "%1" GeomValidators_MinObjectsSelected: Error: Wrong number of arguments (expected 2): selection list id and min number of objects - + Wrong number of validator "GeomValidators_MinObjectsSelected" arguments(expected 2): selection list id and min number of objects. GeomValidators_MinObjectsSelected: Error: Could not get attribute \"%1\". - + Objects not selected. @@ -294,44 +270,36 @@ Pipe Model_FeatureValidator: Attribute "base_objects" is not initialized. - Base object for pipe is not selected + Base object for pipe is not selected. Model_FeatureValidator: Attribute "binormal" is not initialized. - Binormal vector is not selected + Binormal vector is not selected. Model_FeatureValidator: Attribute "path_object" is not initialized. - Object for pipe path is not selected + Object for pipe path is not selected. binormal - GeomValidators_ShapeType: The object is empty - Binormal vector is not selected + Binormal vector is not selected. path_object - FeaturesPlugin_ValidatorPipePath: Error: Empty context. - Object for pipe path is not selected + Object for pipe path is not selected. FeaturesPlugin_ValidatorPipeLocations: Error: Feature \"%1\" does not supported by this validator. - - - - FeaturesPlugin_ValidatorPipeLocations: Error: Could not get \"%1\" attribute. - + Feature "%1" does not supported validator "FeaturesPlugin_ValidatorPipeLocations". FeaturesPlugin_ValidatorPipeLocations: Error: Could not get \"%1\" attribute. - - - - FeaturesPlugin_ValidatorPipeLocations: Error: Could not get \"%1\" attribute. - + Could not get "%1" attribute FeaturesPlugin_ValidatorPipeLocations: Error: Number of locations should be the same as base objects. - + Number of locations should be the same as base objects. @@ -339,36 +307,32 @@ Remove_SubShapes FeaturesPlugin_ValidatorRemoveSubShapesResult: Error: Base shape is empty. - Base shape is not selected + Base shape is not selected. base_shape - GeomValidators_BodyShapes: Error: Context is empty. - Context object is not selected + Selected object has empty context. subshapes - FeaturesPlugin_ValidatorRemoveSubShapesSelection: Error: Empty context. - Context object is not selected + Selected object has empty context. FeaturesPlugin_ValidatorRemoveSubShapesResult: Error: Feature \"%1\" does not supported by this validator. - - - - FeaturesPlugin_ValidatorRemoveSubShapesResult: Error: Could not get \"%1\" attribute. - + Feature "%1" does not supported validator "FeaturesPlugin_ValidatorRemoveSubShapesResult". FeaturesPlugin_ValidatorRemoveSubShapesResult: Error: Could not get \"%1\" attribute. - + Could not get "%1" attribute. FeaturesPlugin_ValidatorRemoveSubShapesResult: Error: Base shape is empty. - + Base shape is empty. FeaturesPlugin_ValidatorRemoveSubShapesResult: Error: Resulting shape is not valid. - + Resulting shape is not valid. @@ -376,40 +340,40 @@ Intersection Model_FeatureValidator: Attribute "main_objects" is not initialized. - Main object is not selected + Main objects is not selected. Model_FeatureValidator: Attribute "tool_objects" is not initialized. - A tool object is not selected + A tool objects is not selected. tool_objects - GeomValidators_IntersectionSelection: Error: empty selection. - + Empty selection. tool_objects - GeomValidators_IntersectionSelection: Error: empty attribute selection. - + Attribute selection is empty. tool_objects - GeomValidators_IntersectionSelection: Error: empty selection context. - + Selected object has empty context. tool_objects - GeomValidators_IntersectionSelection: Error: empty feature. - + Selected objects has empty feature. tool_objects - GeomValidators_IntersectionSelection: Error: %1 shape is not allowed for selection. - + %1 shape is not allowed for selection. tool_objects - GeomValidators_IntersectionSelection: Error: empty shape. - + Empty shape selected. tool_objects - GeomValidators_IntersectionSelection: Error: selected shape has the wrong type. - + Selected shape has the wrong type. @@ -417,112 +381,112 @@ Placement Model_FeatureValidator: Attribute "placement_end_shape" is not initialized. - End placement shape is not defined + End placement shape is not defined. placement_end_shape - PartSet_DifferentObjects: The feature uses one shape in placement_end_shape and placement_start_shape attributes. - Start and end placement shapes are not defined + Start and end placement shapes are the same. Model_FeatureValidator: Attribute "placement_centering" is not initialized. - + Attribute "placement_centering" is not initialized. Model_FeatureValidator: Attribute "placement_objects_list" is not initialized. - Objects for placement are not selected + Objects for placement are not selected. placement_objects_list - FeaturesPlugin_ValidatorTransform: The attribute with the %1 type is not processed - + The attribute with the %1 type is not processed. placement_objects_list - FeaturesPlugin_ValidatorTransform: Objects from the %1 group can be selected in the %2 document, but an objects from the %3 group is selected. - + Objects from the %1 group can be selected in the %2 document, but an objects from the %3 group is selected. Rotation Model_FeatureValidator: Attribute "angle" is not initialized. - Angle is not defined + Angle is not defined. Model_FeatureValidator: Attribute "axis_object" is not initialized. - Rotation axis is not selected + Rotation axis is not selected. axis_object - GeomValidators_ShapeType: The object is empty - Rotation axis is not selected + Rotation axis is not selected. axis_object - GeomValidators_ShapeType: It does not contain element with acceptable shape type. The type should be one of the next: %1 - + Selected objects contain element with unacceptable shape type. axis_object - GeomValidators_ShapeType: It has reference to an empty attribute - + It has reference to an empty attribute. axis_object - GeomValidators_ShapeType: Shape type is \"%1\", it should be \"%2\" - + Shape type is "%1", it should be "%2". axis_object - GeomValidators_ShapeType: The attribute with the %1 type is not processed - + The attribute with the %1 type is not processed. axis_object - GeomValidators_ShapeType: The object is empty - + Rotation axis is not selected. axis_object - GeomValidators_ShapeType: The result is empty - + Rotation axis is not selected. axis_object - GeomValidators_ShapeType: The shape is empty - + Rotation axis is not selected. Translation Model_FeatureValidator: Attribute "axis_object" is not initialized. - Translation axis is not selected + Translation axis is not selected. axis_object - GeomValidators_ShapeType: The object is empty - Translation axis is not selected + Translation axis is not selected. axis_object - GeomValidators_ShapeType: It does not contain element with acceptable shape type. The type should be one of the next: %1 - + It does not contain element with acceptable shape type. The type should be one of the next: %1 axis_object - GeomValidators_ShapeType: It has reference to an empty attribute - + It has reference to an empty attribute axis_object - GeomValidators_ShapeType: Shape type is \"%1\", it should be \"%2\" - + Shape type is "%1", it should be "%2". axis_object - GeomValidators_ShapeType: The attribute with the %1 type is not processed - + The attribute with the %1 type is not processed axis_object - GeomValidators_ShapeType: The object is empty - + Translation axis is not selected. axis_object - GeomValidators_ShapeType: The result is empty - + Translation axis is not selected. axis_object - GeomValidators_ShapeType: The shape is empty - + Translation axis is not selected. @@ -530,15 +494,15 @@ Group group_list - GeomValidators_BodyShapes: Error: Context is empty. - + Selected object has empty context. group_list - GeomValidators_BodyShapes: Error: Result construction selected. - + Constructions not allowed for selection. group_list - GeomValidators_BodyShapes: Error: Attribute \"%1\" does not supported by this validator. - + Attribute "%1" does not supported by "GeomValidators_BodyShapes" validator. @@ -546,15 +510,15 @@ Union FeaturesPlugin_ValidatorUnionArguments: Error: This validator supports only \"%1\" feature. - + This validator "FeaturesPlugin_ValidatorUnionArguments" supports only "%1" feature. FeaturesPlugin_ValidatorUnionArguments: Error: Could not get \"%1\" attribute. - + Could not get "%1" attribute. FeaturesPlugin_ValidatorUnionArguments: Error: Not all shapes have shared topology. - + Not all shapes have shared topology. diff --git a/src/PythonAddons/PythonAddons_msg_en.ts b/src/PythonAddons/PythonAddons_msg_en.ts index d019a2030..2f2861799 100644 --- a/src/PythonAddons/PythonAddons_msg_en.ts +++ b/src/PythonAddons/PythonAddons_msg_en.ts @@ -5,24 +5,24 @@ Box Model_FeatureValidator: Attribute "height" is not initialized. - Height of the box is not defined + Height of the box is not defined. - + height - GeomValidators_Positive: Double is not initialized. - + Height of the box is not defined. height - GeomValidators_Positive: Double is not positive. - + Height of the box is too small. height - GeomValidators_Positive: Integer is not initialized. - + Height of the box is not defined. height - GeomValidators_Positive: Integer is not positive. - - + Height of the box is too small. + -- 2.39.2