summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Kügler <[email protected]>2014-06-13 03:41:50 +0200
committerSebastian Kügler <[email protected]>2014-06-13 03:41:50 +0200
commitfd6725a5e2035db36d0fabc145f1c888a40cb000 (patch)
tree9e6a99392d8bfe1e429c5067d0d58b6bdd0ff7fc
parentda0a4b4d199b97a167de6e0465e947e1bf603b7e (diff)
Make ui file translatable
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dd70f47..aa25d01 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,9 +1,8 @@
-
-########### next target ###############
+add_definitions(-DTRANSLATION_DOMAIN=\"kcmtranslations\")
set(kcm_translations_PART_SRCS kcmtranslations.cpp)
-qt5_wrap_ui(kcm_translations_PART_SRCS kcmtranslationswidget.ui)
+ki18n_wrap_ui(kcm_translations_PART_SRCS kcmtranslationswidget.ui)
add_library(kcm_translations ${kcm_translations_PART_SRCS})