summaryrefslogtreecommitdiff
path: root/plugingui/resamplingframecontent.cc
diff options
context:
space:
mode:
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();
}