Translatable Metronome tooltip, formatting and typo fix.
authorRobin Gareus <robin@gareus.org>
Sat, 21 Jan 2017 00:46:40 +0000 (01:46 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 21 Jan 2017 00:46:40 +0000 (01:46 +0100)
gtk2_ardour/ardour_ui_options.cc

index 4b45a80a37c4a8e002bb31505e1c9e2059853316..1c475df2052e03fce31b3206a33ad52fbcb6d6b8 100644 (file)
@@ -521,7 +521,9 @@ ARDOUR_UI::parameter_changed (std::string p)
                }
        } else if (p == "click-gain") {
                float gain_db = accurate_coefficient_to_dB (Config->get_click_gain());
-               set_tip (click_button, string_compose ("Enable/Disable metronome\n\nRight-click to access preferences\nMouse-wheel to modify level\n\nLevel %1dbFS", gain_db));
+               char tmp[32];
+               snprintf(tmp, 31, "%+.1f", gain_db);
+               set_tip (click_button, string_compose (_("Enable/Disable metronome\n\nRight-click to access preferences\nMouse-wheel to modify level\nSignal Level: %1 dBFS"), tmp));
        }
 }