From 07959fb3655290620399601e0ff5820230dec8c5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 24 Jul 2016 16:53:07 +0200 Subject: [PATCH] some more (untranslatable) lower case kilos. --- gtk2_ardour/fft_graph.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gtk2_ardour/fft_graph.cc b/gtk2_ardour/fft_graph.cc index 630d822a2c..abed0c70d7 100644 --- a/gtk2_ardour/fft_graph.cc +++ b/gtk2_ardour/fft_graph.cc @@ -175,11 +175,11 @@ FFTGraph::on_expose_event (GdkEventExpose* event) std::stringstream ss; if (freq >= 10000) { - ss << std::setprecision (1) << std::fixed << freq / 1000 << "K"; + ss << std::setprecision (1) << std::fixed << freq / 1000 << " kHz"; } else if (freq >= 1000) { - ss << std::setprecision (2) << std::fixed << freq / 1000 << "K"; + ss << std::setprecision (2) << std::fixed << freq / 1000 << " kHz"; } else { - ss << std::setprecision (0) << std::fixed << freq << "Hz"; + ss << std::setprecision (0) << std::fixed << freq << " Hz"; } layout->set_text (ss.str ()); int lw, lh; @@ -335,9 +335,9 @@ FFTGraph::draw_scales (cairo_t* cr) std::stringstream ss; if (freq >= 10000) { - ss << std::setprecision (1) << std::fixed << freq / 1000 << "K"; + ss << std::setprecision (1) << std::fixed << freq / 1000 << "k"; } else if (freq >= 1000) { - ss << std::setprecision (2) << std::fixed << freq / 1000 << "K"; + ss << std::setprecision (2) << std::fixed << freq / 1000 << "k"; } else { ss << std::setprecision (0) << std::fixed << freq << "Hz"; } @@ -379,9 +379,9 @@ FFTGraph::draw_scales (cairo_t* cr) std::stringstream ss; if (freq >= 10000) { - ss << std::setprecision (1) << std::fixed << freq / 1000 << "K"; + ss << std::setprecision (1) << std::fixed << freq / 1000 << "k"; } else if (freq >= 1000) { - ss << std::setprecision (2) << std::fixed << freq / 1000 << "K"; + ss << std::setprecision (2) << std::fixed << freq / 1000 << "k"; } else { ss << std::setprecision (0) << std::fixed << freq << "Hz"; }