diff options
author | Olivier Humbert <trebmuh@tuxfamily.org> | 2020-08-14 15:17:21 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-08-30 15:59:28 +0200 |
commit | ceead10217d6fa26b746717be9fdbb219f6b7f36 (patch) | |
tree | cd9f347862d197c3ce3affd9794654f6a2abba79 /plugingui/resamplingframecontent.cc | |
parent | db9daf141f1645149b45cc12a067ff61c7da9794 (diff) |
Add more _(...) to strings of the UI.
Diffstat (limited to 'plugingui/resamplingframecontent.cc')
-rw-r--r-- | plugingui/resamplingframecontent.cc | 6 |
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(); } |