X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Frc_configuration.cc;h=e16bf40fb7b0ca274b8574a28b56629e8d8e4063;hb=e0a1c7690acc0c79c070bb23c992ab6b62cbf2c6;hp=2abf3477fb58a63147f58e2e311218790b9a73f0;hpb=2397429e99d4b79ae874392665db2627674daaa0;p=ardour.git diff --git a/libs/ardour/rc_configuration.cc b/libs/ardour/rc_configuration.cc index 2abf3477fb..e16bf40fb7 100644 --- a/libs/ardour/rc_configuration.cc +++ b/libs/ardour/rc_configuration.cc @@ -35,8 +35,9 @@ #include "ardour/port.h" #include "ardour/rc_configuration.h" #include "ardour/session_metadata.h" +#include "ardour/types_convert.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace ARDOUR; using namespace std; @@ -89,7 +90,7 @@ RCConfiguration::load_state () } if (statbuf.st_size != 0) { - info << string_compose (_("Loading system configuration file %1"), rcfile) << endl; + info << string_compose (_("Loading system configuration file %1"), rcfile) << endmsg; XMLTree tree; if (!tree.read (rcfile.c_str())) { @@ -117,7 +118,7 @@ RCConfiguration::load_state () } if (statbuf.st_size != 0) { - info << string_compose (_("Loading user configuration file %1"), rcfile) << endl; + info << string_compose (_("Loading user configuration file %1"), rcfile) << endmsg; XMLTree tree; if (!tree.read (rcfile)) { @@ -172,7 +173,7 @@ XMLNode& RCConfiguration::get_state () { XMLNode* root; - LocaleGuard lg (X_("C")); + LocaleGuard lg; root = new XMLNode("Ardour"); @@ -193,7 +194,7 @@ XMLNode& RCConfiguration::get_variables () { XMLNode* node; - LocaleGuard lg (X_("C")); + LocaleGuard lg; node = new XMLNode ("Config"); @@ -220,6 +221,7 @@ RCConfiguration::set_state (const XMLNode& root, int version) XMLNodeList nlist = root.children(); XMLNodeConstIterator niter; XMLNode *node; + LocaleGuard lg; Stateful::save_extra_xml (root);