X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fsession_command.cc;h=a99738a613dea2bab463323c5ee49d23012a4613;hb=c8c6bca6587450ff64303dbc994a4cd28d6ce7aa;hp=0246f5547957a0fdc49a58c294fe3d40ecad1405;hpb=6fa6514cfdb0ce38d93b51197f599dfd091bad1d;p=ardour.git diff --git a/libs/ardour/session_command.cc b/libs/ardour/session_command.cc index 0246f55479..a99738a613 100644 --- a/libs/ardour/session_command.cc +++ b/libs/ardour/session_command.cc @@ -43,7 +43,7 @@ class Command; 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) { @@ -84,8 +84,8 @@ Session::memento_command_factory(XMLNode *n) } if (!child) { - error << _("Tried to reconstitute a MementoCommand with no contents, failing. id=") << 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 */ @@ -145,7 +145,7 @@ Session::memento_command_factory(XMLNode *n) } /* 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 ; }