using namespace PBD;
using namespace ARDOUR;
-#include "i18n.h"
+#include "pbd/i18n.h"
void Session::register_with_memento_command_factory(PBD::ID id, PBD::StatefulDestructible *ptr)
{
}
if (!child) {
- error << _("Tried to reconstitute a MementoCommand with no contents, failing. id=%1") << id.to_s() << endmsg;
- return 0;
+ error << string_compose (_("Tried to reconstitute a MementoCommand with no contents, failing. id=%1"), id.to_s()) << endmsg;
+ return 0;
}
/* create command */
}
/* we failed */
- error << string_compose (_("could not reconstitute MementoCommand from XMLNode. object type = %1 id = %2"), obj_T, id.to_s()) << endmsg;
+ info << string_compose (_("could not reconstitute MementoCommand from XMLNode. object type = %1 id = %2"), obj_T, id.to_s()) << endmsg;
return 0 ;
}