summaryrefslogtreecommitdiffstats
path: root/ksplashml/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-01-24 18:28:48 +0100
committerSlávek Banko <[email protected]>2021-01-24 18:31:23 +0100
commitc89ada81625dff3f58942d7d4443edd9e8761bd9 (patch)
treec109f954e2fcc91e99dbf48d836d00bf94bb92a2 /ksplashml/CMakeL10n.txt
parent7e29cdd8522c1cf9df9d644d31a7a6ad2abb87e2 (diff)
downloadtdebase-c89ada81625dff3f58942d7d4443edd9e8761bd9.tar.gz
tdebase-c89ada81625dff3f58942d7d4443edd9e8761bd9.zip
Update CMakeL10n rules for extracting ksplash themes.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 5edae45133bb6953888d19751a5a7db016f835bd)
Diffstat (limited to 'ksplashml/CMakeL10n.txt')
-rw-r--r--ksplashml/CMakeL10n.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/ksplashml/CMakeL10n.txt b/ksplashml/CMakeL10n.txt
index 98d1940a8..2e1ad51f1 100644
--- a/ksplashml/CMakeL10n.txt
+++ b/ksplashml/CMakeL10n.txt
@@ -12,3 +12,17 @@ tde_l10n_create_template(
SOURCES *.desktop
DESTINATION "${CMAKE_SOURCE_DIR}/translations"
)
+
+file(
+ GLOB_RECURSE _themes
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/*Theme.rc
+)
+list( SORT _themes )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/ksplash-themes/"
+ SOURCES_DESKTOP ${_themes}
+ KEYWORDS Message1 Message2 Message3 Message4 Message5 Message6 Message7 Message8
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)