From a55f66ec2fca6f0bddfbc3f1db3842159bed1ed2 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 20 Jun 2017 09:52:48 +0300 Subject: [PATCH] Issue #2177 : change the message text. --- .../GeomValidators_Positive.cpp | 2 +- src/PythonAddons/PythonAddons_msg_en.ts | 10 +++---- src/SketchPlugin/SketchPlugin_msg_en.ts | 26 +++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/GeomValidators/GeomValidators_Positive.cpp b/src/GeomValidators/GeomValidators_Positive.cpp index 2087fd9ab..446470df2 100644 --- a/src/GeomValidators/GeomValidators_Positive.cpp +++ b/src/GeomValidators/GeomValidators_Positive.cpp @@ -64,7 +64,7 @@ bool GeomValidators_Positive::isValid(const AttributePtr& theAttribute, return false; } if (aDouble->value() <= aMinValue) { - theError = "Double is not positive."; + theError = "Value is too small."; return false; } } diff --git a/src/PythonAddons/PythonAddons_msg_en.ts b/src/PythonAddons/PythonAddons_msg_en.ts index 7492435b0..6807ced78 100644 --- a/src/PythonAddons/PythonAddons_msg_en.ts +++ b/src/PythonAddons/PythonAddons_msg_en.ts @@ -18,7 +18,7 @@ Box:height:GeomValidators_Positive - Double is not positive. + Value is too small. Height of the box is too small. @@ -67,8 +67,8 @@ Box:width:GeomValidators_Positive - Double is not positive. - The box width must be positive + Value is too small. + The box width is too small @@ -95,8 +95,8 @@ Box:length:GeomValidators_Positive - Double is not positive. - The box width must be positive + Value is too small. + The box width is too small diff --git a/src/SketchPlugin/SketchPlugin_msg_en.ts b/src/SketchPlugin/SketchPlugin_msg_en.ts index 2fcae36b3..35073532a 100755 --- a/src/SketchPlugin/SketchPlugin_msg_en.ts +++ b/src/SketchPlugin/SketchPlugin_msg_en.ts @@ -75,8 +75,8 @@ SketchMacroCircle:CircleRadius:GeomValidators_Positive - Double is not positive. - Radius value is not positive + Value is too small. + Radius value is too small @@ -386,8 +386,8 @@ SketchConstraintRadius:ConstraintValue:GeomValidators_Positive - Double is not positive. - Radius must be positive + Value is too small. + Radius is too small @@ -699,8 +699,8 @@ SketchArc:ArcRadius:GeomValidators_Positive - Double is not positive. - Acr radius must e positive + Value is too small. + Arc radius is too small @@ -847,7 +847,7 @@ SketchMultiRotation:MultiRotationObjects:GeomValidators_Positive - Double is not positive. + Value is too small. The total number of rotated objects must be positive @@ -982,7 +982,7 @@ SketchMultiTranslation:MultiTranslationObjects:GeomValidators_Positive - Double is not positive. + Value is too small. The total number of translated objects must be positive @@ -1364,8 +1364,8 @@ SketchConstraintDistance:ConstraintValue:GeomValidators_Positive - Double is not positive. - Distance value must be positive + Value is too small. + Distance value is too small @@ -1583,8 +1583,8 @@ SketchConstraintLength:ConstraintValue:GeomValidators_Positive - Double is not positive. - Length value is not positive + Value is too small. + Length value is too small @@ -1947,7 +1947,7 @@ SketchFillet:ConstraintValue:GeomValidators_Positive - Double is not positive. + Value is too small. The fillet radius must be positive -- 2.39.2