summaryrefslogtreecommitdiffstats
path: root/ksplashml
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-02-01 01:10:54 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-02-01 01:10:54 +0100
commit4d1cd4d95deed07ea48842b618fc4de61f6694ee (patch)
treec6665659d62fef331ae9aa6b2565f3b265d850f2 /ksplashml
parent1c023a69999155522f8d360d8799f675b2452a8f (diff)
downloadtdebase-4d1cd4d95deed07ea48842b618fc4de61f6694ee.tar.gz
tdebase-4d1cd4d95deed07ea48842b618fc4de61f6694ee.zip
Update CMake rules for merging translations into Standard and Redmond ksplash themes.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ksplashml')
-rw-r--r--ksplashml/themeengine/redmond/CMakeLists.txt7
-rw-r--r--ksplashml/themeengine/standard/CMakeLists.txt7
2 files changed, 12 insertions, 2 deletions
diff --git a/ksplashml/themeengine/redmond/CMakeLists.txt b/ksplashml/themeengine/redmond/CMakeLists.txt
index 52bc35732..7284c40be 100644
--- a/ksplashml/themeengine/redmond/CMakeLists.txt
+++ b/ksplashml/themeengine/redmond/CMakeLists.txt
@@ -25,7 +25,12 @@ link_directories(
##### other data ################################
-install( FILES Theme.rc DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Redmond )
+tde_create_translated_desktop(
+ SOURCE Theme.rc
+ DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Redmond
+ PO_DIR ksplash-themes
+)
+
tde_create_translated_desktop(
SOURCE ksplashredmond.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
diff --git a/ksplashml/themeengine/standard/CMakeLists.txt b/ksplashml/themeengine/standard/CMakeLists.txt
index 8aca3a57e..a2119c5e3 100644
--- a/ksplashml/themeengine/standard/CMakeLists.txt
+++ b/ksplashml/themeengine/standard/CMakeLists.txt
@@ -26,7 +26,12 @@ link_directories(
##### other data ################################
-install( FILES Theme.rc DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Standard )
+tde_create_translated_desktop(
+ SOURCE Theme.rc
+ DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Standard
+ PO_DIR ksplash-themes
+)
+
tde_create_translated_desktop(
SOURCE ksplashstandard.desktop
DESTINATION ${SERVICES_INSTALL_DIR}