return true;
}
-std::string Config_Translator::translate(std::shared_ptr<Events_InfoMessage> theInfo)
+std::string Config_Translator::translate(const Events_InfoMessage& theInfo)
{
- std::string aContext = theInfo->context();
- std::string aMessage = theInfo->messageString();
- std::list<std::string> aParameters = theInfo->parameters();
+ std::string aContext = theInfo.context();
+ std::string aMessage = theInfo.messageString();
+ std::list<std::string> aParameters = theInfo.parameters();
return translate(aContext, aMessage, aParameters);
}
-
std::string insertParameters(const std::string& theString, const std::list<std::string>& theParams)
{
std::string aResult = theString;