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 /plugingui/testmain.cc | |
parent | 20c9cd497cef9fab46f1e24eebe5fa98dc04a444 (diff) |
Add embedded gettext support from resource.
Diffstat (limited to 'plugingui/testmain.cc')
-rw-r--r-- | plugingui/testmain.cc | 7 |
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}; |