summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorOlivier Humbert <trebmuh@tuxfamily.org>2020-08-18 17:21:46 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-08-30 15:59:29 +0200
commitcbd97df68fc6e67c7b9d3cfef14ae5866f737321 (patch)
tree5aa8cf6621201adb60b861190500bba0e681ea88 /plugingui
parent6328125316f601e250d7a32766c328c635dd3349 (diff)
Add even more _(...) to strings of the UI.
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/humanizerframecontent.h8
-rw-r--r--plugingui/sampleselectionframecontent.h8
-rw-r--r--plugingui/timingframecontent.h8
3 files changed, 15 insertions, 9 deletions
diff --git a/plugingui/humanizerframecontent.h b/plugingui/humanizerframecontent.h
index c8a49e7..10ae0f3 100644
--- a/plugingui/humanizerframecontent.h
+++ b/plugingui/humanizerframecontent.h
@@ -31,6 +31,8 @@
#include "layout.h"
#include "widget.h"
+#include <translation.h>
+
struct Settings;
class SettingsNotifier;
@@ -56,9 +58,9 @@ private:
GridLayout layout{this, 3, 1};
- LabeledControl attack{this, "pAttack"}; // drummer strength
- LabeledControl falloff{this, "pRelease"}; // regain
- LabeledControl stddev{this, "pStdDev"};
+ LabeledControl attack{this, _("pAttack")}; // drummer strength
+ LabeledControl falloff{this, _("pRelease")}; // regain
+ LabeledControl stddev{this, _("pStdDev")};
Knob attack_knob{&attack};
Knob falloff_knob{&falloff};
diff --git a/plugingui/sampleselectionframecontent.h b/plugingui/sampleselectionframecontent.h
index d94b3fc..f3636da 100644
--- a/plugingui/sampleselectionframecontent.h
+++ b/plugingui/sampleselectionframecontent.h
@@ -31,6 +31,8 @@
#include "layout.h"
#include "widget.h"
+#include <translation.h>
+
struct Settings;
class SettingsNotifier;
@@ -56,9 +58,9 @@ private:
GridLayout layout{this, 3, 1};
- LabeledControl f_close{this, "pClose"};
- LabeledControl f_diverse{this, "pDiverse"};
- LabeledControl f_random{this, "pRandom"};
+ LabeledControl f_close{this, _("pClose")};
+ LabeledControl f_diverse{this, _("pDiverse")};
+ LabeledControl f_random{this, _("pRandom")};
Knob f_close_knob{&f_close};
Knob f_diverse_knob{&f_diverse};
diff --git a/plugingui/timingframecontent.h b/plugingui/timingframecontent.h
index c0f82df..3dde8c1 100644
--- a/plugingui/timingframecontent.h
+++ b/plugingui/timingframecontent.h
@@ -37,6 +37,8 @@
#include <iomanip>
#include <sstream>
+#include <translation.h>
+
class SettingsNotifier;
namespace GUI
@@ -68,9 +70,9 @@ private:
GridLayout layout{this, 3, 1};
- LabeledControl tightness{this, "pTightness"};
- LabeledControl regain{this, "pTimingRegain"};
- LabeledControl laidback{this, "pLaidback"};
+ LabeledControl tightness{this, _("pTightness")};
+ LabeledControl regain{this, _("pTimingRegain")};
+ LabeledControl laidback{this, _("pLaidback")};
Knob tightness_knob{&tightness};
Knob regain_knob{&regain};