summaryrefslogtreecommitdiff
path: root/plugingui/maintab.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-07-29 15:07:07 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-07-29 15:07:07 +0200
commit220e36f0f54dcb0342ba32b6325e9add2f47347c (patch)
tree9c11327d6d7661887e611a8e999f7e443a553a45 /plugingui/maintab.cc
parent20c9cd497cef9fab46f1e24eebe5fa98dc04a444 (diff)
Add embedded gettext support from resource.
Diffstat (limited to 'plugingui/maintab.cc')
-rw-r--r--plugingui/maintab.cc22
1 files changed, 12 insertions, 10 deletions
diff --git a/plugingui/maintab.cc b/plugingui/maintab.cc
index 771e0d2..5b5555f 100644
--- a/plugingui/maintab.cc
+++ b/plugingui/maintab.cc
@@ -26,6 +26,8 @@
*/
#include "maintab.h"
+#include <translation.h>
+
namespace
{
@@ -116,22 +118,22 @@ MainTab::MainTab(Widget* parent,
layout.setSpacing(0);
layout.setResizeChildren(true);
- add("Drumkit", drumkit_frame, drumkitframe_content, 12, 0);
- add("Status", status_frame, statusframe_content, 14, 0);
- add("Resampling", resampling_frame, resamplingframe_content, 9, 0);
- add("Disk Streaming", diskstreaming_frame, diskstreamingframe_content, 7, 0);
- add("Bleed Control", bleedcontrol_frame, bleedcontrolframe_content, 7, 0);
+ add(_("Drumkit"), drumkit_frame, drumkitframe_content, 12, 0);
+ add(_("Status"), status_frame, statusframe_content, 14, 0);
+ add(_("Resampling"), resampling_frame, resamplingframe_content, 9, 0);
+ add(_("Disk Streaming"), diskstreaming_frame, diskstreamingframe_content, 7, 0);
+ add(_("Bleed Control"), bleedcontrol_frame, bleedcontrolframe_content, 7, 0);
- add("Velocity Humanizer", humanizer_frame, humanizerframe_content, 8, 1);
+ add(_("Velocity Humanizer"), humanizer_frame, humanizerframe_content, 8, 1);
humanizer_frame.setHelpText(humanizer_tip);
- add("Timing Humanizer", timing_frame, timingframe_content, 8, 1);
+ add(_("Timing Humanizer"), timing_frame, timingframe_content, 8, 1);
timing_frame.setHelpText(timing_tip);
- add("Sample Selection", sampleselection_frame,
+ add(_("Sample Selection"), sampleselection_frame,
sampleselectionframe_content, 8, 1);
sampleselection_frame.setHelpText(sampleselection_tip);
- add("Visualizer", visualizer_frame, visualizerframe_content, 8, 1);
+ add(_("Visualizer"), visualizer_frame, visualizerframe_content, 8, 1);
visualizer_frame.setHelpText(visualizer_tip);
- add("Velocity Curve", power_frame, powerframe_content, 17, 1);
+ add(_("Velocity Curve"), power_frame, powerframe_content, 17, 1);
power_frame.setHelpText(power_tip);
humanizer_frame.setOnSwitch(settings.enable_velocity_modifier);