summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyboard.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-03-12 22:46:30 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-03-12 22:46:30 +0000
commitf5b1c21717067a4369f46b117ba3e661767e09cb (patch)
tree6b545e3a3ba83b939717667208d29bbfa12c72de /gtk2_ardour/keyboard.cc
parent78d4825b1e7d1e9afe55fe210b589983c05ef115 (diff)
option to enable/disable translations when using a bundled (OS X) version of Ardour; compile-time control of Ardour program name for gtk2_ardour (libardour to follow)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6755 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/keyboard.cc')
-rw-r--r--gtk2_ardour/keyboard.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/keyboard.cc b/gtk2_ardour/keyboard.cc
index a0d4b1f788..28f6c78668 100644
--- a/gtk2_ardour/keyboard.cc
+++ b/gtk2_ardour/keyboard.cc
@@ -563,7 +563,7 @@ Keyboard::setup_keybindings ()
if (path.empty()) {
if (keybindings_path == default_bindings) {
- error << _("Default keybindings not found - Ardour will be hard to use!") << endmsg;
+ error << string_compose (_("Default keybindings not found - %1 will be hard to use!"), PROGRAM_NAME) << endmsg;
return;
} else {
warning << string_compose (_("Key bindings file \"%1\" not found. Default bindings used instead"),
@@ -587,7 +587,7 @@ Keyboard::setup_keybindings ()
if (!Glib::file_test (keybindings_path, Glib::FILE_TEST_EXISTS)) {
if (keybindings_path == default_bindings) {
- error << _("Default keybindings not found - Ardour will be hard to use!") << endmsg;
+ error << string_compose (_("Default keybindings not found - %1 will be hard to use!"), PROGRAM_NAME) << endmsg;
return;
} else {
warning << string_compose (_("Key bindings file \"%1\" not found. Default bindings used instead"),
@@ -629,7 +629,7 @@ Keyboard::load_keybindings (string path)
} catch (...) {
- error << string_compose (_("Ardour key bindings file not found at \"%1\" or contains errors."), path)
+ error << string_compose (_("%1 key bindings file not found at \"%2\" or contains errors."), PROGRAM_NAME, path)
<< endmsg;
return false;
}