diff options
author | Robin Gareus <robin@gareus.org> | 2017-01-21 01:46:40 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-01-21 01:46:40 +0100 |
commit | d9a4d03c948ad078e96bd60d92306db5761a6b71 (patch) | |
tree | cbdd569ff1439f913297123fb2a0973c07431176 /gtk2_ardour/ardour_ui_options.cc | |
parent | e315b25eb3d708e5818d23134a5ab5ea1ae81fe7 (diff) |
Translatable Metronome tooltip, formatting and typo fix.
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index 4b45a80a37..1c475df205 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -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)); } } |