std::string Config_Translator::translate(std::shared_ptr<Events_InfoMessage> theInfo)
{
std::string aContext = theInfo->context();
- std::string aMessage = theInfo->message();
+ std::string aMessage = theInfo->messageString();
std::list<std::string> aParameters = theInfo->parameters();
return translate(aContext, aMessage, aParameters);
}
/// Set message string for translation
/// \param theMsg the string of message
- void setMessage(const std::string& theMsg) { myMessage = theMsg; }
+ void setMessageString(const std::string& theMsg) { myMessage = theMsg; }
/// Returns message
- std::string message() const { return myMessage; }
+ std::string messageString() const { return myMessage; }
/// Add parameter for message string of string type
/// \param theParam the parameter
INSTALL(TARGETS SketchPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Sketch)
-INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
+INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
ADD_UNIT_TESTS(TestSketchPointLine.py
TestSketchArcCircle.py