diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-08 02:20:21 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-08 02:20:21 +0000 |
commit | 26605c7d08acd0874d420f34f1a1b2f4fe4243d1 (patch) | |
tree | 65dc2ff383b1aaa0737c4414264fba90d771432e /libs/ardour/utils.cc | |
parent | 606a65321d72fe354db49f0c74a5c6968eb87a53 (diff) |
Add tooltip for edit mode selector. Shorten strings used in the selector to save horizontal space.
git-svn-id: svn://localhost/ardour2/branches/3.0@7564 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r-- | libs/ardour/utils.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc index cfa183f499..6f8586648d 100644 --- a/libs/ardour/utils.cc +++ b/libs/ardour/utils.cc @@ -309,11 +309,11 @@ compute_equal_power_fades (nframes_t nframes, float* in, float* out) EditMode string_to_edit_mode (string str) { - if (str == _("Splice Edit")) { + if (str == _("Splice")) { return Splice; - } else if (str == _("Slide Edit")) { + } else if (str == _("Slide")) { return Slide; - } else if (str == _("Lock Edit")) { + } else if (str == _("Lock")) { return Lock; } fatal << string_compose (_("programming error: unknown edit mode string \"%1\""), str) << endmsg; @@ -326,14 +326,14 @@ edit_mode_to_string (EditMode mode) { switch (mode) { case Slide: - return _("Slide Edit"); + return _("Slide"); case Lock: - return _("Lock Edit"); + return _("Lock"); default: case Splice: - return _("Splice Edit"); + return _("Splice"); } } |