summaryrefslogtreecommitdiff
path: root/plugingui/resamplingframecontent.cc
diff options
context:
space:
mode:
authorOlivier Humbert <trebmuh@tuxfamily.org>2020-08-14 15:17:21 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-08-30 15:59:28 +0200
commitceead10217d6fa26b746717be9fdbb219f6b7f36 (patch)
treecd9f347862d197c3ce3affd9794654f6a2abba79 /plugingui/resamplingframecontent.cc
parentdb9daf141f1645149b45cc12a067ff61c7da9794 (diff)
Add more _(...) to strings of the UI.
Diffstat (limited to 'plugingui/resamplingframecontent.cc')
-rw-r--r--plugingui/resamplingframecontent.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugingui/resamplingframecontent.cc b/plugingui/resamplingframecontent.cc
index 717df0f..ef10f0b 100644
--- a/plugingui/resamplingframecontent.cc
+++ b/plugingui/resamplingframecontent.cc
@@ -28,6 +28,8 @@
#include <settings.h>
+#include <translation.h>
+
namespace GUI
{
@@ -54,7 +56,7 @@ ResamplingframeContent::ResamplingframeContent(Widget* parent,
quality_knob.setDefaultValue(0.7f);
quality_knob.showValue(false);
- quality_label.setText("Quality");
+ quality_label.setText(_("Quality"));
quality_label.setAlignment(TextAlignment::center);
quality_label.resize(40, 16);
@@ -100,7 +102,7 @@ void ResamplingframeContent::updateSessionSamplerate(double samplerate)
void ResamplingframeContent::updateResamplingRecommended(bool resampling_recommended)
{
- this->resampling_recommended = resampling_recommended ? "Yes" : "No";
+ this->resampling_recommended = resampling_recommended ? _("Yes") : _("No");
updateContent();
}