diff options
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/humanizerframecontent.h | 8 | ||||
-rw-r--r-- | plugingui/sampleselectionframecontent.h | 8 | ||||
-rw-r--r-- | plugingui/timingframecontent.h | 8 |
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{®ain}; |