diff options
author | Robin Gareus <robin@gareus.org> | 2020-04-03 14:38:45 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-03 14:49:03 +0200 |
commit | 35aab65d59a753c5acf33ae7da8fb7b018f3471b (patch) | |
tree | 13bfa93a6833a2db9549867f04a5b946a61db67b /libs/ardour/meter.cc | |
parent | fb186aaaa000d67ce5b0bd0522e73c6f16edd085 (diff) |
Consistent processor labels "Meter"
Track name is implicit, so instead of "meter-<name>", showing a
translatable label "Meter" is sufficient and consistent with "Fader".
Under the hood, for introspection, the processor name remains as is.
Diffstat (limited to 'libs/ardour/meter.cc')
-rw-r--r-- | libs/ardour/meter.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/meter.cc b/libs/ardour/meter.cc index 9558a663fe..9b18bb0fbd 100644 --- a/libs/ardour/meter.cc +++ b/libs/ardour/meter.cc @@ -35,6 +35,8 @@ #include "ardour/rc_configuration.h" #include "ardour/runtime_functions.h" +#include "pbd/i18n.h" + using namespace std; using namespace ARDOUR; @@ -73,6 +75,11 @@ PeakMeter::~PeakMeter () } } +std::string +PeakMeter::display_name() const +{ + return _("Meter"); +} /** Get peaks from @a bufs * Input acceptance is lenient - the first n buffers from @a bufs will |