X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_FeatureValidator.cpp;fp=src%2FModel%2FModel_FeatureValidator.cpp;h=aa05113a834f7bd5e395ec2b56747ca7feffc528;hb=381e834513ab0083a90da4b581dca57a39009266;hp=885259852ee090b8061e310eac6597de176cb7fd;hpb=8b010aee3df853165283665eb8a7ed1c7f5bfb22;p=modules%2Fshaper.git diff --git a/src/Model/Model_FeatureValidator.cpp b/src/Model/Model_FeatureValidator.cpp index 885259852..aa05113a8 100644 --- a/src/Model/Model_FeatureValidator.cpp +++ b/src/Model/Model_FeatureValidator.cpp @@ -57,9 +57,8 @@ bool Model_FeatureValidator::isValid(const std::shared_ptr& th myNotObligatory.find(theFeature->getKind()); if (aFeatureFind == myNotObligatory.end() || // and it is obligatory for filling aFeatureFind->second.find(*it) == aFeatureFind->second.end()) { - // TODO(spo): exceptional case for translation - theError = "Attribute \"" + anAttr->id() + "\" is not initialized."; -// theError.arg(anAttr->id()); + theError = "Attribute \"%1\" is not initialized."; + theError.addParameter(anAttr->id()); return false; } }