diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-07-29 15:07:07 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-07-29 15:07:07 +0200 |
commit | 220e36f0f54dcb0342ba32b6325e9add2f47347c (patch) | |
tree | 9c11327d6d7661887e611a8e999f7e443a553a45 /plugin/drumgizmo_plugin.h | |
parent | 20c9cd497cef9fab46f1e24eebe5fa98dc04a444 (diff) |
Add embedded gettext support from resource.
Diffstat (limited to 'plugin/drumgizmo_plugin.h')
-rw-r--r-- | plugin/drumgizmo_plugin.h | 7 |
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 }; |