summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cord-Landwehr <cordlandwehr@kde.org>2015-09-27 15:50:46 (GMT)
committerAndreas Cord-Landwehr <cordlandwehr@kde.org>2015-09-27 15:50:46 (GMT)
commit36dfb54d1fa79db80cf946e746a7f1c92d601d2d (patch)
treee8afdabedf9a107817093b982aa89b5c5c17552c
parentb7485856d7c7dd5d4b1852a72ce387d41eaceb7e (diff)
Enable translations for UI files.
-rw-r--r--plasmoid/applet/concentrationPlasmoid/CMakeLists.txt2
-rw-r--r--plasmoid/applet/gasPlasmoid/CMakeLists.txt2
-rw-r--r--plasmoid/applet/nuclearPlasmoid/CMakeLists.txt2
-rw-r--r--plasmoid/applet/psePlasmoid/CMakeLists.txt2
-rw-r--r--src/CMakeLists.txt8
5 files changed, 8 insertions, 8 deletions
diff --git a/plasmoid/applet/concentrationPlasmoid/CMakeLists.txt b/plasmoid/applet/concentrationPlasmoid/CMakeLists.txt
index b8ef22d..86f000f 100644
--- a/plasmoid/applet/concentrationPlasmoid/CMakeLists.txt
+++ b/plasmoid/applet/concentrationPlasmoid/CMakeLists.txt
@@ -1,7 +1,7 @@
project(concentrationCalculator)
set(concentrationCalculator_SRCS concentrationCalculator.cpp)
-qt5_wrap_ui(concentrationCalculator_SRCS concentrationCalculatorConfig.ui)
+ki18n_wrap_ui(concentrationCalculator_SRCS concentrationCalculatorConfig.ui)
add_library(concentrationCalculator ${concentrationCalculator_SRCS})
target_link_libraries(concentrationCalculator
KF5::Plasma KF5::WidgetsAddons
diff --git a/plasmoid/applet/gasPlasmoid/CMakeLists.txt b/plasmoid/applet/gasPlasmoid/CMakeLists.txt
index 8105380..955179f 100644
--- a/plasmoid/applet/gasPlasmoid/CMakeLists.txt
+++ b/plasmoid/applet/gasPlasmoid/CMakeLists.txt
@@ -1,7 +1,7 @@
project(gasCalculator)
set(gasCalculator_SRCS gasCalculator.cpp)
-qt5_wrap_ui(gasCalculator_SRCS gasCalculatorConfig.ui)
+ki18n_wrap_ui(gasCalculator_SRCS gasCalculatorConfig.ui)
add_library(gasCalculator ${gasCalculator_SRCS})
target_link_libraries(gasCalculator
KF5::Plasma KF5::Ui KF5::WidgetsAddons
diff --git a/plasmoid/applet/nuclearPlasmoid/CMakeLists.txt b/plasmoid/applet/nuclearPlasmoid/CMakeLists.txt
index 90c77a9..f41b04a 100644
--- a/plasmoid/applet/nuclearPlasmoid/CMakeLists.txt
+++ b/plasmoid/applet/nuclearPlasmoid/CMakeLists.txt
@@ -6,7 +6,7 @@ set(nuclearCalculator_SRCS
nuclearCalculator.cpp
kalziumdataobject.cpp
)
-qt5_wrap_ui(nuclearCalculator_SRCS nuclearCalculatorConfig.ui)
+ki18n_wrap_ui(nuclearCalculator_SRCS nuclearCalculatorConfig.ui)
add_library(nuclearCalculator ${nuclearCalculator_SRCS})
target_link_libraries(nuclearCalculator
KF5::Plasma KF5::Ui KF5::KHtml
diff --git a/plasmoid/applet/psePlasmoid/CMakeLists.txt b/plasmoid/applet/psePlasmoid/CMakeLists.txt
index c837bfd..f105e73 100644
--- a/plasmoid/applet/psePlasmoid/CMakeLists.txt
+++ b/plasmoid/applet/psePlasmoid/CMakeLists.txt
@@ -8,7 +8,7 @@ include_directories(
# We add our source code here
set(periodic_SRCS Molmasscalculator.cpp Periodictable.cpp)
-qt5_wrap_ui(periodic_SRCS Molmassconfig.ui)
+ki18n_wrap_ui(periodic_SRCS Molmassconfig.ui)
# Now make sure all files get to the right place
add_library(plasma_applet_molmassCalculator ${periodic_SRCS})
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8e47132..5ec011d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -20,7 +20,7 @@ if (OPENBABEL2_FOUND)
tools/obconverter.cpp
)
- qt5_wrap_ui(kalziumtools_SRCS
+ ki18n_wrap_ui(kalziumtools_SRCS
tools/obconverterwidget.ui
)
include_directories(${OPENBABEL2_INCLUDE_DIR})
@@ -34,7 +34,7 @@ if (OPENBABEL2_FOUND)
tools/moleculeview.cpp
../compoundviewer/kalziumglwidget.cpp
)
- qt5_wrap_ui(kalziumtools_SRCS
+ ki18n_wrap_ui(kalziumtools_SRCS
tools/moleculeviewerwidget.ui
)
include_directories(${EIGEN3_INCLUDE_DIR})
@@ -112,12 +112,12 @@ if (LIBFACILE_FOUND)
${CMAKE_CURRENT_BINARY_DIR}/solver.o
${CMAKE_CURRENT_BINARY_DIR}/modwrap.o
)
- qt5_wrap_ui(kalzium_SRCS
+ ki18n_wrap_ui(kalzium_SRCS
equationview.ui
)
endif (LIBFACILE_FOUND)
-qt5_wrap_ui(kalzium_SRCS
+ki18n_wrap_ui(kalzium_SRCS
isotopetable/isotopedialog.ui
settings_colors.ui
plotsetupwidget.ui