summaryrefslogtreecommitdiff
path: root/plugingui/testmain.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/testmain.cc
parent20c9cd497cef9fab46f1e24eebe5fa98dc04a444 (diff)
Add embedded gettext support from resource.
Diffstat (limited to 'plugingui/testmain.cc')
-rw-r--r--plugingui/testmain.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugingui/testmain.cc b/plugingui/testmain.cc
index 91effc4..1195ceb 100644
--- a/plugingui/testmain.cc
+++ b/plugingui/testmain.cc
@@ -29,12 +29,19 @@
#include <hugin.hpp>
#include <settings.h>
+#include <config.h>
#include "mainwindow.h"
#include "window.h"
+#include "resource.h"
+#include "uitranslation.h"
int main()
{
+#ifdef WITH_NLS
+ UITranslation translation;
+#endif // WITH_NLS
+
INFO(example, "We are up and running");
void* native_window_handle{nullptr};