Salome HOME
Fixed the lint script warnings related to the multi-line string.
authormpv <mpv@opencascade.com>
Mon, 31 May 2021 08:54:54 +0000 (11:54 +0300)
committermpv <mpv@opencascade.com>
Mon, 31 May 2021 08:54:54 +0000 (11:54 +0300)
src/ModelAPI/ModelAPI_Tools.cpp

index 136336a1521c579510d7b8d39f4d77b92375b629..e15b280afe3e0a8303c5a71dbbe701388de8e254 100644 (file)
@@ -167,8 +167,9 @@ std::string getFeatureError(const FeaturePtr& theFeature)
           if (!aHasSubError) { // #24260: error not in the sub-features, but in the argument
             if (aComposite->getKind() == "Sketch" &&
                 aComposite->selection("External")->isInvalid()) {
-              anError = Config_Translator::translate(aComposite->getKind(), "The sketch base plane \
-is invalid, please push 'Change sketch plane' button to reselect it.");
+              std::string aMsg = "The sketch base plane is invalid, ";
+              aMsg += "please push 'Change sketch plane' button to reselect it.";
+              anError = Config_Translator::translate(aComposite->getKind(), aMsg);
             }
           }
         }