diff options
author | Robin Gareus <robin@gareus.org> | 2015-04-05 03:03:43 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-04-05 03:03:43 +0200 |
commit | 5ded2ad928841ad28ffe5cd59d74a9296a249dee (patch) | |
tree | 0041dfc246d852d139ff4eaeb9b60f73fce458c7 /libs/ardour/amp.cc | |
parent | 48d6361097cf43a96e66db5b8a16148cf89f6ef2 (diff) |
децибел
Diffstat (limited to 'libs/ardour/amp.cc')
-rw-r--r-- | libs/ardour/amp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/amp.cc b/libs/ardour/amp.cc index 8ee42f3bbf..d328c15457 100644 --- a/libs/ardour/amp.cc +++ b/libs/ardour/amp.cc @@ -432,7 +432,7 @@ Amp::GainControl::user_to_internal (double u) const std::string Amp::GainControl::get_user_string () const { - char theBuf[32]; sprintf( theBuf, "%3.1f dB", accurate_coefficient_to_dB (get_value())); + char theBuf[32]; sprintf( theBuf, _("%3.1f dB"), accurate_coefficient_to_dB (get_value())); return std::string(theBuf); } @@ -468,7 +468,7 @@ Amp::value_as_string (boost::shared_ptr<AutomationControl> ac) const { if (ac == _gain_control) { char buffer[32]; - snprintf (buffer, sizeof (buffer), "%.2fdB", ac->internal_to_user (ac->get_value ())); + snprintf (buffer, sizeof (buffer), _("%.2fdB"), ac->internal_to_user (ac->get_value ())); return buffer; } |