summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-12-18 23:17:29 +0100
committerRobin Gareus <robin@gareus.org>2016-12-18 23:17:29 +0100
commitbd0fc8cafcf725fa1e03f3c6781b3df48577ce68 (patch)
tree7ae5d406fca7fb36a190fe39eefb46aa1cfd7808
parent2cb9f4167a962981e7d9ef6082e1cb86a3438f0d (diff)
Shorten sync-button label/size
-rw-r--r--gtk2_ardour/ardour_ui2.cc2
-rw-r--r--gtk2_ardour/ardour_ui_options.cc2
-rw-r--r--libs/ardour/utils.cc10
3 files changed, 7 insertions, 7 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc
index 60794183b2..e80b8e5478 100644
--- a/gtk2_ardour/ardour_ui2.cc
+++ b/gtk2_ardour/ardour_ui2.cc
@@ -261,7 +261,7 @@ ARDOUR_UI::setup_transport ()
act = ActionManager::get_action (X_("Transport"), X_("ToggleExternalSync"));
sync_button.set_related_action (act);
- sync_button.set_sizing_text (_("Internal")); // longest of sync_source_to_string()
+ sync_button.set_sizing_text (S_("LogestSync|M-Clk"));
/* CANNOT sigc::bind these to clicked or toggled, must use pressed or released */
act = ActionManager::get_action (X_("Main"), X_("cancel-solo"));
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc
index a196f06864..0ca9332613 100644
--- a/gtk2_ardour/ardour_ui_options.cc
+++ b/gtk2_ardour/ardour_ui_options.cc
@@ -306,7 +306,7 @@ ARDOUR_UI::parameter_changed (std::string p)
ActionManager::map_some_state ("Transport", "ToggleExternalSync", sigc::mem_fun (_session->config, &SessionConfiguration::get_external_sync));
if (!_session->config.get_external_sync()) {
- sync_button.set_text (_("Internal"));
+ sync_button.set_text (S_("SyncSource|Int."));
auto_loop_button.set_sensitive (true);
ActionManager::get_action ("Transport", "ToggleAutoPlay")->set_sensitive (true);
ActionManager::get_action ("Transport", "ToggleAutoReturn")->set_sensitive (true);
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc
index 8e57cdeac3..8b89107748 100644
--- a/libs/ardour/utils.cc
+++ b/libs/ardour/utils.cc
@@ -475,27 +475,27 @@ ARDOUR::sync_source_to_string (SyncSource src, bool sh)
/* no other backends offer sync for now ... deal with this if we
* ever have to.
*/
- return _("JACK");
+ return S_("SyncSource|JACK");
case MTC:
if (sh) {
- return _("MTC");
+ return S_("SyncSource|MTC");
} else {
return _("MIDI Timecode");
}
case MIDIClock:
if (sh) {
- return _("M-Clock");
+ return S_("SyncSource|M-Clk");
} else {
return _("MIDI Clock");
}
case LTC:
- return _("LTC");
+ return S_("SyncSource|LTC");
}
/* GRRRR .... stupid, stupid gcc - you can't get here from there, all enum values are handled */
- return _("JACK");
+ return S_("SyncSource|JACK");
}
float