From 5edae45133bb6953888d19751a5a7db016f835bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 24 Jan 2021 18:28:48 +0100 Subject: Update CMakeL10n rules for extracting ksplash themes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ksplashml/CMakeL10n.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ksplashml/CMakeL10n.txt') 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" +) -- cgit v1.2.1