summaryrefslogtreecommitdiff
path: root/plugin/drumgizmo_plugin.h
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 /plugin/drumgizmo_plugin.h
parent20c9cd497cef9fab46f1e24eebe5fa98dc04a444 (diff)
Add embedded gettext support from resource.
Diffstat (limited to 'plugin/drumgizmo_plugin.h')
-rw-r--r--plugin/drumgizmo_plugin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h
index 1f91fbc..521ec86 100644
--- a/plugin/drumgizmo_plugin.h
+++ b/plugin/drumgizmo_plugin.h
@@ -26,6 +26,8 @@
*/
#pragma once
+#include <config.h>
+
#include <memory>
#ifdef LV2
@@ -37,6 +39,7 @@
#endif
#include <drumgizmo.h>
+#include <uitranslation.h>
#include <audioinputenginemidi.h>
#include <audiooutputengine.h>
#include <mainwindow.h>
@@ -214,4 +217,8 @@ private:
static constexpr std::size_t width{750};
static constexpr std::size_t height{713};
+
+#ifdef WITH_NLS
+ UITranslation translation;
+#endif // WITH_NLS
};