From 5ded2ad928841ad28ffe5cd59d74a9296a249dee Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 5 Apr 2015 03:03:43 +0200 Subject: децибел MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/ardour/amp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/amp.cc') 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 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; } -- cgit v1.2.3