From 220e36f0f54dcb0342ba32b6325e9add2f47347c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 29 Jul 2020 15:07:07 +0200 Subject: Add embedded gettext support from resource. --- plugingui/testmain.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugingui/testmain.cc') 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 #include +#include #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}; -- cgit v1.2.3