diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-17 00:28:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-17 00:28:20 +0000 |
commit | f5c4c8a2931f383c76212ea1cfdb6f85f43bb72f (patch) | |
tree | 7ba2fe9ac4df3bf87b222f7079b644fb5e72c078 /gtk2_ardour/ui_config.cc | |
parent | a4d9d09af5853f769e1143c2353806bfb7d89f58 (diff) |
forward port 2.X changes up to and including rev 6767
git-svn-id: svn://localhost/ardour2/branches/3.0@7636 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ui_config.cc')
-rw-r--r-- | gtk2_ardour/ui_config.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk2_ardour/ui_config.cc b/gtk2_ardour/ui_config.cc index 12e2817fcf..e80c85da8f 100644 --- a/gtk2_ardour/ui_config.cc +++ b/gtk2_ardour/ui_config.cc @@ -83,12 +83,12 @@ UIConfiguration::load_defaults () info << string_compose (_("Loading default ui configuration file %1"), rcfile) << endl; if (!tree.read (rcfile.c_str())) { - error << string_compose(_("Ardour: cannot read default ui configuration file \"%1\""), rcfile) << endmsg; + error << string_compose(_("cannot read default ui configuration file \"%1\""), rcfile) << endmsg; return -1; } if (set_state (*tree.root(), Stateful::loading_state_version)) { - error << string_compose(_("Ardour: default ui configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; + error << string_compose(_("default ui configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; return -1; } } @@ -114,12 +114,12 @@ UIConfiguration::load_state () info << string_compose (_("Loading default ui configuration file %1"), rcfile) << endl; if (!tree.read (rcfile.c_str())) { - error << string_compose(_("Ardour: cannot read default ui configuration file \"%1\""), rcfile) << endmsg; + error << string_compose(_("cannot read default ui configuration file \"%1\""), rcfile) << endmsg; return -1; } if (set_state (*tree.root(), Stateful::loading_state_version)) { - error << string_compose(_("Ardour: default ui configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; + error << string_compose(_("default ui configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; return -1; } } @@ -137,18 +137,18 @@ UIConfiguration::load_state () info << string_compose (_("Loading user ui configuration file %1"), rcfile) << endl; if (!tree.read (rcfile)) { - error << string_compose(_("Ardour: cannot read ui configuration file \"%1\""), rcfile) << endmsg; + error << string_compose(_("cannot read ui configuration file \"%1\""), rcfile) << endmsg; return -1; } if (set_state (*tree.root(), Stateful::loading_state_version)) { - error << string_compose(_("Ardour: user ui configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; + error << string_compose(_("user ui configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; return -1; } } if (!found) - error << "Ardour: could not find any ui configuration file, canvas will look broken." << endmsg; + error << _("could not find any ui configuration file, canvas will look broken.") << endmsg; pack_canvasvars(); return 0; |