From: mpv Date: Mon, 31 May 2021 08:54:54 +0000 (+0300) Subject: Fixed the lint script warnings related to the multi-line string. X-Git-Tag: V9_8_0a1~40 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d85421dfb38b27e84f9e802f66d9ee21361fe1db;p=modules%2Fshaper.git Fixed the lint script warnings related to the multi-line string. --- diff --git a/src/ModelAPI/ModelAPI_Tools.cpp b/src/ModelAPI/ModelAPI_Tools.cpp index 136336a15..e15b280af 100644 --- a/src/ModelAPI/ModelAPI_Tools.cpp +++ b/src/ModelAPI/ModelAPI_Tools.cpp @@ -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); } } }