Salome HOME
Added some missed translations and removed extra symbols in some sentences.
[modules/shaper.git] / src / Model / Model_FeatureValidator.cpp
index 885259852ee090b8061e310eac6597de176cb7fd..aa05113a834f7bd5e395ec2b56747ca7feffc528 100644 (file)
@@ -57,9 +57,8 @@ bool Model_FeatureValidator::isValid(const std::shared_ptr<ModelAPI_Feature>& 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;
       }
     }